[PATCH v2 21/33] ARM: k3: am62l: add barebox specific am62l.dtsi

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 5 05:42:46 PDT 2025


Some adjustments to the AM62l dtsi files: Enable gpio ports by default
and add a syscon compatible to the phy_gmii_sel node which is needed for
the ethernet driver to access it.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/k3-am62l-barebox.dtsi | 16 ++++++++++++++++
 arch/arm/dts/k3-am62l3-evm.dts     |  1 +
 2 files changed, 17 insertions(+)

diff --git a/arch/arm/dts/k3-am62l-barebox.dtsi b/arch/arm/dts/k3-am62l-barebox.dtsi
new file mode 100644
index 0000000000000000000000000000000000000000..9fe44a67ee7374e6c6d9052dc8ea0f31d2e8f4a1
--- /dev/null
+++ b/arch/arm/dts/k3-am62l-barebox.dtsi
@@ -0,0 +1,16 @@
+
+&phy_gmii_sel {
+	compatible = "ti,am654-phy-gmii-sel", "syscon";
+};
+
+&gpio0 {
+	status = "okay";
+};
+
+&gpio2 {
+	status = "okay";
+};
+
+&wkup_gpio0 {
+	status = "okay";
+};
diff --git a/arch/arm/dts/k3-am62l3-evm.dts b/arch/arm/dts/k3-am62l3-evm.dts
index 4484279e8fcc0361fe73bf42b63a0663b71725b7..7b528ae1e41e92bc9aa1428e86d5141d30fe7cd7 100644
--- a/arch/arm/dts/k3-am62l3-evm.dts
+++ b/arch/arm/dts/k3-am62l3-evm.dts
@@ -15,6 +15,7 @@
 #include <dt-bindings/net/ti-dp83867.h>
 
 #include "k3-am62l3.dtsi"
+#include "k3-am62l-barebox.dtsi"
 #include "k3-pinctrl.h"
 
 / {

-- 
2.39.5




More information about the barebox mailing list