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