diff options
author | Christophe Roullier <christophe.roullier@st.com> | 2019-03-05 11:29:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-08 22:48:19 +0300 |
commit | 5473f1be53c90252d3323e69e90a29379e608aaa (patch) | |
tree | 6cba91ed7105fe84411ddff358baa96b55bb0f24 /arch/arm/boot/dts/stm32h743i-disco.dts | |
parent | 835667999019b71114bec4534fcd6c895ebdcbdb (diff) | |
download | linux-5473f1be53c90252d3323e69e90a29379e608aaa.tar.xz |
ARM: dts: stm32: Add Ethernet support on stm32h7 SOC and activate it for eval and disco boards
Synopsys GMAC 4.10 is used. And Phy mode for eval and disco is RMII
with PHY SMSC LAN8742
Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/stm32h743i-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32h743i-disco.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32h743i-disco.dts b/arch/arm/boot/dts/stm32h743i-disco.dts index 45e088c55741..83ef63d515a8 100644 --- a/arch/arm/boot/dts/stm32h743i-disco.dts +++ b/arch/arm/boot/dts/stm32h743i-disco.dts @@ -66,6 +66,23 @@ clock-frequency = <25000000>; }; +&mac { + status = "disabled"; + pinctrl-0 = <ðernet_rmii>; + pinctrl-names = "default"; + phy-mode = "rmii"; + phy-handle = <&phy0>; + + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + phy0: ethernet-phy@0 { + reg = <0>; + }; + }; +}; + &usart2 { pinctrl-0 = <&usart2_pins>; pinctrl-names = "default"; |