summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre TORGUE <alexandre.torgue@gmail.com>2016-02-29 19:29:00 +0300
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>2016-03-02 12:26:55 +0300
commit13759544fe17a5f179ce17163fd15b0ebd25b0ad (patch)
tree77be91ac8da2e5b1b42c45701fc487a77eb34bcb
parent9ee33d660d6b313fe908f57ed5a4b196586b805d (diff)
downloadlinux-13759544fe17a5f179ce17163fd15b0ebd25b0ad.tar.xz
ARM: dts: stm32f429: Enable Ethernet on Eval board
MAC is connected to a PHY in MII mode. Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
-rw-r--r--arch/arm/boot/dts/stm32429i-eval.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 76a10d3b0e05..6bfc5959dac3 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -94,6 +94,21 @@
clock-frequency = <25000000>;
};
+&ethernet0 {
+ status = "okay";
+ pinctrl-0 = <&ethernet0_mii>;
+ pinctrl-names = "default";
+ phy-mode = "mii-id";
+ mdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "snps,dwmac-mdio";
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+ };
+};
+
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";