arm64: dts: NS2: Add all of the UARTs
Add all of the UARTs present on NS2 and enable them in the SVK device tree file. Also, do some magic to make sure that uart3 is discovered as ttyS0 (as that is the console UART). Signed-off-by: Jon Mason <jonmason@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
5f2fb24141
commit
1e0fdee81e
|
@ -40,10 +40,14 @@
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &uart3;
|
serial0 = &uart3;
|
||||||
|
serial1 = &uart0;
|
||||||
|
serial2 = &uart1;
|
||||||
|
serial3 = &uart2;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = "serial0:115200n8";
|
stdout-path = "serial0:115200n8";
|
||||||
|
bootargs = "earlycon=uart8250,mmio32,0x66130000";
|
||||||
};
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
|
@ -68,6 +72,18 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uart0 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart1 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart2 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
&uart3 {
|
&uart3 {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
|
@ -357,6 +357,36 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
uart0: serial@66100000 {
|
||||||
|
compatible = "snps,dw-apb-uart";
|
||||||
|
reg = <0x66100000 0x100>;
|
||||||
|
interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&iprocslow>;
|
||||||
|
reg-shift = <2>;
|
||||||
|
reg-io-width = <4>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
uart1: serial@66110000 {
|
||||||
|
compatible = "snps,dw-apb-uart";
|
||||||
|
reg = <0x66110000 0x100>;
|
||||||
|
interrupts = <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&iprocslow>;
|
||||||
|
reg-shift = <2>;
|
||||||
|
reg-io-width = <4>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
uart2: serial@66120000 {
|
||||||
|
compatible = "snps,dw-apb-uart";
|
||||||
|
reg = <0x66120000 0x100>;
|
||||||
|
interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&iprocslow>;
|
||||||
|
reg-shift = <2>;
|
||||||
|
reg-io-width = <4>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
uart3: serial@66130000 {
|
uart3: serial@66130000 {
|
||||||
compatible = "snps,dw-apb-uart";
|
compatible = "snps,dw-apb-uart";
|
||||||
reg = <0x66130000 0x100>;
|
reg = <0x66130000 0x100>;
|
||||||
|
|
Loading…
Reference in New Issue