arm: vybrid: Enable lpuart support
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Wed, 27 Jan 2016 05:01:45 +0000 (10:31 +0530)
committerStefano Babic <sbabic@denx.de>
Tue, 2 Feb 2016 20:36:09 +0000 (21:36 +0100)
Add device tree node's for lpuart on Vybrid platform

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/dts/vf.dtsi

index 78706e1..7aa4c91 100644 (file)
                gpio2 = &gpio2;
                gpio3 = &gpio3;
                gpio4 = &gpio4;
+               serial0 = &uart0;
+               serial1 = &uart1;
+               serial2 = &uart2;
+               serial3 = &uart3;
+               serial4 = &uart4;
+               serial5 = &uart5;
                spi0 = &dspi0;
                spi1 = &dspi1;
        };
                        #size-cells = <1>;
                        ranges;
 
+                       uart0: serial@40027000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x40027000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       uart1: serial@40028000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x40028000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       uart2: serial@40029000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x40029000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       uart3: serial@4002a000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x4002a000 0x1000>;
+                               status = "disabled";
+                       };
+
                        dspi0: dspi0@4002c000 {
                                #address-cells = <1>;
                                #size-cells = <0>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;
+
+                       uart4: serial@400a9000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x400a9000 0x1000>;
+                               status = "disabled";
+                       };
+
+                       uart5: serial@400aa000 {
+                               compatible = "fsl,vf610-lpuart";
+                               reg = <0x400aa000 0x1000>;
+                               status = "disabled";
+                       };
+
                };
        };
 };