Browse Source

arm64: dts: ti: k3-j721e-main: Add ICSSG MDIO nodes

The ICSSGs on K3 J721E SoCs contain an MDIO controller that can
be used to control external PHYs associated with the Industrial
Ethernet peripherals within each ICSSG instance. The MDIO module
used within the ICSSG is similar to the MDIO Controller used
in TI Davinci SoCs. A bus frequency of 1 MHz is chosen for the
MDIO operations.

The nodes are added to the common k3-j721e-main.dtsi file and are
disabled. These need to be enabled in the respective board files
supporting J721E SoCs and where the ethernet is pinned out and
connected properly.

Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Suman Anna 6 years ago
parent
commit
5236ac90c6
1 changed files with 22 additions and 0 deletions
  1. 22 0
      arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

+ 22 - 0
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

@@ -2321,6 +2321,17 @@
 				reg-names = "iram", "control", "debug";
 				firmware-name = "j7-txpru0_1-fw";
 			};
+
+			icssg0_mdio: mdio@b032400 {
+				compatible = "ti,davinci_mdio";
+				reg = <0xb032400 0x100>;
+				clocks = <&k3_clks 119 1>;
+				clock-names = "fck";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				bus_freq = <1000000>;
+				status = "disabled";
+			};
 		};
 	};
 
@@ -2475,6 +2486,17 @@
 				reg-names = "iram", "control", "debug";
 				firmware-name = "j7-txpru1_1-fw";
 			};
+
+			icssg1_mdio: mdio@b132400 {
+				compatible = "ti,davinci_mdio";
+				reg = <0xb132400 0x100>;
+				clocks = <&k3_clks 120 4>;
+				clock-names = "fck";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				bus_freq = <1000000>;
+				status = "disabled";
+			};
 		};
 	};
 };