OSDN Git Service

arm64: dts: fsl: ls1046a: disable uarts by default
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 16:07:49 +0000 (17:07 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jan 2019 09:13:10 +0000 (17:13 +0800)
Disable the UARTs by defaultto avoid registering unused UARTs. This
effectively change the number of registered UARTS for the RDB and QDS from
4 to 2 but this seems the right thing to do.

It is especially useful when connecting other 8250 uart on PCIe for example
as the default maximum number of 8250 UARTs that can be registered is 4.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

index cba0eac..d0ee696 100644 (file)
                        reg = <0x00 0x21c0500 0x0 0x100>;
                        interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen 4 1>;
+                       status = "disabled";
                };
 
                duart1: serial@21c0600 {
                        reg = <0x00 0x21c0600 0x0 0x100>;
                        interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen 4 1>;
+                       status = "disabled";
                };
 
                duart2: serial@21d0500 {
                        reg = <0x0 0x21d0500 0x0 0x100>;
                        interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen 4 1>;
+                       status = "disabled";
                };
 
                duart3: serial@21d0600 {
                        reg = <0x0 0x21d0600 0x0 0x100>;
                        interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen 4 1>;
+                       status = "disabled";
                };
 
                gpio0: gpio@2300000 {