ARM: dts: stm32f429: Enable Ethernet on Eval board
authorAlexandre TORGUE <alexandre.torgue@gmail.com>
Mon, 29 Feb 2016 16:29:00 +0000 (17:29 +0100)
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>
Wed, 2 Mar 2016 09:26:55 +0000 (10:26 +0100)
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>
arch/arm/boot/dts/stm32429i-eval.dts

index 76a10d3b0e051029e21fd20351e1a5c525c39ea7..6bfc5959dac3616a513f2b4017e8e3d0be75c195 100644 (file)
        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";