diff options
author | Olof Johansson <olof@lixom.net> | 2016-07-05 01:24:30 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-07-05 01:24:30 -0400 |
commit | 87040f7c96614b0642c9df6a099638df81f4ec83 (patch) | |
tree | e64c19063f28d55ae77e1448fff2e8212f0a9676 | |
parent | b6aec2b94da44f59c1a0766df1c68ed8e0b54ec1 (diff) | |
parent | a6702798980812c666a5c32e6b12c24f72ef7245 (diff) |
Merge tag 'qcom-arm64-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64
Qualcomm ARM64 Updates for v4.8
* Enable assorted peripherals on APQ8016 SBC
* Update reserved memory on MSM8916
* Add MSM8996 peripheral support
* Add SCM firmware node on MSM8916
* Add PMU node on MSM8916
* Add PSCI cpuidle support on MSM8916
* tag 'qcom-arm64-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (22 commits)
arm64: dts: msm8996: add sdc2 support
arm64: dts: msm8996: add sdc2 pinctrl
arm64: dts: msm8996: add support to blsp2_spi5
arm64: dts: msm8996: add support to blsp2_spi5 pinctrl
arm64: dts: msm8996: add support to blsp1_spi0
arm64: dts: msm8996: add support to blsp1_spi0 pinctrl
arm64: dts: msm8996: add support to blsp2_i2c0
arm64: dts: msm8996: add support to blsp2_i2c0 pinctrl
arm64: dts: msm8996: add support to blsp2_i2c1
arm64: dts: msm8996: add blsp2_i2c1 pinctrl
arm64: dts: msm8996: add support to blsp1_i2c2 device
arm64: dts: msm8996: add blsp1_i2c2 pinctrl nodes.
arm64: dts: msm8996: add support blsp2_uart2
arm64: dts: msm8996: add blsp2_uart2 pinctrl nodes.
arm64: dts: msm8996: add blsp2_uart1 pinctrl
arm64: dts: msm8996: add msmgpio label
ARM: dts: msm8916: Update reserved-memory
arm64: dts: msm8916: Add SCM firmware node
arm64: dts: qcom: Add msm8916 PMU node
ARM64: dts: Add PSCI cpuidle support for MSM8916
...
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 78 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 303 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996.dtsi | 103 |
4 files changed, 496 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 205ef89b8ca0..18639bc0a506 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | |||
@@ -33,6 +33,10 @@ | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | soc { | 35 | soc { |
36 | dma@7884000 { | ||
37 | status = "okay"; | ||
38 | }; | ||
39 | |||
36 | serial@78af000 { | 40 | serial@78af000 { |
37 | label = "LS-UART0"; | 41 | label = "LS-UART0"; |
38 | status = "okay"; | 42 | status = "okay"; |
@@ -140,6 +144,18 @@ | |||
140 | status = "okay"; | 144 | status = "okay"; |
141 | }; | 145 | }; |
142 | 146 | ||
147 | sdhci@07864000 { | ||
148 | vmmc-supply = <&pm8916_l11>; | ||
149 | vqmmc-supply = <&pm8916_l12>; | ||
150 | |||
151 | pinctrl-names = "default", "sleep"; | ||
152 | pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; | ||
153 | pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; | ||
154 | |||
155 | cd-gpios = <&msmgpio 38 0x1>; | ||
156 | status = "okay"; | ||
157 | }; | ||
158 | |||
143 | usb@78d9000 { | 159 | usb@78d9000 { |
144 | extcon = <&usb_id>, <&usb_id>; | 160 | extcon = <&usb_id>, <&usb_id>; |
145 | status = "okay"; | 161 | status = "okay"; |
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 96812007850e..11bdc24cfc74 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi | |||
@@ -42,13 +42,48 @@ | |||
42 | #size-cells = <2>; | 42 | #size-cells = <2>; |
43 | ranges; | 43 | ranges; |
44 | 44 | ||
45 | reserve_aligned@86000000 { | 45 | tz-apps@86000000 { |
46 | reg = <0x0 0x86000000 0x0 0x0300000>; | 46 | reg = <0x0 0x86000000 0x0 0x300000>; |
47 | no-map; | 47 | no-map; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | smem_mem: smem_region@86300000 { | 50 | smem_mem: smem_region@86300000 { |
51 | reg = <0x0 0x86300000 0x0 0x0100000>; | 51 | reg = <0x0 0x86300000 0x0 0x100000>; |
52 | no-map; | ||
53 | }; | ||
54 | |||
55 | hypervisor@86400000 { | ||
56 | reg = <0x0 0x86400000 0x0 0x100000>; | ||
57 | no-map; | ||
58 | }; | ||
59 | |||
60 | tz@86500000 { | ||
61 | reg = <0x0 0x86500000 0x0 0x180000>; | ||
62 | no-map; | ||
63 | }; | ||
64 | |||
65 | reserved@8668000 { | ||
66 | reg = <0x0 0x86680000 0x0 0x80000>; | ||
67 | no-map; | ||
68 | }; | ||
69 | |||
70 | rmtfs@86700000 { | ||
71 | reg = <0x0 0x86700000 0x0 0xe0000>; | ||
72 | no-map; | ||
73 | }; | ||
74 | |||
75 | rfsa@867e00000 { | ||
76 | reg = <0x0 0x867e0000 0x0 0x20000>; | ||
77 | no-map; | ||
78 | }; | ||
79 | |||
80 | mpss@86800000 { | ||
81 | reg = <0x0 0x86800000 0x0 0x2b00000>; | ||
82 | no-map; | ||
83 | }; | ||
84 | |||
85 | wcnss@89300000 { | ||
86 | reg = <0x0 0x89300000 0x0 0x600000>; | ||
52 | no-map; | 87 | no-map; |
53 | }; | 88 | }; |
54 | }; | 89 | }; |
@@ -62,6 +97,8 @@ | |||
62 | compatible = "arm,cortex-a53", "arm,armv8"; | 97 | compatible = "arm,cortex-a53", "arm,armv8"; |
63 | reg = <0x0>; | 98 | reg = <0x0>; |
64 | next-level-cache = <&L2_0>; | 99 | next-level-cache = <&L2_0>; |
100 | enable-method = "psci"; | ||
101 | cpu-idle-states = <&CPU_SPC>; | ||
65 | }; | 102 | }; |
66 | 103 | ||
67 | CPU1: cpu@1 { | 104 | CPU1: cpu@1 { |
@@ -69,6 +106,8 @@ | |||
69 | compatible = "arm,cortex-a53", "arm,armv8"; | 106 | compatible = "arm,cortex-a53", "arm,armv8"; |
70 | reg = <0x1>; | 107 | reg = <0x1>; |
71 | next-level-cache = <&L2_0>; | 108 | next-level-cache = <&L2_0>; |
109 | enable-method = "psci"; | ||
110 | cpu-idle-states = <&CPU_SPC>; | ||
72 | }; | 111 | }; |
73 | 112 | ||
74 | CPU2: cpu@2 { | 113 | CPU2: cpu@2 { |
@@ -76,6 +115,8 @@ | |||
76 | compatible = "arm,cortex-a53", "arm,armv8"; | 115 | compatible = "arm,cortex-a53", "arm,armv8"; |
77 | reg = <0x2>; | 116 | reg = <0x2>; |
78 | next-level-cache = <&L2_0>; | 117 | next-level-cache = <&L2_0>; |
118 | enable-method = "psci"; | ||
119 | cpu-idle-states = <&CPU_SPC>; | ||
79 | }; | 120 | }; |
80 | 121 | ||
81 | CPU3: cpu@3 { | 122 | CPU3: cpu@3 { |
@@ -83,12 +124,35 @@ | |||
83 | compatible = "arm,cortex-a53", "arm,armv8"; | 124 | compatible = "arm,cortex-a53", "arm,armv8"; |
84 | reg = <0x3>; | 125 | reg = <0x3>; |
85 | next-level-cache = <&L2_0>; | 126 | next-level-cache = <&L2_0>; |
127 | enable-method = "psci"; | ||
128 | cpu-idle-states = <&CPU_SPC>; | ||
86 | }; | 129 | }; |
87 | 130 | ||
88 | L2_0: l2-cache { | 131 | L2_0: l2-cache { |
89 | compatible = "cache"; | 132 | compatible = "cache"; |
90 | cache-level = <2>; | 133 | cache-level = <2>; |
91 | }; | 134 | }; |
135 | |||
136 | idle-states { | ||
137 | CPU_SPC: spc { | ||
138 | compatible = "arm,idle-state"; | ||
139 | arm,psci-suspend-param = <0x40000002>; | ||
140 | entry-latency-us = <130>; | ||
141 | exit-latency-us = <150>; | ||
142 | min-residency-us = <2000>; | ||
143 | local-timer-stop; | ||
144 | }; | ||
145 | }; | ||
146 | }; | ||
147 | |||
148 | psci { | ||
149 | compatible = "arm,psci-1.0"; | ||
150 | method = "smc"; | ||
151 | }; | ||
152 | |||
153 | pmu { | ||
154 | compatible = "arm,armv8-pmuv3"; | ||
155 | interrupts = <GIC_PPI 7 GIC_CPU_MASK_SIMPLE(4)>; | ||
92 | }; | 156 | }; |
93 | 157 | ||
94 | timer { | 158 | timer { |
@@ -122,6 +186,14 @@ | |||
122 | hwlocks = <&tcsr_mutex 3>; | 186 | hwlocks = <&tcsr_mutex 3>; |
123 | }; | 187 | }; |
124 | 188 | ||
189 | firmware { | ||
190 | scm { | ||
191 | compatible = "qcom,scm"; | ||
192 | clocks = <&gcc GCC_CRYPTO_CLK>, <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>; | ||
193 | clock-names = "core", "bus", "iface"; | ||
194 | }; | ||
195 | }; | ||
196 | |||
125 | soc: soc { | 197 | soc: soc { |
126 | #address-cells = <1>; | 198 | #address-cells = <1>; |
127 | #size-cells = <1>; | 199 | #size-cells = <1>; |
diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi new file mode 100644 index 000000000000..659940434842 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | |||
@@ -0,0 +1,303 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2013-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 | &msmgpio { | ||
15 | |||
16 | blsp1_spi0_default: blsp1_spi0_default { | ||
17 | pinmux { | ||
18 | function = "blsp_spi1"; | ||
19 | pins = "gpio0", "gpio1", "gpio3"; | ||
20 | }; | ||
21 | pinmux_cs { | ||
22 | function = "gpio"; | ||
23 | pins = "gpio2"; | ||
24 | }; | ||
25 | pinconf { | ||
26 | pins = "gpio0", "gpio1", "gpio3"; | ||
27 | drive-strength = <12>; | ||
28 | bias-disable; | ||
29 | }; | ||
30 | pinconf_cs { | ||
31 | pins = "gpio2"; | ||
32 | drive-strength = <16>; | ||
33 | bias-disable; | ||
34 | output-high; | ||
35 | }; | ||
36 | }; | ||
37 | |||
38 | blsp1_spi0_sleep: blsp1_spi0_sleep { | ||
39 | pinmux { | ||
40 | function = "gpio"; | ||
41 | pins = "gpio0", "gpio1", "gpio2", "gpio3"; | ||
42 | }; | ||
43 | pinconf { | ||
44 | pins = "gpio0", "gpio1", "gpio2", "gpio3"; | ||
45 | drive-strength = <2>; | ||
46 | bias-pull-down; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | blsp1_i2c2_default: blsp1_i2c2_default { | ||
51 | pinmux { | ||
52 | function = "blsp_i2c3"; | ||
53 | pins = "gpio47", "gpio48"; | ||
54 | }; | ||
55 | pinconf { | ||
56 | pins = "gpio47", "gpio48"; | ||
57 | drive-strength = <16>; | ||
58 | bias-disable = <0>; | ||
59 | }; | ||
60 | }; | ||
61 | |||
62 | blsp1_i2c2_sleep: blsp1_i2c2_sleep { | ||
63 | pinmux { | ||
64 | function = "gpio"; | ||
65 | pins = "gpio47", "gpio48"; | ||
66 | }; | ||
67 | pinconf { | ||
68 | pins = "gpio47", "gpio48"; | ||
69 | drive-strength = <2>; | ||
70 | bias-disable = <0>; | ||
71 | }; | ||
72 | }; | ||
73 | |||
74 | blsp2_i2c0_default: blsp2_i2c0 { | ||
75 | pinmux { | ||
76 | function = "blsp_i2c7"; | ||
77 | pins = "gpio55", "gpio56"; | ||
78 | }; | ||
79 | pinconf { | ||
80 | pins = "gpio55", "gpio56"; | ||
81 | drive-strength = <16>; | ||
82 | bias-disable; | ||
83 | }; | ||
84 | }; | ||
85 | |||
86 | blsp2_i2c0_sleep: blsp2_i2c0_sleep { | ||
87 | pinmux { | ||
88 | function = "gpio"; | ||
89 | pins = "gpio55", "gpio56"; | ||
90 | }; | ||
91 | pinconf { | ||
92 | pins = "gpio55", "gpio56"; | ||
93 | drive-strength = <2>; | ||
94 | bias-disable; | ||
95 | }; | ||
96 | }; | ||
97 | |||
98 | blsp2_uart1_2pins_default: blsp2_uart1_2pins { | ||
99 | pinmux { | ||
100 | function = "blsp_uart8"; | ||
101 | pins = "gpio4", "gpio5"; | ||
102 | }; | ||
103 | pinconf { | ||
104 | pins = "gpio4", "gpio5"; | ||
105 | drive-strength = <16>; | ||
106 | bias-disable; | ||
107 | }; | ||
108 | }; | ||
109 | |||
110 | blsp2_uart1_2pins_sleep: blsp2_uart1_2pins_sleep { | ||
111 | pinmux { | ||
112 | function = "gpio"; | ||
113 | pins = "gpio4", "gpio5"; | ||
114 | }; | ||
115 | pinconf { | ||
116 | pins = "gpio4", "gpio5"; | ||
117 | drive-strength = <2>; | ||
118 | bias-disable; | ||
119 | }; | ||
120 | }; | ||
121 | |||
122 | blsp2_uart1_4pins_default: blsp2_uart1_4pins { | ||
123 | pinmux { | ||
124 | function = "blsp_uart8"; | ||
125 | pins = "gpio4", "gpio5", "gpio6", "gpio7"; | ||
126 | }; | ||
127 | |||
128 | pinconf { | ||
129 | pins = "gpio4", "gpio5", "gpio6", "gpio7"; | ||
130 | drive-strength = <16>; | ||
131 | bias-disable; | ||
132 | }; | ||
133 | }; | ||
134 | |||
135 | blsp2_uart1_4pins_sleep: blsp2_uart1_4pins_sleep { | ||
136 | pinmux { | ||
137 | function = "gpio"; | ||
138 | pins = "gpio4", "gpio5", "gpio6", "gpio7"; | ||
139 | }; | ||
140 | |||
141 | pinconf { | ||
142 | pins = "gpio4", "gpiio5", "gpio6", "gpio7"; | ||
143 | drive-strength = <2>; | ||
144 | bias-disable; | ||
145 | }; | ||
146 | }; | ||
147 | |||
148 | blsp2_i2c1_default: blsp2_i2c1 { | ||
149 | pinmux { | ||
150 | function = "blsp_i2c8"; | ||
151 | pins = "gpio6", "gpio7"; | ||
152 | }; | ||
153 | pinconf { | ||
154 | pins = "gpio6", "gpio7"; | ||
155 | drive-strength = <16>; | ||
156 | bias-disable; | ||
157 | }; | ||
158 | }; | ||
159 | |||
160 | blsp2_i2c1_sleep: blsp2_i2c1_sleep { | ||
161 | pinmux { | ||
162 | function = "gpio"; | ||
163 | pins = "gpio6", "gpio7"; | ||
164 | }; | ||
165 | pinconf { | ||
166 | pins = "gpio6", "gpio7"; | ||
167 | drive-strength = <2>; | ||
168 | bias-disable; | ||
169 | }; | ||
170 | }; | ||
171 | |||
172 | blsp2_uart2_2pins_default: blsp2_uart2_2pins { | ||
173 | pinmux { | ||
174 | function = "blsp_uart9"; | ||
175 | pins = "gpio49", "gpio50"; | ||
176 | }; | ||
177 | pinconf { | ||
178 | pins = "gpio49", "gpio50"; | ||
179 | drive-strength = <16>; | ||
180 | bias-disable; | ||
181 | }; | ||
182 | }; | ||
183 | |||
184 | blsp2_uart2_2pins_sleep: blsp2_uart2_2pins_sleep { | ||
185 | pinmux { | ||
186 | function = "gpio"; | ||
187 | pins = "gpio49", "gpio50"; | ||
188 | }; | ||
189 | pinconf { | ||
190 | pins = "gpio49", "gpio50"; | ||
191 | drive-strength = <2>; | ||
192 | bias-disable; | ||
193 | }; | ||
194 | }; | ||
195 | |||
196 | blsp2_uart2_4pins_default: blsp2_uart2_4pins { | ||
197 | pinmux { | ||
198 | function = "blsp_uart9"; | ||
199 | pins = "gpio49", "gpio50", "gpio51", "gpio52"; | ||
200 | }; | ||
201 | |||
202 | pinconf { | ||
203 | pins = "gpio49", "gpio50", "gpio51", "gpio52"; | ||
204 | drive-strength = <16>; | ||
205 | bias-disable; | ||
206 | }; | ||
207 | }; | ||
208 | |||
209 | blsp2_uart2_4pins_sleep: blsp2_uart2_4pins_sleep { | ||
210 | pinmux { | ||
211 | function = "gpio"; | ||
212 | pins = "gpio49", "gpio50", "gpio51", "gpio52"; | ||
213 | }; | ||
214 | |||
215 | pinconf { | ||
216 | pins = "gpio49", "gpio50", "gpio51", "gpio52"; | ||
217 | drive-strength = <2>; | ||
218 | bias-disable; | ||
219 | }; | ||
220 | }; | ||
221 | |||
222 | blsp2_spi5_default: blsp2_spi5_default { | ||
223 | pinmux { | ||
224 | function = "blsp_spi12"; | ||
225 | pins = "gpio85", "gpio86", "gpio88"; | ||
226 | }; | ||
227 | pinmux_cs { | ||
228 | function = "gpio"; | ||
229 | pins = "gpio87"; | ||
230 | }; | ||
231 | pinconf { | ||
232 | pins = "gpio85", "gpio86", "gpio88"; | ||
233 | drive-strength = <12>; | ||
234 | bias-disable; | ||
235 | }; | ||
236 | pinconf_cs { | ||
237 | pins = "gpio87"; | ||
238 | drive-strength = <16>; | ||
239 | bias-disable; | ||
240 | output-high; | ||
241 | }; | ||
242 | }; | ||
243 | |||
244 | blsp2_spi5_sleep: blsp2_spi5_sleep { | ||
245 | pinmux { | ||
246 | function = "gpio"; | ||
247 | pins = "gpio85", "gpio86", "gpio87", "gpio88"; | ||
248 | }; | ||
249 | pinconf { | ||
250 | pins = "gpio85", "gpio86", "gpio87", "gpio88"; | ||
251 | drive-strength = <2>; | ||
252 | bias-pull-down; | ||
253 | }; | ||
254 | }; | ||
255 | |||
256 | sdc2_clk_on: sdc2_clk_on { | ||
257 | config { | ||
258 | pins = "sdc2_clk"; | ||
259 | bias-disable; /* NO pull */ | ||
260 | drive-strength = <16>; /* 16 MA */ | ||
261 | }; | ||
262 | }; | ||
263 | |||
264 | sdc2_clk_off: sdc2_clk_off { | ||
265 | config { | ||
266 | pins = "sdc2_clk"; | ||
267 | bias-disable; /* NO pull */ | ||
268 | drive-strength = <2>; /* 2 MA */ | ||
269 | }; | ||
270 | }; | ||
271 | |||
272 | sdc2_cmd_on: sdc2_cmd_on { | ||
273 | config { | ||
274 | pins = "sdc2_cmd"; | ||
275 | bias-pull-up; /* pull up */ | ||
276 | drive-strength = <10>; /* 10 MA */ | ||
277 | }; | ||
278 | }; | ||
279 | |||
280 | sdc2_cmd_off: sdc2_cmd_off { | ||
281 | config { | ||
282 | pins = "sdc2_cmd"; | ||
283 | bias-pull-up; /* pull up */ | ||
284 | drive-strength = <2>; /* 2 MA */ | ||
285 | }; | ||
286 | }; | ||
287 | |||
288 | sdc2_data_on: sdc2_data_on { | ||
289 | config { | ||
290 | pins = "sdc2_data"; | ||
291 | bias-pull-up; /* pull up */ | ||
292 | drive-strength = <10>; /* 10 MA */ | ||
293 | }; | ||
294 | }; | ||
295 | |||
296 | sdc2_data_off: sdc2_data_off { | ||
297 | config { | ||
298 | pins = "sdc2_data"; | ||
299 | bias-pull-up; /* pull up */ | ||
300 | drive-strength = <2>; /* 2 MA */ | ||
301 | }; | ||
302 | }; | ||
303 | }; | ||
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 0506fb808c56..55ec3e8326b7 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi | |||
@@ -151,6 +151,36 @@ | |||
151 | reg = <0x300000 0x90000>; | 151 | reg = <0x300000 0x90000>; |
152 | }; | 152 | }; |
153 | 153 | ||
154 | blsp1_spi0: spi@07575000 { | ||
155 | compatible = "qcom,spi-qup-v2.2.1"; | ||
156 | reg = <0x07575000 0x600>; | ||
157 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; | ||
158 | clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, | ||
159 | <&gcc GCC_BLSP1_AHB_CLK>; | ||
160 | clock-names = "core", "iface"; | ||
161 | pinctrl-names = "default", "sleep"; | ||
162 | pinctrl-0 = <&blsp1_spi0_default>; | ||
163 | pinctrl-1 = <&blsp1_spi0_sleep>; | ||
164 | #address-cells = <1>; | ||
165 | #size-cells = <0>; | ||
166 | status = "disabled"; | ||
167 | }; | ||
168 | |||
169 | blsp2_i2c0: i2c@075b5000 { | ||
170 | compatible = "qcom,i2c-qup-v2.2.1"; | ||
171 | reg = <0x075b5000 0x1000>; | ||
172 | interrupts = <GIC_SPI 101 0>; | ||
173 | clocks = <&gcc GCC_BLSP2_AHB_CLK>, | ||
174 | <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>; | ||
175 | clock-names = "iface", "core"; | ||
176 | pinctrl-names = "default", "sleep"; | ||
177 | pinctrl-0 = <&blsp2_i2c0_default>; | ||
178 | pinctrl-1 = <&blsp2_i2c0_sleep>; | ||
179 | #address-cells = <1>; | ||
180 | #size-cells = <0>; | ||
181 | status = "disabled"; | ||
182 | }; | ||
183 | |||
154 | blsp2_uart1: serial@75b0000 { | 184 | blsp2_uart1: serial@75b0000 { |
155 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | 185 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
156 | reg = <0x75b0000 0x1000>; | 186 | reg = <0x75b0000 0x1000>; |
@@ -161,7 +191,77 @@ | |||
161 | status = "disabled"; | 191 | status = "disabled"; |
162 | }; | 192 | }; |
163 | 193 | ||
164 | pinctrl@1010000 { | 194 | blsp2_i2c1: i2c@075b6000 { |
195 | compatible = "qcom,i2c-qup-v2.2.1"; | ||
196 | reg = <0x075b6000 0x1000>; | ||
197 | interrupts = <GIC_SPI 102 0>; | ||
198 | clocks = <&gcc GCC_BLSP2_AHB_CLK>, | ||
199 | <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>; | ||
200 | clock-names = "iface", "core"; | ||
201 | pinctrl-names = "default", "sleep"; | ||
202 | pinctrl-0 = <&blsp2_i2c1_default>; | ||
203 | pinctrl-1 = <&blsp2_i2c1_sleep>; | ||
204 | #address-cells = <1>; | ||
205 | #size-cells = <0>; | ||
206 | status = "disabled"; | ||
207 | }; | ||
208 | |||
209 | blsp2_uart2: serial@75b1000 { | ||
210 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | ||
211 | reg = <0x075b1000 0x1000>; | ||
212 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; | ||
213 | clocks = <&gcc GCC_BLSP2_UART3_APPS_CLK>, | ||
214 | <&gcc GCC_BLSP2_AHB_CLK>; | ||
215 | clock-names = "core", "iface"; | ||
216 | status = "disabled"; | ||
217 | }; | ||
218 | |||
219 | blsp1_i2c2: i2c@07577000 { | ||
220 | compatible = "qcom,i2c-qup-v2.2.1"; | ||
221 | reg = <0x07577000 0x1000>; | ||
222 | interrupts = <GIC_SPI 97 0>; | ||
223 | clocks = <&gcc GCC_BLSP1_AHB_CLK>, | ||
224 | <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; | ||
225 | clock-names = "iface", "core"; | ||
226 | pinctrl-names = "default", "sleep"; | ||
227 | pinctrl-0 = <&blsp1_i2c2_default>; | ||
228 | pinctrl-1 = <&blsp1_i2c2_sleep>; | ||
229 | #address-cells = <1>; | ||
230 | #size-cells = <0>; | ||
231 | status = "disabled"; | ||
232 | }; | ||
233 | |||
234 | blsp2_spi5: spi@075ba000{ | ||
235 | compatible = "qcom,spi-qup-v2.2.1"; | ||
236 | reg = <0x075ba000 0x600>; | ||
237 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; | ||
238 | clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>, | ||
239 | <&gcc GCC_BLSP2_AHB_CLK>; | ||
240 | clock-names = "core", "iface"; | ||
241 | pinctrl-names = "default", "sleep"; | ||
242 | pinctrl-0 = <&blsp2_spi5_default>; | ||
243 | pinctrl-1 = <&blsp2_spi5_sleep>; | ||
244 | #address-cells = <1>; | ||
245 | #size-cells = <0>; | ||
246 | status = "disabled"; | ||
247 | }; | ||
248 | |||
249 | sdhc2: sdhci@74a4900 { | ||
250 | status = "disabled"; | ||
251 | compatible = "qcom,sdhci-msm-v4"; | ||
252 | reg = <0x74a4900 0x314>, <0x74a4000 0x800>; | ||
253 | reg-names = "hc_mem", "core_mem"; | ||
254 | |||
255 | interrupts = <0 125 0>, <0 221 0>; | ||
256 | interrupt-names = "hc_irq", "pwr_irq"; | ||
257 | |||
258 | clock-names = "iface", "core"; | ||
259 | clocks = <&gcc GCC_SDCC2_AHB_CLK>, | ||
260 | <&gcc GCC_SDCC2_APPS_CLK>; | ||
261 | bus-width = <4>; | ||
262 | }; | ||
263 | |||
264 | msmgpio: pinctrl@1010000 { | ||
165 | compatible = "qcom,msm8996-pinctrl"; | 265 | compatible = "qcom,msm8996-pinctrl"; |
166 | reg = <0x01010000 0x300000>; | 266 | reg = <0x01010000 0x300000>; |
167 | interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; | 267 | interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; |
@@ -267,3 +367,4 @@ | |||
267 | }; | 367 | }; |
268 | }; | 368 | }; |
269 | }; | 369 | }; |
370 | #include "msm8996-pins.dtsi" | ||