diff options
author | Kumar Gala <galak@codeaurora.org> | 2014-05-28 13:01:29 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-05-28 14:31:45 -0400 |
commit | ba08220aa81e757491a3665c28df7eaa954128dc (patch) | |
tree | 8cd84ae11f6d77c1aec1c66d2a0dab7a89185eaf /arch/arm/boot | |
parent | 08f9234ad6b0b8bc51046346eabf5b92e631e62a (diff) |
ARM: dts: qcom: Update msm8974/apq8074 device trees
* Move SoC peripherals into an SoC container node
* Move serial enabling into board file (qcom-apq8074-dragonboard.dts)
* Move spi pinctrl into board file
* Cleanup cpu node to match binding spec, enable-method and compatible
should be per cpu, not part of the container
* Drop interrupts property from l2-cache node as its not part of the
binding spec
* Move timer node out of SoC container
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 28 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974.dtsi | 49 |
2 files changed, 45 insertions, 32 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts index 92320c4a7668..b4dfb01fe6fb 100644 --- a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts +++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | |||
@@ -4,7 +4,11 @@ | |||
4 | model = "Qualcomm APQ8074 Dragonboard"; | 4 | model = "Qualcomm APQ8074 Dragonboard"; |
5 | compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; | 5 | compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; |
6 | 6 | ||
7 | soc: soc { | 7 | soc { |
8 | serial@f991e000 { | ||
9 | status = "ok"; | ||
10 | }; | ||
11 | |||
8 | sdhci@f9824900 { | 12 | sdhci@f9824900 { |
9 | bus-width = <8>; | 13 | bus-width = <8>; |
10 | non-removable; | 14 | non-removable; |
@@ -15,5 +19,27 @@ | |||
15 | cd-gpios = <&msmgpio 62 0x1>; | 19 | cd-gpios = <&msmgpio 62 0x1>; |
16 | bus-width = <4>; | 20 | bus-width = <4>; |
17 | }; | 21 | }; |
22 | |||
23 | |||
24 | pinctrl@fd510000 { | ||
25 | spi8_default: spi8_default { | ||
26 | mosi { | ||
27 | pins = "gpio45"; | ||
28 | function = "blsp_spi8"; | ||
29 | }; | ||
30 | miso { | ||
31 | pins = "gpio46"; | ||
32 | function = "blsp_spi8"; | ||
33 | }; | ||
34 | cs { | ||
35 | pins = "gpio47"; | ||
36 | function = "blsp_spi8"; | ||
37 | }; | ||
38 | clk { | ||
39 | pins = "gpio48"; | ||
40 | function = "blsp_spi8"; | ||
41 | }; | ||
42 | }; | ||
43 | }; | ||
18 | }; | 44 | }; |
19 | }; | 45 | }; |
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index c530a33a10a0..69dca2aca25a 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi | |||
@@ -13,10 +13,10 @@ | |||
13 | #address-cells = <1>; | 13 | #address-cells = <1>; |
14 | #size-cells = <0>; | 14 | #size-cells = <0>; |
15 | interrupts = <1 9 0xf04>; | 15 | interrupts = <1 9 0xf04>; |
16 | compatible = "qcom,krait"; | ||
17 | enable-method = "qcom,kpss-acc-v2"; | ||
18 | 16 | ||
19 | cpu@0 { | 17 | cpu@0 { |
18 | compatible = "qcom,krait"; | ||
19 | enable-method = "qcom,kpss-acc-v2"; | ||
20 | device_type = "cpu"; | 20 | device_type = "cpu"; |
21 | reg = <0>; | 21 | reg = <0>; |
22 | next-level-cache = <&L2>; | 22 | next-level-cache = <&L2>; |
@@ -24,6 +24,8 @@ | |||
24 | }; | 24 | }; |
25 | 25 | ||
26 | cpu@1 { | 26 | cpu@1 { |
27 | compatible = "qcom,krait"; | ||
28 | enable-method = "qcom,kpss-acc-v2"; | ||
27 | device_type = "cpu"; | 29 | device_type = "cpu"; |
28 | reg = <1>; | 30 | reg = <1>; |
29 | next-level-cache = <&L2>; | 31 | next-level-cache = <&L2>; |
@@ -31,6 +33,8 @@ | |||
31 | }; | 33 | }; |
32 | 34 | ||
33 | cpu@2 { | 35 | cpu@2 { |
36 | compatible = "qcom,krait"; | ||
37 | enable-method = "qcom,kpss-acc-v2"; | ||
34 | device_type = "cpu"; | 38 | device_type = "cpu"; |
35 | reg = <2>; | 39 | reg = <2>; |
36 | next-level-cache = <&L2>; | 40 | next-level-cache = <&L2>; |
@@ -38,6 +42,8 @@ | |||
38 | }; | 42 | }; |
39 | 43 | ||
40 | cpu@3 { | 44 | cpu@3 { |
45 | compatible = "qcom,krait"; | ||
46 | enable-method = "qcom,kpss-acc-v2"; | ||
41 | device_type = "cpu"; | 47 | device_type = "cpu"; |
42 | reg = <3>; | 48 | reg = <3>; |
43 | next-level-cache = <&L2>; | 49 | next-level-cache = <&L2>; |
@@ -47,7 +53,6 @@ | |||
47 | L2: l2-cache { | 53 | L2: l2-cache { |
48 | compatible = "cache"; | 54 | compatible = "cache"; |
49 | cache-level = <2>; | 55 | cache-level = <2>; |
50 | interrupts = <0 2 0x4>; | ||
51 | qcom,saw = <&saw_l2>; | 56 | qcom,saw = <&saw_l2>; |
52 | }; | 57 | }; |
53 | }; | 58 | }; |
@@ -57,6 +62,15 @@ | |||
57 | interrupts = <1 7 0xf04>; | 62 | interrupts = <1 7 0xf04>; |
58 | }; | 63 | }; |
59 | 64 | ||
65 | timer { | ||
66 | compatible = "arm,armv7-timer"; | ||
67 | interrupts = <1 2 0xf08>, | ||
68 | <1 3 0xf08>, | ||
69 | <1 4 0xf08>, | ||
70 | <1 1 0xf08>; | ||
71 | clock-frequency = <19200000>; | ||
72 | }; | ||
73 | |||
60 | soc: soc { | 74 | soc: soc { |
61 | #address-cells = <1>; | 75 | #address-cells = <1>; |
62 | #size-cells = <1>; | 76 | #size-cells = <1>; |
@@ -71,15 +85,6 @@ | |||
71 | <0xf9002000 0x1000>; | 85 | <0xf9002000 0x1000>; |
72 | }; | 86 | }; |
73 | 87 | ||
74 | timer { | ||
75 | compatible = "arm,armv7-timer"; | ||
76 | interrupts = <1 2 0xf08>, | ||
77 | <1 3 0xf08>, | ||
78 | <1 4 0xf08>, | ||
79 | <1 1 0xf08>; | ||
80 | clock-frequency = <19200000>; | ||
81 | }; | ||
82 | |||
83 | timer@f9020000 { | 88 | timer@f9020000 { |
84 | #address-cells = <1>; | 89 | #address-cells = <1>; |
85 | #size-cells = <1>; | 90 | #size-cells = <1>; |
@@ -190,6 +195,7 @@ | |||
190 | interrupts = <0 108 0x0>; | 195 | interrupts = <0 108 0x0>; |
191 | clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; | 196 | clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; |
192 | clock-names = "core", "iface"; | 197 | clock-names = "core", "iface"; |
198 | status = "disabled"; | ||
193 | }; | 199 | }; |
194 | 200 | ||
195 | sdhci@f9824900 { | 201 | sdhci@f9824900 { |
@@ -229,25 +235,6 @@ | |||
229 | interrupt-controller; | 235 | interrupt-controller; |
230 | #interrupt-cells = <2>; | 236 | #interrupt-cells = <2>; |
231 | interrupts = <0 208 0>; | 237 | interrupts = <0 208 0>; |
232 | |||
233 | spi8_default: spi8_default { | ||
234 | mosi { | ||
235 | pins = "gpio45"; | ||
236 | function = "blsp_spi8"; | ||
237 | }; | ||
238 | miso { | ||
239 | pins = "gpio46"; | ||
240 | function = "blsp_spi8"; | ||
241 | }; | ||
242 | cs { | ||
243 | pins = "gpio47"; | ||
244 | function = "blsp_spi8"; | ||
245 | }; | ||
246 | clk { | ||
247 | pins = "gpio48"; | ||
248 | function = "blsp_spi8"; | ||
249 | }; | ||
250 | }; | ||
251 | }; | 238 | }; |
252 | }; | 239 | }; |
253 | }; | 240 | }; |