OSDN Git Service

arm64: dts: ls1028a: disable usb controller by default
authorMichael Walle <michael@walle.cc>
Tue, 31 Aug 2021 13:40:11 +0000 (15:40 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Oct 2021 13:00:19 +0000 (21:00 +0800)
One of the last devices which are enabled by default are the USB
controllers. Although the pins are not multi-function pins, some boards
might not use USB at all. Apply the "disabled-by-default" style also for
the USB controllers and enable the controllers in the actual device tree
of the boards.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index a92ecb3..2c62669 100644 (file)
 &lpuart1 {
        status = "okay";
 };
+
+&usb0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
index bfd14b6..f36f878 100644 (file)
 &sata {
        status = "okay";
 };
+
+&usb0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
index d7b5272..b0967b9 100644 (file)
        status = "okay";
 };
 
+&usb0 {
+       status = "okay";
+};
+
 &usb1 {
        dr_mode = "otg";
+       status = "okay";
 };
index 876dea6..c10c84d 100644 (file)
                        snps,dis_rxdet_inp3_quirk;
                        snps,quirk-frame-length-adjustment = <0x20>;
                        snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+                       status = "disabled";
                };
 
                usb1: usb@3110000 {
                        snps,dis_rxdet_inp3_quirk;
                        snps,quirk-frame-length-adjustment = <0x20>;
                        snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
+                       status = "disabled";
                };
 
                sata: sata@3200000 {