Skip to contentSkip to conversation

arm64: dts: ls1012a: correct the size of dcfg block

PATCH Applied Frank Li 2 participants 5 messages Jan 19, 2024 – Feb 6, 2024

Subsystems (2)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/4 arm64: dts: ls1012a: correct the size of dcfg block

From: Li Yang <[email protected]>

Correct the size of dcfg block to 4k.

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +1 -1
index 1e3fe3897b52c..2ae0daaa1a04f 100644
@@ -290,7 +290,7 @@ sec_mon: sec_mon@1e90000 {
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1012a-dcfg",
 				     "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x10000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>;
 			big-endian;
 		};
 
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH 2/4 arm64: dts: ls1012a: add big-endian property for PCIe nodes

From: Hou Zhiqiang <[email protected]>

Add the big-endian property for LS1012A PCIe devicetree nodes.

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +1 -0
index 2ae0daaa1a04f..5a6d4848fe485 100644
@@ -550,6 +550,7 @@ pcie1: pcie@3400000 {
 					<0000 0 0 2 &gic 0 111 IRQ_TYPE_LEVEL_HIGH>,
 					<0000 0 0 3 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>,
 					<0000 0 0 4 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
+			big-endian;
 			status = "disabled";
 		};
 
Signature · 1 line
2.34.1
author maintainer
#2 lore raw

PATCH 3/4 arm64: dts: ls1012a: add gpio for i2c bus recovery

In reply to Frank Li

From: Li Yang <[email protected]>

Add compatible string fsl,ls1012a-i2c and scl-gpios to support i2c bus recovery when I2C bus lock by i2c devices.

[Leo: updated scl-gpios to match RM ]
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +4 -2
index 5a6d4848fe485..116fa68e13ac4 100644
@@ -351,24 +351,26 @@ tmu: tmu@1f00000 {
 		};
 
 		i2c0: i2c@2180000 {
-			compatible = "fsl,vf610-i2c";
+			compatible = "fsl,ls1012a-i2c", "fsl,vf610-i2c";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2180000 0x0 0x10000>;
 			interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(4)>;
+			scl-gpios = <&gpio0 2 0>;
 			status = "disabled";
 		};
 
 		i2c1: i2c@2190000 {
-			compatible = "fsl,vf610-i2c";
+			compatible = "fsl,ls1012a-i2c", "fsl,vf610-i2c";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2190000 0x0 0x10000>;
 			interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(4)>;
+			scl-gpios = <&gpio0 13 0>;
 			status = "disabled";
 		};
 
Signature · 1 line
2.34.1
author maintainer
#3 lore raw

PATCH 4/4 arm64: dts: ls1012a: fix DWC3 USB VBUS glitch issue

In reply to Frank Li

From: Ran Wang <[email protected]>

Fix DWC3 USB VBUS glitch issue.

---
 arch/arm/boot/dts/nxp/ls/ls1021a.dtsi          | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm/boot/dts/nxp/ls/ls1021a.dtsi +1 -0
index d471cc5efa949..95e2057d9213c 100644
@@ -809,6 +809,7 @@ usb3: usb@3100000 {
 			snps,quirk-frame-length-adjustment = <0x20>;
 			snps,dis_rxdet_inp3_quirk;
 			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+			snps,host-vbus-glitches;
 		};
 
 		pcie@3400000 {
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +1 -0
index 116fa68e13ac4..fe9093b3c02e2 100644
@@ -501,6 +501,7 @@ usb0: usb@2f00000 {
 			snps,quirk-frame-length-adjustment = <0x20>;
 			snps,dis_rxdet_inp3_quirk;
 			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+			snps,host-vbus-glitches;
 		};
 
 		sata: sata@3200000 {
Signature · 1 line
2.34.1