summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 82b2c05)
raw | patch | inline | side by side (parent: 82b2c05)
author | Roger Quadros <rogerq@ti.com> | |
Thu, 21 Feb 2019 03:15:49 +0000 (21:15 -0600) | ||
committer | Suman Anna <s-anna@ti.com> | |
Mon, 25 Feb 2019 19:31:40 +0000 (13:31 -0600) |
The ICSSGs on K3 AM65x 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-am65-main.dtsi file and are
disabled. These need to be enabled in the respective board files
supporting AM654 SoCs and where the ethernet is pinned out and
connected properly.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
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-am65-main.dtsi file and are
disabled. These need to be enabled in the respective board files
supporting AM654 SoCs and where the ethernet is pinned out and
connected properly.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | patch | blob | history |
index fb04d01992e26cdf386bf39948527fde26fb6773..95443017696e06a7e444dc9aeb7b690a038452de 100644 (file)
interrupts = <22>, <23>;
interrupt-names = "vring", "kick";
};
+
+ icssg0_mdio: mdio@b032400 {
+ compatible = "ti,davinci_mdio";
+ reg = <0xb032400 0x100>;
+ clocks = <&k3_clks 62 3>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ bus_freq = <1000000>;
+ status = "disabled";
+ };
};
};
interrupts = <22>, <23>;
interrupt-names = "vring", "kick";
};
+
+ icssg1_mdio: mdio@b132400 {
+ compatible = "ti,davinci_mdio";
+ reg = <0xb132400 0x100>;
+ clocks = <&k3_clks 63 3>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ bus_freq = <1000000>;
+ status = "disabled";
+ };
};
};
interrupts = <22>, <23>;
interrupt-names = "vring", "kick";
};
+
+ icssg2_mdio: mdio@b232400 {
+ compatible = "ti,davinci_mdio";
+ reg = <0xb232400 0x100>;
+ clocks = <&k3_clks 64 3>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ bus_freq = <1000000>;
+ status = "disabled";
+ };
};
};
};