ARM: dts: rmobile: Add RAVB node to R8A77965 M3N DT
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 1 Mar 2018 20:50:56 +0000 (21:50 +0100)
committerMarek Vasut <marex@denx.de>
Mon, 5 Mar 2018 09:59:38 +0000 (10:59 +0100)
Add RAVB node to r8a77965.dtsi to get ethernet operational.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/dts/r8a77965.dtsi

index 55f05f79f7f7201de6732c5e52a14c858f42d2d0..38da2a391b6b57fa6c3213262dbccc96ac97f410 100644 (file)
                };
 
                avb: ethernet@e6800000 {
-                       /* placeholder */
+                       compatible = "renesas,etheravb-r8a77965",
+                                    "renesas,etheravb-rcar-gen3";
+                       reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
+                       clocks = <&cpg CPG_MOD 812>;
+                       power-domains = <&sysc 32>;
+                       resets = <&cpg 812>;
+                       phy-mode = "rgmii-txid";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
                };
 
                csi20: csi2@fea80000 {