Skip to contentSkip to conversation

arm: dts: k3-am64: Move to OF_UPSTREAM

PATCH Superseded Andrew Davis 1 participant 1 message Mar 4, 2024 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-am64: Move to OF_UPSTREAM

Enable OF_UPSTREAM for AM64-EVM and SK-AM64 boards. Remove DT files that are now available in dts/upstream. Update the appended files based on version of latest OF_UPSTREAM sync point (v6.7-rc7).

---

As suggested here[0].

Based on Mar 4 -next.

[0] https://lore.kernel.org/all/20240304170814.GP1523872@bill-the-cat/

 arch/arm/dts/Makefile                 |    4 +-
 arch/arm/dts/k3-am64-main.dtsi        | 1546 -------------------------
 arch/arm/dts/k3-am64-mcu.dtsi         |  161 ---
 arch/arm/dts/k3-am64-thermal.dtsi     |   33 -
 arch/arm/dts/k3-am64.dtsi             |  100 --
 arch/arm/dts/k3-am642-evm-u-boot.dtsi |  110 --
 arch/arm/dts/k3-am642-evm.dts         |  690 -----------
 arch/arm/dts/k3-am642-r5-evm.dts      |   24 -
 arch/arm/dts/k3-am642-r5-sk.dts       |   12 -
 arch/arm/dts/k3-am642-sk-u-boot.dtsi  |   94 --
 arch/arm/dts/k3-am642-sk.dts          |  642 ----------
 arch/arm/dts/k3-am642.dtsi            |   66 --
 arch/arm/dts/k3-am64x-binman.dtsi     |    6 +-
 configs/am64x_evm_a53_defconfig       |    5 +-
 14 files changed, 7 insertions(+), 3486 deletions(-)
 delete mode 100644 arch/arm/dts/k3-am64-main.dtsi
 delete mode 100644 arch/arm/dts/k3-am64-mcu.dtsi
 delete mode 100644 arch/arm/dts/k3-am64-thermal.dtsi
 delete mode 100644 arch/arm/dts/k3-am64.dtsi
 delete mode 100644 arch/arm/dts/k3-am642-evm.dts
 delete mode 100644 arch/arm/dts/k3-am642-sk.dts
 delete mode 100644 arch/arm/dts/k3-am642.dtsi
arch/arm/dts/Makefile +1 -3
index dc80b3bc6f0..3c9ab63b943 100644
@@ -1413,9 +1413,7 @@ dtb-$(CONFIG_SOC_K3_J721S2) += k3-am68-sk-base-board.dtb\
 			       k3-am68-sk-r5-base-board.dtb\
 			       k3-j721s2-common-proc-board.dtb\
 			       k3-j721s2-r5-common-proc-board.dtb
-dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-evm.dtb \
-			      k3-am642-r5-evm.dtb \
-			      k3-am642-sk.dtb \
+dtb-$(CONFIG_SOC_K3_AM642) += k3-am642-r5-evm.dtb \
 			      k3-am642-r5-sk.dtb
 
 dtb-$(CONFIG_SOC_K3_AM625) += k3-am625-sk.dtb \
arch/arm/dts/k3-am64-main.dtsi deleted +0 -1546

1,546 lines not on this page · raw message

arch/arm/dts/k3-am64-mcu.dtsi deleted +0 -161

161 lines not on this page · raw message

arch/arm/dts/k3-am64-thermal.dtsi deleted +0 -33
deleted file mode 100644
index 036db56ba79..00000000000
@@ -1,33 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-
-#include <dt-bindings/thermal/thermal.h>
-
-thermal_zones: thermal-zones {
-	main0_thermal: main0-thermal {
-		polling-delay-passive = <250>;	/* milliSeconds */
-		polling-delay = <500>;		/* milliSeconds */
-		thermal-sensors = <&main_vtm0 0>;
-
-		trips {
-			main0_crit: main0-crit {
-				temperature = <105000>;	/* milliCelsius */
-				hysteresis = <2000>;	/* milliCelsius */
-				type = "critical";
-			};
-		};
-	};
-
-	main1_thermal: main1-thermal {
-		polling-delay-passive = <250>;	/* milliSeconds */
-		polling-delay = <500>;		/* milliSeconds */
-		thermal-sensors = <&main_vtm0 1>;
-
-		trips {
-			main1_crit: main1-crit {
-				temperature = <105000>;	/* milliCelsius */
-				hysteresis = <2000>;	/* milliCelsius */
-				type = "critical";
-			};
-		};
-	};
-};
arch/arm/dts/k3-am64.dtsi deleted +0 -100

100 lines not on this page · raw message

arch/arm/dts/k3-am642-evm-u-boot.dtsi +0 -110

149 lines not on this page · raw message

arch/arm/dts/k3-am642-evm.dts deleted +0 -690

690 lines not on this page · raw message

arch/arm/dts/k3-am642-r5-evm.dts +0 -24
index 64b3c3af630..19fc1766b57 100644
@@ -40,10 +40,6 @@
 	};
 };
 
-&vtt_supply {
-	bootph-pre-ram;
-};
-
 &cbass_main {
 	sysctrler: sysctrler {
 		compatible = "ti,am654-system-controller";
@@ -53,18 +49,6 @@
 	};
 };
 
-&main_esm {
-	bootph-pre-ram;
-};
-
-&cbass_mcu {
-	bootph-pre-ram;
-};
-
-&mcu_esm {
-	bootph-pre-ram;
-};
-
 &dmsc {
 	mboxes= <&secure_proxy_main 0>,
 		<&secure_proxy_main 1>,
@@ -74,10 +58,6 @@
 	ti,secure-host;
 };
 
-&vtt_supply {
-	bootph-pre-ram;
-};
-
 &memorycontroller {
 	vtt-supply = <&vtt_supply>;
 };
@@ -92,10 +72,6 @@
 	clock-names = "clk_xin";
 };
 
-&main_gpio0 {
-	bootph-pre-ram;
-};
-
 /* UART is initialized before SYSFW is started
  * so we can't do any power-domain/clock operations.
  * Delete clock/power-domain properties to avoid
arch/arm/dts/k3-am642-r5-sk.dts +0 -12
index daa483a7811..6032a6f8fef 100644
@@ -49,18 +49,6 @@
 	};
 };
 
-&main_esm {
-	bootph-pre-ram;
-};
-
-&cbass_mcu {
-	bootph-pre-ram;
-};
-
-&mcu_esm {
-	bootph-pre-ram;
-};
-
 &dmsc {
 	mboxes= <&secure_proxy_main 0>,
 		<&secure_proxy_main 1>,
arch/arm/dts/k3-am642-sk-u-boot.dtsi +0 -94

121 lines not on this page · raw message

arch/arm/dts/k3-am642-sk.dts deleted +0 -642

124 lines not on this page · raw message

arch/arm/dts/k3-am642.dtsi deleted +0 -66

66 lines not on this page · raw message

arch/arm/dts/k3-am64x-binman.dtsi +3 -3
index 88df2149545..37817ba60d2 100644

Lines of this file are not shown. View the raw message.

configs/am64x_evm_a53_defconfig +3 -2
index 6711e691ca4..627c2762e1b 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.2

Part of the diff is not shown here. View the raw message.