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-eval.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-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32h743i-eval.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32h743i-eval.dts b/arch/arm/boot/dts/stm32h743i-eval.dts index 3f8e0c4a998d..383c5bb03720 100644 --- a/arch/arm/boot/dts/stm32h743i-eval.dts +++ b/arch/arm/boot/dts/stm32h743i-eval.dts @@ -104,6 +104,23 @@ status = "okay"; }; +&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>; + }; + }; +}; + &usart1 { pinctrl-0 = <&usart1_pins>; pinctrl-names = "default"; |