ARM: dts: r7s9210: Add Ethernet support
authorChris Brandt <chris.brandt@renesas.com>
Tue, 30 Apr 2019 13:23:04 +0000 (08:23 -0500)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 20 May 2019 11:16:55 +0000 (13:16 +0200)
Add Ethernet support for the RZ/A2 SoC.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s9210.dtsi

index 8423004bb4b7fe3aa46976edb0f0ba0cec3322e4..8e9738467bfad03e5651beab4d66e4963e671c06 100644 (file)
                        status = "disabled";
                };
 
+               ether0: ethernet@e8204000 {
+                       compatible = "renesas,ether-r7s9210";
+                       reg = <0xe8204000 0x200>;
+                       interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 65>;
+                       power-domains = <&cpg>;
+
+                       phy-mode = "rmii";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               ether1: ethernet@e8204200 {
+                       compatible = "renesas,ether-r7s9210";
+                       reg = <0xe8204200 0x200>;
+                       interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 64>;
+                       power-domains = <&cpg>;
+                       phy-mode = "rmii";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                ostm0: timer@e803b000 {
                        compatible = "renesas,r7s9210-ostm", "renesas,ostm";
                        reg = <0xe803b000 0x30>;