ARM64: dts: meson-gx: add the missing uart_AO_B
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 15 Jan 2017 22:20:29 +0000 (23:20 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 18 Jan 2017 22:34:50 +0000 (14:34 -0800)
This adds the missing node for the uart_AO_B port to the meson-gx.dtsi
(as this is supported by GXBB, GXL and GXM) along with the required
pinctrl pins. This is required as some boards are using it (the boards
from the Khadas VIM series for example have it exposed on the pin
headers).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

index be56b9f..9212fca 100644 (file)
                                status = "disabled";
                        };
 
+                       uart_AO_B: serial@4e0 {
+                               compatible = "amlogic,meson-uart";
+                               reg = <0x0 0x004e0 0x0 0x14>;
+                               interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&xtal>;
+                               status = "disabled";
+                       };
+
                        ir: ir@580 {
                                compatible = "amlogic,meson-gxbb-ir";
                                reg = <0x0 0x00580 0x0 0x40>;
index 5d68633..474435e 100644 (file)
                        };
                };
 
+               uart_ao_b_pins: uart_ao_b {
+                       mux {
+                               groups = "uart_tx_ao_b", "uart_rx_ao_b";
+                               function = "uart_ao_b";
+                       };
+               };
+
                remote_input_ao_pins: remote_input_ao {
                        mux {
                                groups = "remote_input_ao";
index 6921624..6d815f9 100644 (file)
                        };
                };
 
+               uart_ao_b_pins: uart_ao_b {
+                       mux {
+                               groups = "uart_tx_ao_b", "uart_rx_ao_b";
+                               function = "uart_ao_b";
+                       };
+               };
+
                remote_input_ao_pins: remote_input_ao {
                        mux {
                                groups = "remote_input_ao";