summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32h743i-eval.dts
diff options
context:
space:
mode:
authorChristophe Roullier <christophe.roullier@st.com>2019-03-05 11:29:28 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-08 22:48:19 +0300
commit5473f1be53c90252d3323e69e90a29379e608aaa (patch)
tree6cba91ed7105fe84411ddff358baa96b55bb0f24 /arch/arm/boot/dts/stm32h743i-eval.dts
parent835667999019b71114bec4534fcd6c895ebdcbdb (diff)
downloadlinux-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.dts17
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 = <&ethernet_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";