ARM: dts: apq8064: add support to gsbi1 uart
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 12 Apr 2016 09:33:51 +0000 (10:33 +0100)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 20:03:10 +0000 (15:03 -0500)
This patch adds support to gsbi1 uart and its pinctrls nodes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-pins.dtsi
arch/arm/boot/dts/qcom-apq8064.dtsi

index b57c59d5bc00b6a48eaa844d630ff094fcfbc7a3..8bb5e5f3d07acbf0bf3206a07aba4f3f42474692 100644 (file)
                };
        };
 
+       gsbi1_uart_2pins: gsbi1_uart_2pins {
+               mux {
+                       pins = "gpio18", "gpio19";
+                       function = "gsbi1";
+               };
+       };
+
+       gsbi1_uart_4pins: gsbi1_uart_4pins {
+               mux {
+                       pins = "gpio18", "gpio19", "gpio20", "gpio21";
+                       function = "gsbi1";
+               };
+       };
+
        i2c2_pins: i2c2 {
                mux {
                        pins = "gpio24", "gpio25";
index 18637c06566c3109e3cf744a4c361c1ce2422b6c..407a072dea69ab0728a56c4e9df0db852a55ca9a 100644 (file)
 
                        syscon-tcsr = <&tcsr>;
 
+                       gsbi1_serial: serial@12450000 {
+                               compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+                               reg = <0x12450000 0x100>,
+                                     <0x12400000 0x03>;
+                               interrupts = <0 193 0x0>;
+                               clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
+                               clock-names = "core", "iface";
+                               status = "disabled";
+                       };
+
                        gsbi1_i2c: i2c@12460000 {
                                compatible = "qcom,i2c-qup-v1.1.1";
                                pinctrl-0 = <&i2c1_pins>;