diff options
author | Georgi Djakov <gdjakov@mm-sol.com> | 2014-09-03 12:50:31 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-11 12:14:00 -0400 |
commit | 66c04e30f4a6e6ed998a6c154a6c45b3cd5b3fde (patch) | |
tree | 0abeea5f5fed13b3349f28d1ace99d9de231c0c0 | |
parent | 94ae991d63805b39baffacee0e8f25ddce0e83bc (diff) |
ARM: dts: qcom: Add initial IFC6540 board device tree
Add basic support for the IFC6540 single-board computer boards, that are
based on the APQ8084 SoC. This patch adds the initial device tree and the
neccessary nodes required for enabling the serial port and eMMC.
Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | 23 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8084.dtsi | 23 |
3 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index a097a042bdb3..aaa1a685d319 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -341,6 +341,7 @@ dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb | |||
341 | dtb-$(CONFIG_ARCH_QCOM) += \ | 341 | dtb-$(CONFIG_ARCH_QCOM) += \ |
342 | qcom-apq8064-ifc6410.dtb \ | 342 | qcom-apq8064-ifc6410.dtb \ |
343 | qcom-apq8074-dragonboard.dtb \ | 343 | qcom-apq8074-dragonboard.dtb \ |
344 | qcom-apq8084-ifc6540.dtb \ | ||
344 | qcom-apq8084-mtp.dtb \ | 345 | qcom-apq8084-mtp.dtb \ |
345 | qcom-ipq8064-ap148.dtb \ | 346 | qcom-ipq8064-ap148.dtb \ |
346 | qcom-msm8660-surf.dtb \ | 347 | qcom-msm8660-surf.dtb \ |
diff --git a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts new file mode 100644 index 000000000000..c9ff10821ad9 --- /dev/null +++ b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | |||
@@ -0,0 +1,23 @@ | |||
1 | #include "qcom-apq8084.dtsi" | ||
2 | |||
3 | / { | ||
4 | model = "Qualcomm APQ8084/IFC6540"; | ||
5 | compatible = "qcom,apq8084-ifc6540", "qcom,apq8084"; | ||
6 | |||
7 | soc { | ||
8 | serial@f995e000 { | ||
9 | status = "okay"; | ||
10 | }; | ||
11 | |||
12 | sdhci@f9824900 { | ||
13 | bus-width = <8>; | ||
14 | non-removable; | ||
15 | status = "okay"; | ||
16 | }; | ||
17 | |||
18 | sdhci@f98a4900 { | ||
19 | cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>; | ||
20 | bus-width = <4>; | ||
21 | }; | ||
22 | }; | ||
23 | }; | ||
diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index b5b156e328a0..b9ac63cfe9e6 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi | |||
@@ -3,6 +3,7 @@ | |||
3 | #include "skeleton.dtsi" | 3 | #include "skeleton.dtsi" |
4 | 4 | ||
5 | #include <dt-bindings/clock/qcom,gcc-apq8084.h> | 5 | #include <dt-bindings/clock/qcom,gcc-apq8084.h> |
6 | #include <dt-bindings/gpio/gpio.h> | ||
6 | 7 | ||
7 | / { | 8 | / { |
8 | model = "Qualcomm APQ 8084"; | 9 | model = "Qualcomm APQ 8084"; |
@@ -193,5 +194,27 @@ | |||
193 | clock-names = "core", "iface"; | 194 | clock-names = "core", "iface"; |
194 | status = "disabled"; | 195 | status = "disabled"; |
195 | }; | 196 | }; |
197 | |||
198 | sdhci@f9824900 { | ||
199 | compatible = "qcom,sdhci-msm-v4"; | ||
200 | reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; | ||
201 | reg-names = "hc_mem", "core_mem"; | ||
202 | interrupts = <0 123 0>, <0 138 0>; | ||
203 | interrupt-names = "hc_irq", "pwr_irq"; | ||
204 | clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; | ||
205 | clock-names = "core", "iface"; | ||
206 | status = "disabled"; | ||
207 | }; | ||
208 | |||
209 | sdhci@f98a4900 { | ||
210 | compatible = "qcom,sdhci-msm-v4"; | ||
211 | reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; | ||
212 | reg-names = "hc_mem", "core_mem"; | ||
213 | interrupts = <0 125 0>, <0 221 0>; | ||
214 | interrupt-names = "hc_irq", "pwr_irq"; | ||
215 | clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>; | ||
216 | clock-names = "core", "iface"; | ||
217 | status = "disabled"; | ||
218 | }; | ||
196 | }; | 219 | }; |
197 | }; | 220 | }; |