Skip to contentSkip to conversation

arm: dts: k3-am625*: Upgrade kernel dts to v6.7-rc1

PATCH In review Nishanth Menon 5 participants 9 messages Nov 15, 2023 – Nov 22, 2023 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

v2 cover arm: dts: k3-am625*: Upgrade kernel dts to v6.7-rc1

Hi,
rev 2 of the series to sync am62 with v6.7-rc1.

Changes:
- picked up reviews, tested tags.
- minor commit message correction in patch #4.

Boot logs:
https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42

WARNING: This will have a minor conflict (binman) with:
https://lore.kernel.org/u-boot/[email protected]/

I haven't had a chance to test this out on verdin (only build tested)
- going to depend on any checks folks can provide.

V1: https://lore.kernel.org/all/[email protected]/

Nishanth Menon (4):
arm: dts: k3-am625*: Sync with kernel v6.7-rc1
arm: dts: k3-am625: Drop SoC provided bootph params from board
u-boot/r5 dtsi
arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes
arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

 arch/arm/dts/k3-am62-main.dtsi                |  12 +-
 arch/arm/dts/k3-am62-mcu.dtsi                 |   2 +
 arch/arm/dts/k3-am62-verdin-wifi.dtsi         |   6 +
 arch/arm/dts/k3-am62-verdin.dtsi              |   1 +
 arch/arm/dts/k3-am62-wakeup.dtsi              |   2 +
 arch/arm/dts/k3-am62.dtsi                     |   3 +
 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  | 110 -------------
 arch/arm/dts/k3-am625-beagleplay.dts          |  34 +++-
 arch/arm/dts/k3-am625-r5-beagleplay.dts       |   9 --
 arch/arm/dts/k3-am625-r5-sk.dts               |  21 +--
 arch/arm/dts/k3-am625-sk-u-boot.dtsi          | 145 ------------------
 arch/arm/dts/k3-am625-sk.dts                  |  27 ++++
 arch/arm/dts/k3-am625-verdin-r5.dts           |   9 --
 .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi  |  55 +------
 arch/arm/dts/k3-am62x-sk-common.dtsi          | 109 ++++++++++++-
 15 files changed, 197 insertions(+), 348 deletions(-)
Signature · 1 line
2.40.0
#1 lore raw

PATCH v2 1/4 arm: dts: k3-am625*: Sync with kernel v6.7-rc1

Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly.

---
Changes since v1:
- just tested-by tag.

V1: https://lore.kernel.org/r/[email protected]

 arch/arm/dts/k3-am62-main.dtsi        |  12 ++-
 arch/arm/dts/k3-am62-mcu.dtsi         |   2 +
 arch/arm/dts/k3-am62-verdin-wifi.dtsi |   6 ++
 arch/arm/dts/k3-am62-verdin.dtsi      |   1 +
 arch/arm/dts/k3-am62-wakeup.dtsi      |   2 +
 arch/arm/dts/k3-am62.dtsi             |   3 +
 arch/arm/dts/k3-am625-beagleplay.dts  |  34 +++++++-
 arch/arm/dts/k3-am625-sk.dts          |  27 +++++++
 arch/arm/dts/k3-am62x-sk-common.dtsi  | 109 +++++++++++++++++++++++++-
 9 files changed, 193 insertions(+), 3 deletions(-)
arch/arm/dts/k3-am62-main.dtsi +11 -1
index 284b90c94da8..e5c64c86d1d5 100644
@@ -81,7 +81,8 @@
 	};
 
 	dmss: bus@48000000 {
-		compatible = "simple-mfd";
+		bootph-all;
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		dma-ranges;
@@ -90,6 +91,7 @@
 		ti,sci-dev-id = <25>;
 
 		secure_proxy_main: mailbox@4d000000 {
+			bootph-all;
 			compatible = "ti,am654-secure-proxy";
 			#mbox-cells = <1>;
 			reg-names = "target_data", "rt", "scfg";
@@ -165,6 +167,7 @@
 	};
 
 	dmsc: system-controller@44043000 {
+		bootph-all;
 		compatible = "ti,k2g-sci";
 		ti,host-id = <12>;
 		mbox-names = "rx", "tx";
@@ -174,16 +177,19 @@
 		reg = <0x00 0x44043000 0x00 0xfe0>;
 
 		k3_pds: power-controller {
+			bootph-all;
 			compatible = "ti,sci-pm-domain";
 			#power-domain-cells = <2>;
 		};
 
 		k3_clks: clock-controller {
+			bootph-all;
 			compatible = "ti,k2g-sci-clk";
 			#clock-cells = <2>;
 		};
 
 		k3_reset: reset-controller {
+			bootph-all;
 			compatible = "ti,sci-reset";
 			#reset-cells = <2>;
 		};
@@ -202,6 +208,7 @@
 	};
 
 	secure_proxy_sa3: mailbox@43600000 {
+		bootph-pre-ram;
 		compatible = "ti,am654-secure-proxy";
 		#mbox-cells = <1>;
 		reg-names = "target_data", "rt", "scfg";
@@ -217,6 +224,7 @@
 	};
 
 	main_pmx0: pinctrl@f4000 {
+		bootph-all;
 		compatible = "pinctrl-single";
 		reg = <0x00 0xf4000 0x00 0x2ac>;
 		#pinctrl-cells = <1>;
@@ -225,12 +233,14 @@
 	};
 
 	main_esm: esm@420000 {
+		bootph-pre-ram;
 		compatible = "ti,j721e-esm";
 		reg = <0x00 0x420000 0x00 0x1000>;
 		ti,esm-pins = <160>, <161>, <162>, <163>, <177>, <178>;
 	};
 
 	main_timer0: timer@2400000 {
+		bootph-all;
 		compatible = "ti,am654-timer";
 		reg = <0x00 0x2400000 0x00 0x400>;
 		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
arch/arm/dts/k3-am62-mcu.dtsi +2 -0
index 80a3e1db26a9..0e0b234581c6 100644
@@ -7,6 +7,7 @@
 
 &cbass_mcu {
 	mcu_pmx0: pinctrl@4084000 {
+		bootph-all;
 		compatible = "pinctrl-single";
 		reg = <0x00 0x04084000 0x00 0x88>;
 		#pinctrl-cells = <1>;
@@ -15,6 +16,7 @@
 	};
 
 	mcu_esm: esm@4100000 {
+		bootph-pre-ram;
 		compatible = "ti,j721e-esm";
 		reg = <0x00 0x4100000 0x00 0x1000>;
 		ti,esm-pins = <0>, <1>, <2>, <85>;
arch/arm/dts/k3-am62-verdin-wifi.dtsi +6 -0
index 90ddc71bcd30..a6808b10c7b2 100644
@@ -35,5 +35,11 @@
 &main_uart5 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart5>;
+	uart-has-rtscts;
 	status = "okay";
+
+	bluetooth {
+		compatible = "nxp,88w8987-bt";
+		fw-init-baudrate = <3000000>;
+	};
 };
arch/arm/dts/k3-am62-verdin.dtsi +1 -0
index 40992e7e4c30..5db52f237253 100644
@@ -1061,6 +1061,7 @@
 		vddc-supply = <&reg_1v2_dsi>;
 		vddmipi-supply = <&reg_1v2_dsi>;
 		vddio-supply = <&reg_1v8_dsi>;
+		status = "disabled";
 
 		dsi_bridge_ports: ports {
 			#address-cells = <1>;
arch/arm/dts/k3-am62-wakeup.dtsi +2 -0
index eae052887186..fef76f52a52e 100644
@@ -7,6 +7,7 @@
 
 &cbass_wakeup {
 	wkup_conf: syscon@43000000 {
+		bootph-all;
 		compatible = "syscon", "simple-mfd";
 		reg = <0x00 0x43000000 0x00 0x20000>;
 		#address-cells = <1>;
@@ -14,6 +15,7 @@
 		ranges = <0x0 0x00 0x43000000 0x20000>;
 
 		chipid: chipid@14 {
+			bootph-all;
 			compatible = "ti,am654-chipid";
 			reg = <0x14 0x4>;
 		};
arch/arm/dts/k3-am62.dtsi +3 -0
index 11f14eef2d44..f1e15206e1ce 100644
@@ -47,6 +47,7 @@
 	};
 
 	cbass_main: bus@f0000 {
+		bootph-all;
 		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
@@ -86,6 +87,7 @@
 			 <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>;
 
 		cbass_mcu: bus@4000000 {
+			bootph-all;
 			compatible = "simple-bus";
 			#address-cells = <2>;
 			#size-cells = <2>;
@@ -93,6 +95,7 @@
 		};
 
 		cbass_wakeup: bus@b00000 {
+			bootph-all;
 			compatible = "simple-bus";
 			#address-cells = <2>;
 			#size-cells = <2>;
arch/arm/dts/k3-am625-beagleplay.dts +33 -1
index 7cfdf562b53b..9a6bd0a3c94f 100644
@@ -46,6 +46,7 @@
 	};
 
 	memory@80000000 {
+		bootph-pre-ram;
 		device_type = "memory";
 		/* 2G RAM */
 		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
@@ -58,7 +59,7 @@
 
 		ramoops: ramoops@9ca00000 {
 			compatible = "ramoops";
-			reg = <0x00 0x9c700000 0x00 0x00100000>;
+			reg = <0x00 0x9ca00000 0x00 0x00100000>;
 			record-size = <0x8000>;
 			console-size = <0x8000>;
 			ftrace-size = <0x00>;
@@ -83,6 +84,7 @@
 	};
 
 	vsys_5v0: regulator-1 {
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vsys_5v0";
 		regulator-min-microvolt = <5000000>;
@@ -93,6 +95,7 @@
 
 	vdd_3v3: regulator-2 {
 		/* output of TLV62595DMQR-U12 */
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vdd_3v3";
 		regulator-min-microvolt = <3300000>;
@@ -118,6 +121,7 @@
 
 	vdd_3v3_sd: regulator-4 {
 		/* output of TPS22918DBVR-U21 */
+		bootph-all;
 		pinctrl-names = "default";
 		pinctrl-0 = <&vdd_3v3_sd_pins_default>;
 
@@ -132,6 +136,7 @@
 	};
 
 	vdd_sd_dv: regulator-5 {
+		bootph-all;
 		compatible = "regulator-gpio";
 		regulator-name = "sd_hs200_switch";
 		pinctrl-names = "default";
@@ -146,9 +151,11 @@
 	};
 
 	leds {
+		bootph-all;
 		compatible = "gpio-leds";
 
 		led-0 {
+			bootph-all;
 			gpios = <&main_gpio0 3 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 			function = LED_FUNCTION_HEARTBEAT;
@@ -156,6 +163,7 @@
 		};
 
 		led-1 {
+			bootph-all;
 			gpios = <&main_gpio0 4 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "disk-activity";
 			function = LED_FUNCTION_DISK_ACTIVITY;
@@ -163,16 +171,19 @@
 		};
 
 		led-2 {
+			bootph-all;
 			gpios = <&main_gpio0 5 GPIO_ACTIVE_HIGH>;
 			function = LED_FUNCTION_CPU;
 		};
 
 		led-3 {
+			bootph-all;
 			gpios = <&main_gpio0 6 GPIO_ACTIVE_HIGH>;
 			function = LED_FUNCTION_LAN;
 		};
 
 		led-4 {
+			bootph-all;
 			gpios = <&main_gpio0 9 GPIO_ACTIVE_HIGH>;
 			function = LED_FUNCTION_WLAN;
 		};
@@ -245,6 +256,7 @@
 
 &main_pmx0 {
 	gpio0_pins_default: gpio0-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x0004, PIN_INPUT, 7) /* (G25) OSPI0_LBCLKO.GPIO0_1 */
 			AM62X_IOPAD(0x0008, PIN_INPUT, 7) /* (J24) OSPI0_DQS.GPIO0_2 */
@@ -264,6 +276,7 @@
 	};
 
 	vdd_sd_dv_pins_default: vdd-sd-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x0244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */
 		>;
@@ -283,6 +296,7 @@
 	};
 
 	local_i2c_pins_default: local-i2c-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */
 			AM62X_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */
@@ -321,6 +335,7 @@
 	};
 
 	emmc_pins_default: emmc-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x0220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */
 			AM62X_IOPAD(0x0218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */
@@ -336,12 +351,14 @@
 	};
 
 	vdd_3v3_sd_pins_default: vdd-3v3-sd-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01c4, PIN_INPUT, 7) /* (B14) SPI0_D1_GPIO1_19 */
 		>;
 	};
 
 	sd_pins_default: sd-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
 			AM62X_IOPAD(0x0234, PIN_INPUT, 0) /* (B22) MMC1_CLK */
@@ -418,6 +435,7 @@
 	};
 
 	mikrobus_gpio_pins_default: mikrobus-gpio-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x019c, PIN_INPUT, 7) /* (B18) MCASP0_AXR1.GPIO1_9 */
 			AM62X_IOPAD(0x01a0, PIN_INPUT, 7) /* (E18) MCASP0_AXR0.GPIO1_10 */
@@ -426,6 +444,7 @@
 	};
 
 	console_pins_default: console-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
 			AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
@@ -597,6 +616,7 @@
 };
 
 &main_gpio0 {
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&gpio0_pins_default>;
 	gpio-line-names = "BL_EN_3V3", "SPE_PO_EN", "RTC_INT",	/* 0-2 */
@@ -616,6 +636,7 @@
 };
 
 &main_gpio1 {
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mikrobus_gpio_pins_default>;
 	gpio-line-names = "", "", "", "", "",			/* 0-4 */
@@ -633,6 +654,7 @@
 };
 
 &main_i2c0 {
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&local_i2c_pins_default>;
 	clock-frequency = <400000>;
@@ -651,6 +673,7 @@
 	};
 
 	tps65219: pmic@30 {
+		bootph-all;
 		compatible = "ti,tps65219";
 		reg = <0x30>;
 		buck1-supply = <&vsys_5v0>;
@@ -801,6 +824,7 @@
 };
 
 &sdhci0 {
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&emmc_pins_default>;
 	ti,driver-strength-ohm = <50>;
@@ -810,6 +834,7 @@
 
 &sdhci1 {
 	/* SD/MMC */
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd_pins_default>;
 
@@ -850,6 +875,7 @@
 };
 
 &main_uart0 {
+	bootph-all;
 	pinctrl-names = "default";
 	pinctrl-0 = <&console_pins_default>;
 	status = "okay";
@@ -870,6 +896,12 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&wifi_debug_uart_pins_default>;
 	status = "okay";
+
+	mcu {
+		compatible = "ti,cc1352p7";
+		reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_LOW>;
+		vdds-supply = <&vdd_3v3>;
+	};
 };
 
 &dss {
arch/arm/dts/k3-am625-sk.dts +27 -0
index 7c98c1b855d1..b18092497c9a 100644
@@ -31,6 +31,7 @@
 
 	vmain_pd: regulator-0 {
 		/* TPS65988 PD CONTROLLER OUTPUT */
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vmain_pd";
 		regulator-min-microvolt = <5000000>;
@@ -41,6 +42,7 @@
 
 	vcc_5v0: regulator-1 {
 		/* Output of LM34936 */
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vcc_5v0";
 		regulator-min-microvolt = <5000000>;
@@ -52,6 +54,7 @@
 
 	vcc_3v3_sys: regulator-2 {
 		/* output of LM61460-Q1 */
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vcc_3v3_sys";
 		regulator-min-microvolt = <3300000>;
@@ -63,6 +66,7 @@
 
 	vdd_mmc1: regulator-3 {
 		/* TPS22918DBVR */
+		bootph-all;
 		compatible = "regulator-fixed";
 		regulator-name = "vdd_mmc1";
 		regulator-min-microvolt = <3300000>;
@@ -75,6 +79,7 @@
 
 	vdd_sd_dv: regulator-4 {
 		/* Output of TLV71033 */
+		bootph-all;
 		compatible = "regulator-gpio";
 		regulator-name = "tlv71033";
 		pinctrl-names = "default";
@@ -102,6 +107,7 @@
 
 &main_pmx0 {
 	main_rgmii2_pins_default: main-rgmii2-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */
 			AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */
@@ -119,6 +125,7 @@
 	};
 
 	ospi0_pins_default: ospi0-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */
 			AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */
@@ -135,20 +142,32 @@
 	};
 
 	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */
 		>;
 	};
 
 	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */
 		>;
 	};
 };
 
+&main_gpio0 {
+	bootph-all;
+};
+
+&main_gpio1 {
+	bootph-all;
+};
+
 &main_i2c1 {
+	bootph-all;
 	exp1: gpio@22 {
+		bootph-all;
 		compatible = "ti,tca6424";
 		reg = <0x22>;
 		gpio-controller;
@@ -207,12 +226,18 @@
 	};
 };
 
+&fss {
+	bootph-all;
+};
+
 &ospi0 {
+	bootph-all;
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&ospi0_pins_default>;
 
 	flash@0 {
+		bootph-all;
 		compatible = "jedec,spi-nor";
 		reg = <0x0>;
 		spi-tx-bus-width = <8>;
@@ -225,6 +250,7 @@
 		cdns,read-delay = <4>;
 
 		partitions {
+			bootph-all;
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -260,6 +286,7 @@
 			};
 
 			partition@3fc0000 {
+				bootph-pre-ram;
 				label = "ospi.phypattern";
 				reg = <0x3fc0000 0x40000>;
 			};
arch/arm/dts/k3-am62x-sk-common.dtsi +108 -1

223 lines not on this page · raw message

Signature · 1 line
2.40.0
#3 lore raw

PATCH v2 2/4 arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsi

In reply to Nishanth Menon

k3-am62* SoC dtsi files now provide the following:

bootph-all: dmss secure_proxy_main dmsc k3_pds k3_clks k3_reset
main_pmx0 main_timer0 mcu_pmx0 wkup_conf chipid

bootph-pre-ram: secure_proxy_sa3 main_esm mcu_esm

Drop these from board r5 and u-boot.dtsi files as these are duplicate in them now.

---
Changes since v1:
- just picked up acks and tested tags

V1: https://lore.kernel.org/r/[email protected]

 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  | 54 ------------------
 arch/arm/dts/k3-am625-r5-beagleplay.dts       |  9 ---
 arch/arm/dts/k3-am625-r5-sk.dts               |  9 ---
 arch/arm/dts/k3-am625-sk-u-boot.dtsi          | 53 ------------------
 arch/arm/dts/k3-am625-verdin-r5.dts           |  9 ---
 .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi  | 55 +------------------
 6 files changed, 2 insertions(+), 187 deletions(-)
arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi +0 -54
index d6c6baa5518b..6f3a31558b20 100644
@@ -47,59 +47,17 @@
 	};
 };
 
-&cbass_main {
-	bootph-all;
-};
-
 &main_timer0 {
 	clock-frequency = <25000000>;
-	bootph-all;
-};
-
-&dmss {
-	bootph-all;
-};
-
-&secure_proxy_main {
-	bootph-all;
-};
-
-&dmsc {
-	bootph-all;
-};
-
-&k3_pds {
-	bootph-all;
-};
-
-&k3_clks {
-	bootph-all;
-};
-
-&k3_reset {
-	bootph-all;
 };
 
 &dmsc {
-	bootph-all;
 	k3_sysreset: sysreset-controller {
 		compatible = "ti,sci-sysreset";
 		bootph-all;
 	};
 };
 
-&wkup_conf {
-	bootph-all;
-};
-
-&chipid {
-	bootph-all;
-};
-
-&main_pmx0 {
-	bootph-all;
-};
-
 &main_uart0 {
 	bootph-all;
 };
@@ -108,18 +66,6 @@
 	bootph-all;
 };
 
-&cbass_mcu {
-	bootph-all;
-};
-
-&cbass_wakeup {
-	bootph-all;
-};
-
-&mcu_pmx0 {
-	bootph-all;
-};
-
 &main_i2c0 {
 	bootph-all;
 };
arch/arm/dts/k3-am625-r5-beagleplay.dts +0 -9
index 9c9d0570592a..1f450f55c1d2 100644
@@ -54,12 +54,7 @@
 	ti,secure-host;
 };
 
-&mcu_esm {
-	bootph-pre-ram;
-};
-
 &secure_proxy_sa3 {
-	bootph-pre-ram;
 	/* We require this for boot handshake */
 	status = "okay";
 };
@@ -73,10 +68,6 @@
 	};
 };
 
-&main_esm {
-	bootph-pre-ram;
-};
-
 &main_pktdma {
 	ti,sci = <&dm_tifs>;
 };
arch/arm/dts/k3-am625-r5-sk.dts +0 -9
index bf219226b974..55420b2f2c15 100644
@@ -55,20 +55,11 @@
 	ti,secure-host;
 };
 
-&mcu_esm {
-	bootph-pre-ram;
-};
-
 &secure_proxy_sa3 {
-	bootph-pre-ram;
 	/* We require this for boot handshake */
 	status = "okay";
 };
 
-&main_esm {
-	bootph-pre-ram;
-};
-
 &cbass_main {
 	sysctrler: sysctrler {
 		compatible = "ti,am654-system-controller";
arch/arm/dts/k3-am625-sk-u-boot.dtsi +0 -53

67 lines not on this page · raw message

arch/arm/dts/k3-am625-verdin-r5.dts +0 -9
index 0cae9c577732..305d199678b3 100644
@@ -69,16 +69,7 @@
 	ti,secure-host;
 };
 
-&main_esm {
-	bootph-pre-ram;
-};
-
-&mcu_esm {
-	bootph-pre-ram;
-};
-
 &secure_proxy_sa3 {
-	bootph-pre-ram;
 	/* We require this for boot handshake */
 	status = "okay";
 };
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +2 -53

99 lines not on this page · raw message

Signature · 1 line
2.40.0
#4 lore raw

PATCH v2 3/4 arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes

In reply to Nishanth Menon

Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same.

---
Changes since v1:
- tested and reviewed tags

V1: https://lore.kernel.org/r/[email protected]

 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 56 --------------------
 1 file changed, 56 deletions(-)
arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi +0 -56
index 6f3a31558b20..7f8468f298f0 100644
@@ -13,36 +13,26 @@
 		tick-timer = &main_timer0;
 	};
 
-	memory@80000000 {
-		bootph-all;
-	};
-
 	/* Keep the LEDs on by default to indicate life */
 	leds {
-		bootph-all;
 		led-0 {
 			default-state = "on";
-			bootph-all;
 		};
 
 		led-1 {
 			default-state = "on";
-			bootph-all;
 		};
 
 		led-2 {
 			default-state = "on";
-			bootph-all;
 		};
 
 		led-3 {
 			default-state = "on";
-			bootph-all;
 		};
 
 		led-4 {
 			default-state = "on";
-			bootph-all;
 		};
 	};
 };
@@ -58,45 +48,7 @@
 	};
 };
 
-&main_uart0 {
-	bootph-all;
-};
-
-&console_pins_default {
-	bootph-all;
-};
-
-&main_i2c0 {
-	bootph-all;
-};
-
-&local_i2c_pins_default {
-	bootph-all;
-};
-
-&gpio0_pins_default {
-	bootph-all;
-};
-
-&main_gpio0 {
-	bootph-all;
-};
-
-&main_gpio1 {
-	bootph-all;
-};
-
-&sdhci0 {
-	/* EMMC */
-	bootph-all;
-};
-
-&emmc_pins_default {
-	bootph-all;
-};
-
 &sd_pins_default {
-	bootph-all;
 	/* Force to use SDCD card detect pin */
 	pinctrl-single,pins = <
 		AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
@@ -109,14 +61,6 @@
 	>;
 };
 
-&tps65219 {
-	bootph-all;
-};
-
-&sdhci1 {
-	bootph-all;
-};
-
 #ifdef CONFIG_TARGET_AM625_A53_EVM
 
 #define SPL_AM625_BEAGLEPLAY_DTB "spl/dts/k3-am625-beagleplay.dtb"
Signature · 1 line
2.40.0
#5 lore raw

PATCH v2 4/4 arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

In reply to Nishanth Menon

Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same.

While at this enable the DM and TIFS UARTs for programming pinmux since they are marked reserved by board.dts

---
Changes:
- capitalize TIFS and UART.
- pick up reviewed and tested tags

V1: https://lore.kernel.org/r/[email protected]

 arch/arm/dts/k3-am625-r5-sk.dts      | 12 +---
 arch/arm/dts/k3-am625-sk-u-boot.dtsi | 92 ----------------------------
 2 files changed, 2 insertions(+), 102 deletions(-)
arch/arm/dts/k3-am625-r5-sk.dts +2 -10
index 55420b2f2c15..6b9f40e55581 100644
@@ -69,22 +69,14 @@
 	};
 };
 
-&wkup_uart0_pins_default {
-	bootph-pre-ram;
-};
-
-&main_uart1_pins_default {
-	bootph-pre-ram;
-};
-
 /* WKUP UART0 is used for DM firmware logs */
 &wkup_uart0 {
-	bootph-pre-ram;
+	status = "okay";
 };
 
 /* Main UART1 is used for TIFS firmware logs */
 &main_uart1 {
-	bootph-pre-ram;
+	status = "okay";
 };
 
 &ospi0 {
arch/arm/dts/k3-am625-sk-u-boot.dtsi +0 -92

112 lines not on this page · raw message

Signature · 1 line
2.40.0
Reviewed-by on the v2 series
#6 lore raw
In reply to Nishanth Menon
Quoted 17 lines · Nishanth Menon

Hi,
rev 2 of the series to sync am62 with v6.7-rc1.

Changes:
- picked up reviews, tested tags.
- minor commit message correction in patch #4.

Boot logs:
https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42

WARNING: This will have a minor conflict (binman) with:
https://lore.kernel.org/u-boot/[email protected]/

I haven't had a chance to test this out on verdin (only build tested)
- going to depend on any checks folks can provide.

Quoted 8 lines

V1: https://lore.kernel.org/all/[email protected]/

Nishanth Menon (4):
arm: dts: k3-am625*: Sync with kernel v6.7-rc1
arm: dts: k3-am625: Drop SoC provided bootph params from board
u-boot/r5 dtsi
arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes
arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

for this series:

Tested-by on the v2 series
#7 lore raw
In reply to Nishanth Menon

Hi Nishanth

Quoted 2 lines · Nishanth Menon

Hi,
rev 2 of the series to sync am62 with v6.7-rc1.

For the whole series:

Quoted 38 lines

Changes:
- picked up reviews, tested tags.
- minor commit message correction in patch #4.

Boot logs:
https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42

WARNING: This will have  a minor conflict (binman) with:
https://lore.kernel.org/u-boot/[email protected]/

I haven't had a chance to test this out on verdin (only build tested)
- going to depend on any checks folks can provide.

V1: https://lore.kernel.org/all/[email protected]/

Nishanth Menon (4):
  arm: dts: k3-am625*: Sync with kernel v6.7-rc1
  arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsi
  arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes
  arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

 arch/arm/dts/k3-am62-main.dtsi                |  12 +- arch/arm/dts/k3-am62-mcu.dtsi                 |   2 + arch/arm/dts/k3-am62-verdin-wifi.dtsi         |   6 + arch/arm/dts/k3-am62-verdin.dtsi              |   1 + arch/arm/dts/k3-am62-wakeup.dtsi              |   2 + arch/arm/dts/k3-am62.dtsi                     |   3 + arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  | 110 ------------- arch/arm/dts/k3-am625-beagleplay.dts          |  34 +++- arch/arm/dts/k3-am625-r5-beagleplay.dts       |   9 -- arch/arm/dts/k3-am625-r5-sk.dts               |  21 +-- arch/arm/dts/k3-am625-sk-u-boot.dtsi          | 145 ------------------ arch/arm/dts/k3-am625-sk.dts                  |  27 ++++ arch/arm/dts/k3-am625-verdin-r5.dts           |   9 -- .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi  |  55 +------ arch/arm/dts/k3-am62x-sk-common.dtsi          | 109 ++++++++++++-

Quoted 1 line
 15 files changed, 197 insertions(+), 348 deletions(-)

Thanks!

Cheers

Marcel

Tested-by on the v2 series
#8 lore raw
In reply to Nishanth Menon

Hi Nishanth,

Thank you for the series.

Quoted 17 lines · Nishanth Menon

Hi,
rev 2 of the series to sync am62 with v6.7-rc1.

Changes:
- picked up reviews, tested tags.
- minor commit message correction in patch #4.

Boot logs:
https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42

WARNING: This will have a minor conflict (binman) with:
https://lore.kernel.org/u-boot/[email protected]/

I haven't had a chance to test this out on verdin (only build tested)
- going to depend on any checks folks can provide.

Quoted 8 lines

V1: https://lore.kernel.org/all/[email protected]/

Nishanth Menon (4):
arm: dts: k3-am625*: Sync with kernel v6.7-rc1
arm: dts: k3-am625: Drop SoC provided bootph params from board
u-boot/r5 dtsi
arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes
arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

Boot tested eMMC boot on AM62 SK EVM.

For the whole series:

Quoted 20 lines
 arch/arm/dts/k3-am62-main.dtsi                |  12 +-
 arch/arm/dts/k3-am62-mcu.dtsi                 |   2 +
 arch/arm/dts/k3-am62-verdin-wifi.dtsi         |   6 +
 arch/arm/dts/k3-am62-verdin.dtsi              |   1 +
 arch/arm/dts/k3-am62-wakeup.dtsi              |   2 +
 arch/arm/dts/k3-am62.dtsi                     |   3 +
 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  | 110 -------------
 arch/arm/dts/k3-am625-beagleplay.dts          |  34 +++-
 arch/arm/dts/k3-am625-r5-beagleplay.dts       |   9 --
 arch/arm/dts/k3-am625-r5-sk.dts               |  21 +--
 arch/arm/dts/k3-am625-sk-u-boot.dtsi          | 145 ------------------
 arch/arm/dts/k3-am625-sk.dts                  |  27 ++++
 arch/arm/dts/k3-am625-verdin-r5.dts           |   9 --
 .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi  |  55 +------
 arch/arm/dts/k3-am62x-sk-common.dtsi          | 109 ++++++++++++-
 15 files changed, 197 insertions(+), 348 deletions(-)
Signature · 1 line
2.40.0