ARM: dts: ixp4xx: Add second UART
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Jul 2021 11:14:16 +0000 (13:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 8 Aug 2021 23:55:08 +0000 (01:55 +0200)
The IXP4xx has two UARTs and some platforms make use of the
second one so add this to the include DTSI.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/intel-ixp4xx.dtsi

index a50427ad05e748c5c4ba675c00aadec3331f9880..45cb3ad954c1ff39e53a568884368d6e2bfe501c 100644 (file)
                        no-loopback-test;
                };
 
+               uart1: serial@c8001000 {
+                       compatible = "intel,xscale-uart";
+                       reg = <0xc8001000 0x1000>;
+                       /*
+                        * The reg-offset and reg-shift is a side effect
+                        * of running the platform in big endian mode.
+                        */
+                       reg-offset = <3>;
+                       reg-shift = <2>;
+                       interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-frequency = <14745600>;
+                       no-loopback-test;
+               };
+
                gpio0: gpio@c8004000 {
                        compatible = "intel,ixp4xx-gpio";
                        reg = <0xc8004000 0x1000>;