Am 08.08.24 um 00:13 schrieb Logan Bristol:
External interfaces should be disabled at the SoC DTSI level, sincecut
the node is incomplete. The node should then be enabled in the board DTS.
Disable ethernet switch and ports in SoC DTSI and enable them in the board
DTS.
Reflect this change in SoM DTSIs by removing ethernet port disable.
Signed-off-by: Logan Bristol <logan.bristol@xxxxxxxxxx>
---
arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 3 +++
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 4 ----
arch/arm64/boot/dts/ti/k3-am642-evm.dts | 3 +++
arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 8 ++++++++
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 8 ++++++++
arch/arm64/boot/dts/ti/k3-am642-sk.dts | 3 +++
arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 4 ----
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts | 6 ++----
8 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtsSolidRun AM642 SoM has ethernet phys on the SoM itself,
index 5b5e9eeec5ac..90ffc426cae1 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts
@@ -89,6 +89,14 @@ serdes_mux: mux-controller {
};
};
+&cpsw3g {
+ status = "okay";
+};
+
+&cpsw_port1 {
+ status ="okay";
+};
+
carrier only provides physical connector.
Therefore the ports status should be set in som dtsi,
where we also set pinctrl and phy-handle.
&main_gpio0 {cut
m2-reset-hog {
gpio-hog;
diff --git a/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsiPlease enable cpsw3g and cpsw_port1 status here.
index c19d0b8bbf0f..995e2703030b 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi
@@ -212,10 +212,6 @@ &cpsw_port1 {
phy-handle = <ðernet_phy0>;
};