ARM: dts: r8a7743: add Ether support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 31 Oct 2016 19:56:36 +0000 (22:56 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 23 Nov 2016 19:52:26 +0000 (20:52 +0100)
Define the generic R8A7743 part of the Ether device node.

Based on the original (and large) patch by Dmitry Shifrin
<dmitry.shifrin@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743.dtsi

index 874bcf2b4da642cee4461661e5430fd01153a71d..87563a5379b5f733366ffbefdc51bf4c080d91cf 100644 (file)
                        power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
                        status = "disabled";
                };
+
+               ether: ethernet@ee700000 {
+                       compatible = "renesas,ether-r8a7743";
+                       reg = <0 0xee700000 0 0x400>;
+                       interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 813>;
+                       power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
+                       phy-mode = "rmii";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
        };
 
        /* External root clock */