ARM: dts: iwg20d-q7: Add Ethernet AVB support
authorBiju Das <biju.das@bp.renesas.com>
Fri, 7 Jul 2017 13:12:45 +0000 (14:12 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 14:28:34 +0000 (16:28 +0200)
Define the iWave RainboW-G20D-Qseven board dependent part of the Ethernet
AVB device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts

index 497aec00cfacd8ecca6c3070fa6ed153296bc35a..081af01928519e333deef4ac6ab1e579419aa08a 100644 (file)
@@ -17,6 +17,7 @@
 
        aliases {
                serial0 = &scif0;
+               ethernet0 = &avb;
        };
 };
 
                groups = "scif0_data_d";
                function = "scif0";
        };
+
+       avb_pins: avb {
+               groups = "avb_mdio", "avb_gmii";
+               function = "avb";
+       };
 };
 
 &scif0 {
 
        status = "okay";
 };
+
+&avb {
+       pinctrl-0 = <&avb_pins>;
+       pinctrl-names = "default";
+
+       phy-handle = <&phy3>;
+       phy-mode = "gmii";
+       renesas,no-ether-link;
+       status = "okay";
+
+       phy3: ethernet-phy@3 {
+               reg = <3>;
+               micrel,led-mode = <1>;
+       };
+};