diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-06-21 13:22:42 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-08-25 11:28:38 -0400 |
commit | 61e55e56461493c08ab07d5b45db5ad1a044aebd (patch) | |
tree | 43a933b66ad61084edd70d8bea3d0510be1145b6 | |
parent | 7422ee8e549b48a4acfa1df96238a1d128ca27e3 (diff) |
arm64: dts: db820c: add basic board support
This patch adds apq8096 db820c basic support with serial port.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/Makefile | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 21 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 34 |
3 files changed, 56 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index fa1f661ccccf..5dd05de5619b 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile | |||
@@ -1,5 +1,6 @@ | |||
1 | dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb msm8916-mtp.dtb | 1 | dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb msm8916-mtp.dtb |
2 | dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb | 2 | dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb |
3 | dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb | ||
3 | 4 | ||
4 | always := $(dtb-y) | 5 | always := $(dtb-y) |
5 | subdir-y := $(dts-dirs) | 6 | subdir-y := $(dts-dirs) |
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts new file mode 100644 index 000000000000..230e9c8484ac --- /dev/null +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 and | ||
6 | * only version 2 as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | #include "apq8096-db820c.dtsi" | ||
17 | |||
18 | / { | ||
19 | model = "Qualcomm Technologies, Inc. DB820c"; | ||
20 | compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc"; | ||
21 | }; | ||
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi new file mode 100644 index 000000000000..39c507084abf --- /dev/null +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 and | ||
6 | * only version 2 as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #include "msm8996.dtsi" | ||
15 | |||
16 | / { | ||
17 | aliases { | ||
18 | serial0 = &blsp2_uart1; | ||
19 | }; | ||
20 | |||
21 | chosen { | ||
22 | stdout-path = "serial0:115200n8"; | ||
23 | }; | ||
24 | |||
25 | soc { | ||
26 | serial@75b0000 { | ||
27 | label = "LS-UART1"; | ||
28 | status = "okay"; | ||
29 | pinctrl-names = "default", "sleep"; | ||
30 | pinctrl-0 = <&blsp2_uart1_2pins_default>; | ||
31 | pinctrl-1 = <&blsp2_uart1_2pins_sleep>; | ||
32 | }; | ||
33 | }; | ||
34 | }; | ||