Skip to contentSkip to conversation

arm64: dts: ls1088a: Add reboot nodes

PATCH Applied Li Yang 2 participants 3 messages Dec 4, 2021 – Dec 14, 2021

Subsystems (2)
lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 1/2 arm64: dts: ls1088a: Add reboot nodes

ls1088a has a separate reset register block. Define it in dts and use it for reboot.

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +12 -0
index f891ef6a3754..1eda080b497c 100644
@@ -206,6 +206,13 @@ sysclk: sysclk {
 		clock-output-names = "sysclk";
 	};
 
+	reboot {
+		compatible = "syscon-reboot";
+		regmap = <&reset>;
+		offset = <0x0>;
+		mask = <0x02>;
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <2>;
@@ -226,6 +233,11 @@ dcfg: dcfg@1e00000 {
 			little-endian;
 		};
 
+		reset: syscon@1e60000 {
+			compatible = "fsl,ls1088a-reset", "syscon";
+			reg = <0x0 0x1e60000 0x0 0x10000>;
+		};
+
 		isc: syscon@1f70000 {
 			compatible = "fsl,ls1088a-isc", "syscon";
 			reg = <0x0 0x1f70000 0x0 0x10000>;
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 arm64: dts: ls1088a: add snps incr burst type adjustment for usb1

This property could fix the defect that external usb device always prints this error log --- 'reset SuperSpeed USB device number n using xhci_hcd' when system power on.

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +1 -0
index 1eda080b497c..3ed1f2c51cad 100644
@@ -497,6 +497,7 @@ usb1: usb@3110000 {
 			dr_mode = "host";
 			snps,quirk-frame-length-adjustment = <0x20>;
 			snps,dis_rxdet_inp3_quirk;
+			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
 			status = "disabled";
 		};
 
Signature · 1 line
2.25.1