rk322x: fix tsadc-related bootloop on some boards (#4701)
This commit is contained in:
parent
f13fc83465
commit
2a51ee3d77
@ -1,9 +1,9 @@
|
||||
diff --git a/arch/arm/boot/dts/rk322x-box.dts b/arch/arm/boot/dts/rk322x-box.dts
|
||||
new file mode 100644
|
||||
index 000000000000..f6e249bf81b6
|
||||
index 00000000000..a498bad3a4f
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/rk322x-box.dts
|
||||
@@ -0,0 +1,753 @@
|
||||
@@ -0,0 +1,766 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+
|
||||
+/dts-v1/;
|
||||
@ -741,6 +741,19 @@ index 000000000000..f6e249bf81b6
|
||||
+ rockchip,hw-tshut-mode = <0>;
|
||||
+ rockchip,hw-tshut-polarity = <1>;
|
||||
+ rockchip,hw-tshut-temp = <110000>;
|
||||
+
|
||||
+ /* delete the pinctrl-* properties because, on mainline kernel, they (in particular "default")
|
||||
+ change the GPIO configuration of the associated PIN. On most boards that pin is not connected
|
||||
+ so it does not do anything, but some other boards (X96-Mini) have that pin connected to
|
||||
+ a reset pin of the soc or whatever, thus changing the configuration of the pin at boot
|
||||
+ causes them to bootloop.
|
||||
+ We don't really need these ones though, because since hw-tshut-mode is set to 0, the CRU
|
||||
+ unit of the SoC does the reboot*/
|
||||
+ /delete-property/ pinctrl-names;
|
||||
+ /delete-property/ pinctrl-0;
|
||||
+ /delete-property/ pinctrl-1;
|
||||
+ /delete-property/ pinctrl-2;
|
||||
+
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
diff --git a/arch/arm/boot/dts/rk322x-box.dts b/arch/arm/boot/dts/rk322x-box.dts
|
||||
new file mode 100644
|
||||
index 000000000000..f6e249bf81b6
|
||||
index 00000000000..a498bad3a4f
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/rk322x-box.dts
|
||||
@@ -0,0 +1,753 @@
|
||||
@@ -0,0 +1,766 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+
|
||||
+/dts-v1/;
|
||||
@ -741,6 +741,19 @@ index 000000000000..f6e249bf81b6
|
||||
+ rockchip,hw-tshut-mode = <0>;
|
||||
+ rockchip,hw-tshut-polarity = <1>;
|
||||
+ rockchip,hw-tshut-temp = <110000>;
|
||||
+
|
||||
+ /* delete the pinctrl-* properties because, on mainline kernel, they (in particular "default")
|
||||
+ change the GPIO configuration of the associated PIN. On most boards that pin is not connected
|
||||
+ so it does not do anything, but some other boards (X96-Mini) have that pin connected to
|
||||
+ a reset pin of the soc or whatever, thus changing the configuration of the pin at boot
|
||||
+ causes them to bootloop.
|
||||
+ We don't really need these ones though, because since hw-tshut-mode is set to 0, the CRU
|
||||
+ unit of the SoC does the reboot*/
|
||||
+ /delete-property/ pinctrl-names;
|
||||
+ /delete-property/ pinctrl-0;
|
||||
+ /delete-property/ pinctrl-1;
|
||||
+ /delete-property/ pinctrl-2;
|
||||
+
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
|
||||
Loading…
Reference in New Issue
Block a user