arm64: dts: ls1043a: update USB nodes status to match board config
authorRan Wang <ran.wang_1@nxp.com>
Tue, 7 Jul 2020 07:40:31 +0000 (15:40 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Jul 2020 07:09:31 +0000 (15:09 +0800)
ls1043a-rdb and ls1043a-qds board’s default HW config (such as
pin mux selection) would not enable some USB controllers’
data path, which causing over-current detected on those
controllers. This will hit the case of ‘xhci driver prevent bus suspend
if a root hub port detected over-current condition’, causing system
failed to be suspended. So disable them in device tree to resolve this
issue.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

index 1aac81da7e37f61a3a6b600825d16c7840f4a41c..fea167d222cfe664b2cb34df4e7e316824f9f536 100644 (file)
        };
 };
 
+&usb0 {
+       status = "okay";
+};
+
 #include "fsl-ls1043-post.dtsi"
index bfa9d957e5367e725057da7284544a7d01c29242..3516af4726a5d69996355832f1fcd2dcc0f5b430 100644 (file)
                fsl,tdm-interface;
        };
 };
+
+&usb0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
index aaf79924159c94ef97c102e2205aadb782a974a3..5c2e370f63160948f14a7870b578964b487dd078 100644 (file)
                        snps,quirk-frame-length-adjustment = <0x20>;
                        snps,dis_rxdet_inp3_quirk;
                        snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+                       status = "disabled";
                };
 
                usb1: usb3@3000000 {
                        snps,quirk-frame-length-adjustment = <0x20>;
                        snps,dis_rxdet_inp3_quirk;
                        snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+                       status = "disabled";
                };
 
                usb2: usb3@3100000 {
                        snps,quirk-frame-length-adjustment = <0x20>;
                        snps,dis_rxdet_inp3_quirk;
                        snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+                       status = "disabled";
                };
 
                sata: sata@3200000 {