xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-mdm9615.dtsi (revision d988aa8cd09653d9607788e9d1c98f0d7a55e731)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Device Tree Source for Qualcomm MDM9615 SoC
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (C) 2016 BayLibre, SAS.
6724ba675SRob Herring * Author : Neil Armstrong <narmstrong@baylibre.com>
7724ba675SRob Herring */
8724ba675SRob Herring
9724ba675SRob Herring/dts-v1/;
10724ba675SRob Herring
11724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
12724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-mdm9615.h>
13*d988aa8cSDmitry Baryshkov#include <dt-bindings/clock/qcom,lcc-msm8960.h>
14724ba675SRob Herring#include <dt-bindings/reset/qcom,gcc-mdm9615.h>
15724ba675SRob Herring#include <dt-bindings/mfd/qcom-rpm.h>
16724ba675SRob Herring#include <dt-bindings/soc/qcom,gsbi.h>
17724ba675SRob Herring
18724ba675SRob Herring/ {
19724ba675SRob Herring	#address-cells = <1>;
20724ba675SRob Herring	#size-cells = <1>;
21724ba675SRob Herring	model = "Qualcomm MDM9615";
22724ba675SRob Herring	compatible = "qcom,mdm9615";
23724ba675SRob Herring	interrupt-parent = <&intc>;
24724ba675SRob Herring
25724ba675SRob Herring	cpus {
26724ba675SRob Herring		#address-cells = <1>;
27724ba675SRob Herring		#size-cells = <0>;
28724ba675SRob Herring
29724ba675SRob Herring		cpu0: cpu@0 {
30724ba675SRob Herring			compatible = "arm,cortex-a5";
31724ba675SRob Herring			reg = <0>;
32724ba675SRob Herring			device_type = "cpu";
33724ba675SRob Herring			next-level-cache = <&L2>;
34724ba675SRob Herring		};
35724ba675SRob Herring	};
36724ba675SRob Herring
37724ba675SRob Herring	cpu-pmu {
38724ba675SRob Herring		compatible = "arm,cortex-a5-pmu";
39724ba675SRob Herring		interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
40724ba675SRob Herring	};
41724ba675SRob Herring
42724ba675SRob Herring	clocks {
43174b934cSDmitry Baryshkov		cxo_board: cxo_board {
44724ba675SRob Herring			compatible = "fixed-clock";
45724ba675SRob Herring			#clock-cells = <0>;
46724ba675SRob Herring			clock-frequency = <19200000>;
47724ba675SRob Herring		};
48724ba675SRob Herring	};
49724ba675SRob Herring
50724ba675SRob Herring	regulators {
51724ba675SRob Herring		vsdcc_fixed: vsdcc-regulator {
52724ba675SRob Herring			compatible = "regulator-fixed";
53724ba675SRob Herring			regulator-name = "SDCC Power";
54724ba675SRob Herring			regulator-min-microvolt = <2700000>;
55724ba675SRob Herring			regulator-max-microvolt = <2700000>;
56724ba675SRob Herring			regulator-always-on;
57724ba675SRob Herring		};
58724ba675SRob Herring	};
59724ba675SRob Herring
60724ba675SRob Herring	soc: soc {
61724ba675SRob Herring		#address-cells = <1>;
62724ba675SRob Herring		#size-cells = <1>;
63724ba675SRob Herring		ranges;
64724ba675SRob Herring		compatible = "simple-bus";
65724ba675SRob Herring
66724ba675SRob Herring		L2: cache-controller@2040000 {
67724ba675SRob Herring			compatible = "arm,pl310-cache";
68724ba675SRob Herring			reg = <0x02040000 0x1000>;
69724ba675SRob Herring			arm,data-latency = <2 2 0>;
70724ba675SRob Herring			cache-unified;
71724ba675SRob Herring			cache-level = <2>;
72724ba675SRob Herring		};
73724ba675SRob Herring
74724ba675SRob Herring		intc: interrupt-controller@2000000 {
75724ba675SRob Herring			compatible = "qcom,msm-qgic2";
76724ba675SRob Herring			interrupt-controller;
77724ba675SRob Herring			#interrupt-cells = <3>;
78724ba675SRob Herring			reg = <0x02000000 0x1000>,
79724ba675SRob Herring			      <0x02002000 0x1000>;
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		timer@200a000 {
83724ba675SRob Herring			compatible = "qcom,kpss-wdt-mdm9615", "qcom,kpss-timer",
84724ba675SRob Herring				     "qcom,msm-timer";
85724ba675SRob Herring			interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_EDGE_RISING)>,
86724ba675SRob Herring				     <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_EDGE_RISING)>,
87724ba675SRob Herring				     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_EDGE_RISING)>;
88724ba675SRob Herring			reg = <0x0200a000 0x100>;
89724ba675SRob Herring			clock-frequency = <27000000>;
90724ba675SRob Herring			cpu-offset = <0x80000>;
91724ba675SRob Herring		};
92724ba675SRob Herring
93724ba675SRob Herring		msmgpio: pinctrl@800000 {
94724ba675SRob Herring			compatible = "qcom,mdm9615-pinctrl";
95724ba675SRob Herring			gpio-controller;
96724ba675SRob Herring			gpio-ranges = <&msmgpio 0 0 88>;
97724ba675SRob Herring			#gpio-cells = <2>;
98724ba675SRob Herring			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
99724ba675SRob Herring			interrupt-controller;
100724ba675SRob Herring			#interrupt-cells = <2>;
101724ba675SRob Herring			reg = <0x800000 0x4000>;
102724ba675SRob Herring		};
103724ba675SRob Herring
104724ba675SRob Herring		gcc: clock-controller@900000 {
105724ba675SRob Herring			compatible = "qcom,gcc-mdm9615";
106724ba675SRob Herring			#clock-cells = <1>;
107724ba675SRob Herring			#power-domain-cells = <1>;
108724ba675SRob Herring			#reset-cells = <1>;
109724ba675SRob Herring			reg = <0x900000 0x4000>;
110*d988aa8cSDmitry Baryshkov			clocks = <&cxo_board>,
111*d988aa8cSDmitry Baryshkov				 <&lcc PLL4>;
112724ba675SRob Herring		};
113724ba675SRob Herring
114724ba675SRob Herring		lcc: clock-controller@28000000 {
115724ba675SRob Herring			compatible = "qcom,lcc-mdm9615";
116724ba675SRob Herring			reg = <0x28000000 0x1000>;
117724ba675SRob Herring			#clock-cells = <1>;
118724ba675SRob Herring			#reset-cells = <1>;
119174b934cSDmitry Baryshkov			clocks = <&cxo_board>,
120174b934cSDmitry Baryshkov				 <&gcc PLL4_VOTE>,
121174b934cSDmitry Baryshkov				 <0>,
122174b934cSDmitry Baryshkov				 <0>, <0>,
123174b934cSDmitry Baryshkov				 <0>, <0>,
124174b934cSDmitry Baryshkov				 <0>;
125174b934cSDmitry Baryshkov			clock-names = "cxo",
126174b934cSDmitry Baryshkov				      "pll4_vote",
127174b934cSDmitry Baryshkov				      "mi2s_codec_clk",
128174b934cSDmitry Baryshkov				      "codec_i2s_mic_codec_clk",
129174b934cSDmitry Baryshkov				      "spare_i2s_mic_codec_clk",
130174b934cSDmitry Baryshkov				      "codec_i2s_spkr_codec_clk",
131174b934cSDmitry Baryshkov				      "spare_i2s_spkr_codec_clk",
132174b934cSDmitry Baryshkov				      "pcm_codec_clk";
133724ba675SRob Herring		};
134724ba675SRob Herring
135724ba675SRob Herring		l2cc: clock-controller@2011000 {
136724ba675SRob Herring			compatible = "qcom,kpss-gcc-mdm9615", "qcom,kpss-gcc", "syscon";
137724ba675SRob Herring			reg = <0x02011000 0x1000>;
138724ba675SRob Herring		};
139724ba675SRob Herring
140724ba675SRob Herring		rng@1a500000 {
141724ba675SRob Herring			compatible = "qcom,prng";
142724ba675SRob Herring			reg = <0x1a500000 0x200>;
143724ba675SRob Herring			clocks = <&gcc PRNG_CLK>;
144724ba675SRob Herring			clock-names = "core";
145724ba675SRob Herring			assigned-clocks = <&gcc PRNG_CLK>;
146724ba675SRob Herring			assigned-clock-rates = <32000000>;
147724ba675SRob Herring		};
148724ba675SRob Herring
149724ba675SRob Herring		gsbi2: gsbi@16100000 {
150724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
151724ba675SRob Herring			cell-index = <2>;
152724ba675SRob Herring			reg = <0x16100000 0x100>;
153724ba675SRob Herring			clocks = <&gcc GSBI2_H_CLK>;
154724ba675SRob Herring			clock-names = "iface";
155724ba675SRob Herring			status = "disabled";
156724ba675SRob Herring			#address-cells = <1>;
157724ba675SRob Herring			#size-cells = <1>;
158724ba675SRob Herring			ranges;
159724ba675SRob Herring
160724ba675SRob Herring			gsbi2_i2c: i2c@16180000 {
161724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
162724ba675SRob Herring				#address-cells = <1>;
163724ba675SRob Herring				#size-cells = <0>;
164724ba675SRob Herring				reg = <0x16180000 0x1000>;
165724ba675SRob Herring				interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
166724ba675SRob Herring
167724ba675SRob Herring				clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
168724ba675SRob Herring				clock-names = "core", "iface";
169724ba675SRob Herring				status = "disabled";
170724ba675SRob Herring			};
171724ba675SRob Herring		};
172724ba675SRob Herring
173724ba675SRob Herring		gsbi3: gsbi@16200000 {
174724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
175724ba675SRob Herring			cell-index = <3>;
176724ba675SRob Herring			reg = <0x16200000 0x100>;
177724ba675SRob Herring			clocks = <&gcc GSBI3_H_CLK>;
178724ba675SRob Herring			clock-names = "iface";
179724ba675SRob Herring			status = "disabled";
180724ba675SRob Herring			#address-cells = <1>;
181724ba675SRob Herring			#size-cells = <1>;
182724ba675SRob Herring			ranges;
183724ba675SRob Herring
184724ba675SRob Herring			gsbi3_spi: spi@16280000 {
185724ba675SRob Herring				compatible = "qcom,spi-qup-v1.1.1";
186724ba675SRob Herring				#address-cells = <1>;
187724ba675SRob Herring				#size-cells = <0>;
188724ba675SRob Herring				reg = <0x16280000 0x1000>;
189724ba675SRob Herring				interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
190724ba675SRob Herring
191724ba675SRob Herring				clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>;
192724ba675SRob Herring				clock-names = "core", "iface";
193724ba675SRob Herring				status = "disabled";
194724ba675SRob Herring			};
195724ba675SRob Herring		};
196724ba675SRob Herring
197724ba675SRob Herring		gsbi4: gsbi@16300000 {
198724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
199724ba675SRob Herring			cell-index = <4>;
200724ba675SRob Herring			reg = <0x16300000 0x100>;
201724ba675SRob Herring			clocks = <&gcc GSBI4_H_CLK>;
202724ba675SRob Herring			clock-names = "iface";
203724ba675SRob Herring			status = "disabled";
204724ba675SRob Herring			#address-cells = <1>;
205724ba675SRob Herring			#size-cells = <1>;
206724ba675SRob Herring			ranges;
207724ba675SRob Herring
208724ba675SRob Herring			syscon-tcsr = <&tcsr>;
209724ba675SRob Herring
210724ba675SRob Herring			gsbi4_serial: serial@16340000 {
211724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
212724ba675SRob Herring				reg = <0x16340000 0x1000>,
213724ba675SRob Herring				      <0x16300000 0x1000>;
214724ba675SRob Herring				interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
215724ba675SRob Herring				clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
216724ba675SRob Herring				clock-names = "core", "iface";
217724ba675SRob Herring				status = "disabled";
218724ba675SRob Herring			};
219724ba675SRob Herring		};
220724ba675SRob Herring
221724ba675SRob Herring		gsbi5: gsbi@16400000 {
222724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
223724ba675SRob Herring			cell-index = <5>;
224724ba675SRob Herring			reg = <0x16400000 0x100>;
225724ba675SRob Herring			clocks = <&gcc GSBI5_H_CLK>;
226724ba675SRob Herring			clock-names = "iface";
227724ba675SRob Herring			status = "disabled";
228724ba675SRob Herring			#address-cells = <1>;
229724ba675SRob Herring			#size-cells = <1>;
230724ba675SRob Herring			ranges;
231724ba675SRob Herring
232724ba675SRob Herring			syscon-tcsr = <&tcsr>;
233724ba675SRob Herring
234724ba675SRob Herring			gsbi5_i2c: i2c@16480000 {
235724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
236724ba675SRob Herring				#address-cells = <1>;
237724ba675SRob Herring				#size-cells = <0>;
238724ba675SRob Herring				reg = <0x16480000 0x1000>;
239724ba675SRob Herring				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
240724ba675SRob Herring
241724ba675SRob Herring				/* QUP clock is not initialized, set rate */
242724ba675SRob Herring				assigned-clocks = <&gcc GSBI5_QUP_CLK>;
243724ba675SRob Herring				assigned-clock-rates = <24000000>;
244724ba675SRob Herring
245724ba675SRob Herring				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
246724ba675SRob Herring				clock-names = "core", "iface";
247724ba675SRob Herring				status = "disabled";
248724ba675SRob Herring			};
249724ba675SRob Herring
250724ba675SRob Herring			gsbi5_serial: serial@16440000 {
251724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
252724ba675SRob Herring				reg = <0x16440000 0x1000>,
253724ba675SRob Herring				      <0x16400000 0x1000>;
254724ba675SRob Herring				interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
255724ba675SRob Herring				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
256724ba675SRob Herring				clock-names = "core", "iface";
257724ba675SRob Herring				status = "disabled";
258724ba675SRob Herring			};
259724ba675SRob Herring		};
260724ba675SRob Herring
261724ba675SRob Herring		qcom,ssbi@500000 {
262724ba675SRob Herring			compatible = "qcom,ssbi";
263724ba675SRob Herring			reg = <0x500000 0x1000>;
264724ba675SRob Herring			qcom,controller-type = "pmic-arbiter";
265724ba675SRob Herring
266724ba675SRob Herring			pmicintc: pmic {
267724ba675SRob Herring				compatible = "qcom,pm8018", "qcom,pm8921";
268724ba675SRob Herring				interrupts = <GIC_PPI 226 IRQ_TYPE_LEVEL_HIGH>;
269724ba675SRob Herring				#interrupt-cells = <2>;
270724ba675SRob Herring				interrupt-controller;
271724ba675SRob Herring				#address-cells = <1>;
272724ba675SRob Herring				#size-cells = <0>;
273724ba675SRob Herring
274724ba675SRob Herring				pwrkey@1c {
275724ba675SRob Herring					compatible = "qcom,pm8018-pwrkey", "qcom,pm8921-pwrkey";
276724ba675SRob Herring					reg = <0x1c>;
277724ba675SRob Herring					interrupt-parent = <&pmicintc>;
278724ba675SRob Herring					interrupts = <50 IRQ_TYPE_EDGE_RISING>,
279724ba675SRob Herring						     <51 IRQ_TYPE_EDGE_RISING>;
280724ba675SRob Herring					debounce = <15625>;
281724ba675SRob Herring					pull-up;
282724ba675SRob Herring				};
283724ba675SRob Herring
284724ba675SRob Herring				pmicmpp: mpps@50 {
285724ba675SRob Herring					compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp";
286724ba675SRob Herring					interrupt-controller;
287724ba675SRob Herring					#interrupt-cells = <2>;
288724ba675SRob Herring					reg = <0x50>;
289724ba675SRob Herring					gpio-controller;
290724ba675SRob Herring					#gpio-cells = <2>;
291724ba675SRob Herring					gpio-ranges = <&pmicmpp 0 0 6>;
292724ba675SRob Herring				};
293724ba675SRob Herring
294724ba675SRob Herring				rtc@11d {
295724ba675SRob Herring					compatible = "qcom,pm8018-rtc", "qcom,pm8921-rtc";
296724ba675SRob Herring					interrupt-parent = <&pmicintc>;
297724ba675SRob Herring					interrupts = <39 IRQ_TYPE_EDGE_RISING>;
298724ba675SRob Herring					reg = <0x11d>;
299724ba675SRob Herring					allow-set-time;
300724ba675SRob Herring				};
301724ba675SRob Herring
302724ba675SRob Herring				pmicgpio: gpio@150 {
303724ba675SRob Herring					compatible = "qcom,pm8018-gpio", "qcom,ssbi-gpio";
304724ba675SRob Herring					reg = <0x150>;
305724ba675SRob Herring					interrupt-controller;
306724ba675SRob Herring					#interrupt-cells = <2>;
307724ba675SRob Herring					gpio-controller;
308724ba675SRob Herring					gpio-ranges = <&pmicgpio 0 0 6>;
309724ba675SRob Herring					#gpio-cells = <2>;
310724ba675SRob Herring				};
311724ba675SRob Herring			};
312724ba675SRob Herring		};
313724ba675SRob Herring
314724ba675SRob Herring		sdcc1bam: dma-controller@12182000 {
315724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
316724ba675SRob Herring			reg = <0x12182000 0x8000>;
317724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
318724ba675SRob Herring			clocks = <&gcc SDC1_H_CLK>;
319724ba675SRob Herring			clock-names = "bam_clk";
320724ba675SRob Herring			#dma-cells = <1>;
321724ba675SRob Herring			qcom,ee = <0>;
322724ba675SRob Herring		};
323724ba675SRob Herring
324724ba675SRob Herring		sdcc2bam: dma-controller@12142000 {
325724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
326724ba675SRob Herring			reg = <0x12142000 0x8000>;
327724ba675SRob Herring			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
328724ba675SRob Herring			clocks = <&gcc SDC2_H_CLK>;
329724ba675SRob Herring			clock-names = "bam_clk";
330724ba675SRob Herring			#dma-cells = <1>;
331724ba675SRob Herring			qcom,ee = <0>;
332724ba675SRob Herring		};
333724ba675SRob Herring
334724ba675SRob Herring		sdcc1: mmc@12180000 {
335724ba675SRob Herring			status = "disabled";
336724ba675SRob Herring			compatible = "arm,pl18x", "arm,primecell";
337724ba675SRob Herring			arm,primecell-periphid = <0x00051180>;
338724ba675SRob Herring			reg = <0x12180000 0x2000>;
339724ba675SRob Herring			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
340724ba675SRob Herring			clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
341724ba675SRob Herring			clock-names = "mclk", "apb_pclk";
342724ba675SRob Herring			bus-width = <8>;
343724ba675SRob Herring			max-frequency = <48000000>;
344724ba675SRob Herring			cap-sd-highspeed;
345724ba675SRob Herring			cap-mmc-highspeed;
346724ba675SRob Herring			vmmc-supply = <&vsdcc_fixed>;
347724ba675SRob Herring			dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
348724ba675SRob Herring			dma-names = "tx", "rx";
349724ba675SRob Herring			assigned-clocks = <&gcc SDC1_CLK>;
350724ba675SRob Herring			assigned-clock-rates = <400000>;
351724ba675SRob Herring		};
352724ba675SRob Herring
353724ba675SRob Herring		sdcc2: mmc@12140000 {
354724ba675SRob Herring			compatible = "arm,pl18x", "arm,primecell";
355724ba675SRob Herring			arm,primecell-periphid = <0x00051180>;
356724ba675SRob Herring			status = "disabled";
357724ba675SRob Herring			reg = <0x12140000 0x2000>;
358724ba675SRob Herring			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
359724ba675SRob Herring			clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
360724ba675SRob Herring			clock-names = "mclk", "apb_pclk";
361724ba675SRob Herring			bus-width = <4>;
362724ba675SRob Herring			cap-sd-highspeed;
363724ba675SRob Herring			cap-mmc-highspeed;
364724ba675SRob Herring			max-frequency = <48000000>;
365724ba675SRob Herring			no-1-8-v;
366724ba675SRob Herring			vmmc-supply = <&vsdcc_fixed>;
367724ba675SRob Herring			dmas = <&sdcc2bam 2>, <&sdcc2bam 1>;
368724ba675SRob Herring			dma-names = "tx", "rx";
369724ba675SRob Herring			assigned-clocks = <&gcc SDC2_CLK>;
370724ba675SRob Herring			assigned-clock-rates = <400000>;
371724ba675SRob Herring		};
372724ba675SRob Herring
373724ba675SRob Herring		tcsr: syscon@1a400000 {
374724ba675SRob Herring			compatible = "qcom,tcsr-mdm9615", "syscon";
375724ba675SRob Herring			reg = <0x1a400000 0x100>;
376724ba675SRob Herring		};
377724ba675SRob Herring
378724ba675SRob Herring		rpm: rpm@108000 {
379724ba675SRob Herring			compatible = "qcom,rpm-mdm9615";
380724ba675SRob Herring			reg = <0x108000 0x1000>;
381724ba675SRob Herring
382724ba675SRob Herring			qcom,ipc = <&l2cc 0x8 2>;
383724ba675SRob Herring
384724ba675SRob Herring			interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
385724ba675SRob Herring				     <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
386724ba675SRob Herring				     <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
387724ba675SRob Herring			interrupt-names = "ack", "err", "wakeup";
388724ba675SRob Herring
389724ba675SRob Herring			regulators {
390724ba675SRob Herring				compatible = "qcom,rpm-pm8018-regulators";
391724ba675SRob Herring
392724ba675SRob Herring				vin_lvs1-supply = <&pm8018_s3>;
393724ba675SRob Herring
394724ba675SRob Herring				vdd_l7-supply = <&pm8018_s4>;
395724ba675SRob Herring				vdd_l8-supply = <&pm8018_s3>;
396724ba675SRob Herring				vdd_l9_l10_l11_l12-supply = <&pm8018_s5>;
397724ba675SRob Herring
398724ba675SRob Herring				/* Buck SMPS */
399724ba675SRob Herring				pm8018_s1: s1 {
400724ba675SRob Herring					regulator-min-microvolt = <500000>;
401724ba675SRob Herring					regulator-max-microvolt = <1150000>;
402724ba675SRob Herring					qcom,switch-mode-frequency = <1600000>;
403724ba675SRob Herring					bias-pull-down;
404724ba675SRob Herring				};
405724ba675SRob Herring
406724ba675SRob Herring				pm8018_s2: s2 {
407724ba675SRob Herring					regulator-min-microvolt = <1225000>;
408724ba675SRob Herring					regulator-max-microvolt = <1300000>;
409724ba675SRob Herring					qcom,switch-mode-frequency = <1600000>;
410724ba675SRob Herring					bias-pull-down;
411724ba675SRob Herring				};
412724ba675SRob Herring
413724ba675SRob Herring				pm8018_s3: s3 {
414724ba675SRob Herring					regulator-always-on;
415724ba675SRob Herring					regulator-min-microvolt = <1800000>;
416724ba675SRob Herring					regulator-max-microvolt = <1800000>;
417724ba675SRob Herring					qcom,switch-mode-frequency = <1600000>;
418724ba675SRob Herring					bias-pull-down;
419724ba675SRob Herring				};
420724ba675SRob Herring
421724ba675SRob Herring				pm8018_s4: s4 {
422724ba675SRob Herring					regulator-min-microvolt = <2100000>;
423724ba675SRob Herring					regulator-max-microvolt = <2200000>;
424724ba675SRob Herring					qcom,switch-mode-frequency = <1600000>;
425724ba675SRob Herring					bias-pull-down;
426724ba675SRob Herring				};
427724ba675SRob Herring
428724ba675SRob Herring				pm8018_s5: s5 {
429724ba675SRob Herring					regulator-always-on;
430724ba675SRob Herring					regulator-min-microvolt = <1350000>;
431724ba675SRob Herring					regulator-max-microvolt = <1350000>;
432724ba675SRob Herring					qcom,switch-mode-frequency = <1600000>;
433724ba675SRob Herring					bias-pull-down;
434724ba675SRob Herring				};
435724ba675SRob Herring
436724ba675SRob Herring				/* PMOS LDO */
437724ba675SRob Herring				pm8018_l2: l2 {
438724ba675SRob Herring					regulator-always-on;
439724ba675SRob Herring					regulator-min-microvolt = <1800000>;
440724ba675SRob Herring					regulator-max-microvolt = <1800000>;
441724ba675SRob Herring					bias-pull-down;
442724ba675SRob Herring				};
443724ba675SRob Herring
444724ba675SRob Herring				pm8018_l3: l3 {
445724ba675SRob Herring					regulator-always-on;
446724ba675SRob Herring					regulator-min-microvolt = <1800000>;
447724ba675SRob Herring					regulator-max-microvolt = <1800000>;
448724ba675SRob Herring					bias-pull-down;
449724ba675SRob Herring				};
450724ba675SRob Herring
451724ba675SRob Herring				pm8018_l4: l4 {
452724ba675SRob Herring					regulator-min-microvolt = <3300000>;
453724ba675SRob Herring					regulator-max-microvolt = <3300000>;
454724ba675SRob Herring					bias-pull-down;
455724ba675SRob Herring				};
456724ba675SRob Herring
457724ba675SRob Herring				pm8018_l5: l5 {
458724ba675SRob Herring					regulator-min-microvolt = <2850000>;
459724ba675SRob Herring					regulator-max-microvolt = <2850000>;
460724ba675SRob Herring					bias-pull-down;
461724ba675SRob Herring				};
462724ba675SRob Herring
463724ba675SRob Herring				pm8018_l6: l6 {
464724ba675SRob Herring					regulator-min-microvolt = <1800000>;
465724ba675SRob Herring					regulator-max-microvolt = <2850000>;
466724ba675SRob Herring					bias-pull-down;
467724ba675SRob Herring				};
468724ba675SRob Herring
469724ba675SRob Herring				pm8018_l7: l7 {
470724ba675SRob Herring					regulator-min-microvolt = <1850000>;
471724ba675SRob Herring					regulator-max-microvolt = <1900000>;
472724ba675SRob Herring					bias-pull-down;
473724ba675SRob Herring				};
474724ba675SRob Herring
475724ba675SRob Herring				pm8018_l8: l8 {
476724ba675SRob Herring					regulator-min-microvolt = <1200000>;
477724ba675SRob Herring					regulator-max-microvolt = <1200000>;
478724ba675SRob Herring					bias-pull-down;
479724ba675SRob Herring				};
480724ba675SRob Herring
481724ba675SRob Herring				pm8018_l9: l9 {
482724ba675SRob Herring					regulator-min-microvolt = <750000>;
483724ba675SRob Herring					regulator-max-microvolt = <1150000>;
484724ba675SRob Herring					bias-pull-down;
485724ba675SRob Herring				};
486724ba675SRob Herring
487724ba675SRob Herring				pm8018_l10: l10 {
488724ba675SRob Herring					regulator-min-microvolt = <1050000>;
489724ba675SRob Herring					regulator-max-microvolt = <1050000>;
490724ba675SRob Herring					bias-pull-down;
491724ba675SRob Herring				};
492724ba675SRob Herring
493724ba675SRob Herring				pm8018_l11: l11 {
494724ba675SRob Herring					regulator-min-microvolt = <1050000>;
495724ba675SRob Herring					regulator-max-microvolt = <1050000>;
496724ba675SRob Herring					bias-pull-down;
497724ba675SRob Herring				};
498724ba675SRob Herring
499724ba675SRob Herring				pm8018_l12: l12 {
500724ba675SRob Herring					regulator-min-microvolt = <1050000>;
501724ba675SRob Herring					regulator-max-microvolt = <1050000>;
502724ba675SRob Herring					bias-pull-down;
503724ba675SRob Herring				};
504724ba675SRob Herring
505724ba675SRob Herring				pm8018_l13: l13 {
506724ba675SRob Herring					regulator-min-microvolt = <1850000>;
507724ba675SRob Herring					regulator-max-microvolt = <2950000>;
508724ba675SRob Herring					bias-pull-down;
509724ba675SRob Herring				};
510724ba675SRob Herring
511724ba675SRob Herring				pm8018_l14: l14 {
512724ba675SRob Herring					regulator-min-microvolt = <2850000>;
513724ba675SRob Herring					regulator-max-microvolt = <2850000>;
514724ba675SRob Herring					bias-pull-down;
515724ba675SRob Herring				};
516724ba675SRob Herring
517724ba675SRob Herring				/* Low Voltage Switch */
518724ba675SRob Herring				pm8018_lvs1: lvs1 {
519724ba675SRob Herring					bias-pull-down;
520724ba675SRob Herring				};
521724ba675SRob Herring			};
522724ba675SRob Herring		};
523724ba675SRob Herring	};
524724ba675SRob Herring};
525