OSDN Git Service

ARM: dts: aspeed-g6: Add VUART descriptions
authorJoel Stanley <joel@jms.id.au>
Wed, 2 Oct 2019 10:23:25 +0000 (19:53 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 1 Nov 2019 05:03:19 +0000 (15:33 +1030)
The AST2600 has two VUART devices.

Reviewed-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi

index 3054294..736b4f8 100644 (file)
@@ -29,6 +29,8 @@
                i2c14 = &i2c14;
                i2c15 = &i2c15;
                serial4 = &uart5;
+               serial5 = &vuart1;
+               serial6 = &vuart2;
        };
 
 
                                };
                        };
 
+                       vuart1: serial@1e787000 {
+                               compatible = "aspeed,ast2500-vuart";
+                               reg = <0x1e787000 0x40>;
+                               reg-shift = <2>;
+                               interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&syscon ASPEED_CLK_APB1>;
+                               no-loopback-test;
+                               status = "disabled";
+                       };
+
+                       vuart2: serial@1e788000 {
+                               compatible = "aspeed,ast2500-vuart";
+                               reg = <0x1e788000 0x40>;
+                               reg-shift = <2>;
+                               interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&syscon ASPEED_CLK_APB1>;
+                               no-loopback-test;
+                               status = "disabled";
+                       };
+
                        i2c: bus@1e78a000 {
                                compatible = "simple-bus";
                                #address-cells = <1>;