From dd0a74f96772c877819a5a60a9845fdc8431c253 Mon Sep 17 00:00:00 2001 From: Li Hua Qian Date: Fri, 22 Mar 2024 11:22:05 +0800 Subject: [PATCH] linux: Disable lock-step for all iot2050 boards The PG1 A variant of the iot2050 series has been identified which partially lacks support for lock-step mode. This implies that all iot2050 boards can't support this mode. As a result, lock-step mode has been disabled across all iot2050 boards for consistency and to avoid potential issues. Signed-off-by: Li Hua Qian --- ...2050-Disable-lock-step-for-all-iot20.patch | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 recipes-kernel/linux/files/patches-6.1/0097--arm64-dts-ti-iot2050-Disable-lock-step-for-all-iot20.patch diff --git a/recipes-kernel/linux/files/patches-6.1/0097--arm64-dts-ti-iot2050-Disable-lock-step-for-all-iot20.patch b/recipes-kernel/linux/files/patches-6.1/0097--arm64-dts-ti-iot2050-Disable-lock-step-for-all-iot20.patch new file mode 100644 index 000000000..a58fdfa1a --- /dev/null +++ b/recipes-kernel/linux/files/patches-6.1/0097--arm64-dts-ti-iot2050-Disable-lock-step-for-all-iot20.patch @@ -0,0 +1,64 @@ +From 1236b3418b6566614d3b5f12626f007541399959 Mon Sep 17 00:00:00 2001 +From: Li Hua Qian +Date: Fri, 22 Mar 2024 09:36:47 +0800 +Subject: [PATCH] arm64: dts: ti: iot2050: Disable lock-step for all iot2050 + boards + +The PG1 A variant of the iot2050 series has been identified which +partially lacks support for lock-step mode. This implies that all +iot2050 boards can't support this mode. As a result, lock-step mode has +been disabled across all iot2050 boards for consistency and to avoid +potential issues. + +Signed-off-by: Li Hua Qian +--- + arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi | 5 ----- + arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 5 +++++ + arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts | 5 ----- + 3 files changed, 5 insertions(+), 10 deletions(-) + +diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi +index 42adb8815..48f187f23 100644 +--- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi ++++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi +@@ -9,11 +9,6 @@ + * Common bits of the IOT2050 Basic and Advanced variants, PG2 + */ + +-&mcu_r5fss0 { +- /* lock-step mode not supported on PG2 boards */ +- ti,cluster-mode = <0>; +-}; +- + &main_pmx0 { + cp2102n_reset_pin_default: cp2102n-reset-default-pins { + pinctrl-single,pins = < +diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +index f602dbc4e..35675663e 100644 +--- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi ++++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +@@ -780,3 +780,8 @@ icssg0_eth1_phy: ethernet-phy@1 { + ti,fifo-depth = ; + }; + }; ++ ++&mcu_r5fss0 { ++ /* lock-step mode not supported on iot2050 boards */ ++ ti,cluster-mode = <0>; ++}; +diff --git a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts +index be9c8db4c..87928ff28 100644 +--- a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts ++++ b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts +@@ -22,8 +22,3 @@ / { + compatible = "siemens,iot2050-basic", "ti,am654"; + model = "SIMATIC IOT2050 Basic"; + }; +- +-&mcu_r5fss0 { +- /* lock-step mode not supported on this board */ +- ti,cluster-mode = <0>; +-}; +-- +2.30.2 +