From: Marek Vasut <marek.vasut+renesas@gmail.com>
Date: Thu, 1 Mar 2018 20:50:56 +0000 (+0100)
Subject: ARM: dts: rmobile: Add RAVB node to R8A77965 M3N DT
X-Git-Tag: v2025.01-rc5-pxa1908~4779^2~6
X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=beb84f921a5bfa66547b1164ab715da3243069a8;p=u-boot.git

ARM: dts: rmobile: Add RAVB node to R8A77965 M3N DT

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>
---

diff --git a/arch/arm/dts/r8a77965.dtsi b/arch/arm/dts/r8a77965.dtsi
index 55f05f79f7..38da2a391b 100644
--- a/arch/arm/dts/r8a77965.dtsi
+++ b/arch/arm/dts/r8a77965.dtsi
@@ -520,7 +520,16 @@
 		};
 
 		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 {