ARM: dts: r8a7745: add Ether support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 4 Nov 2016 21:57:01 +0000 (14:57 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 23 Nov 2016 19:52:30 +0000 (20:52 +0100)
Define the generic R8A7745 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/r8a7745.dtsi

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