ARM: dts: db600c: add board support with serial
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 12 Apr 2016 09:33:53 +0000 (10:33 +0100)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 20:03:11 +0000 (15:03 -0500)
This patch adds support to DB600c with basic serial ports.
DB600c is based on APQ8064.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts [new file with mode: 0644]

index 15ed122..8904a0a 100644 (file)
@@ -539,6 +539,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
 dtb-$(CONFIG_ARCH_PRIMA2) += \
        prima2-evb.dtb
 dtb-$(CONFIG_ARCH_QCOM) += \
+       qcom-apq8064-arrow-db600c.dtb \
        qcom-apq8064-cm-qs600.dtb \
        qcom-apq8064-ifc6410.dtb \
        qcom-apq8064-sony-xperia-yuga.dtb \
diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
new file mode 100644 (file)
index 0000000..57d4500
--- /dev/null
@@ -0,0 +1,36 @@
+#include "qcom-apq8064-v2.0.dtsi"
+
+/ {
+       model = "Arrow Electronics, APQ8064 DB600c";
+       compatible = "arrow,db600c", "qcom,apq8064";
+
+       aliases {
+               serial0 = &gsbi7_serial;
+               serial1 = &gsbi1_serial;
+       };
+
+       soc {
+               gsbi@12440000 {
+                       status = "okay";
+                       qcom,mode = <GSBI_PROT_UART_W_FC>;
+                       serial@12450000 {
+                               label = "LS-UART1";
+                               status = "okay";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&gsbi1_uart_4pins>;
+                       };
+               };
+
+               /* DEBUG UART  */
+               gsbi@16600000 {
+                       status = "okay";
+                       qcom,mode = <GSBI_PROT_I2C_UART>;
+                       serial@16640000 {
+                               label = "LS-UART0";
+                               status = "okay";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&gsbi7_uart_2pins>;
+                       };
+               };
+       };
+};