]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 be56b9fae2aa4cef4b22106274aa99ba5c224c55..9212fca6eb94bc950737bc679b9d00e792247c89 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 5d686334f6929edc512ebbaca4c9ce3ba37606ea..474435e217591b6a8be9755c0fc8c46ab2b7b2c8 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 69216246275dfa05e852e513337eea1cb8d53e55..6d815f9930c9f1378c2f2672830bbfdebec6eb66 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";