xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-sdx55-telit-fn980-tlb.dts (revision 06d07429858317ded2db7986113a9e0129cd599b)
1724ba675SRob Herring// SPDX-License-Identifier: BSD-3-Clause
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (c) 2021, Linaro Ltd.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
9724ba675SRob Herring#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10724ba675SRob Herring#include "qcom-sdx55.dtsi"
11*455a4c46SDmitry Baryshkov#include "pmx55.dtsi"
12724ba675SRob Herring
13724ba675SRob Herring/ {
14724ba675SRob Herring	model = "Telit FN980 TLB";
15724ba675SRob Herring	compatible = "qcom,sdx55-telit-fn980-tlb", "qcom,sdx55";
16724ba675SRob Herring	qcom,board-id = <0xb010008 0x0>;
17724ba675SRob Herring
18724ba675SRob Herring	aliases {
19724ba675SRob Herring		serial0 = &blsp1_uart3;
20724ba675SRob Herring	};
21724ba675SRob Herring
22724ba675SRob Herring	chosen {
23724ba675SRob Herring		stdout-path = "serial0:921600n8";
24724ba675SRob Herring	};
25724ba675SRob Herring
26724ba675SRob Herring	reserved-memory {
27724ba675SRob Herring		#address-cells = <1>;
28724ba675SRob Herring		#size-cells = <1>;
29724ba675SRob Herring		ranges;
30724ba675SRob Herring
31724ba675SRob Herring		mpss_debug_mem: memory@8ef00000 {
32724ba675SRob Herring			no-map;
33724ba675SRob Herring			reg = <0x8ef00000 0x800000>;
34724ba675SRob Herring		};
35724ba675SRob Herring
36724ba675SRob Herring		ipa_fw_mem: memory@8fced000 {
37724ba675SRob Herring			no-map;
38724ba675SRob Herring			reg = <0x8fced000 0x10000>;
39724ba675SRob Herring		};
40724ba675SRob Herring
41724ba675SRob Herring		mpss_adsp_mem: memory@90800000 {
42724ba675SRob Herring			no-map;
43724ba675SRob Herring			reg = <0x90800000 0xf800000>;
44724ba675SRob Herring		};
45724ba675SRob Herring	};
46724ba675SRob Herring
47724ba675SRob Herring	vph_pwr: vph-pwr-regulator {
48724ba675SRob Herring		compatible = "regulator-fixed";
49724ba675SRob Herring		regulator-name = "vph_pwr";
50724ba675SRob Herring		regulator-min-microvolt = <3700000>;
51724ba675SRob Herring		regulator-max-microvolt = <3700000>;
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	vreg_bob_3p3: pmx55-bob {
55724ba675SRob Herring		compatible = "regulator-fixed";
56724ba675SRob Herring		regulator-name = "vreg_bob_3p3";
57724ba675SRob Herring		regulator-min-microvolt = <3300000>;
58724ba675SRob Herring		regulator-max-microvolt = <3300000>;
59724ba675SRob Herring
60724ba675SRob Herring		regulator-always-on;
61724ba675SRob Herring		regulator-boot-on;
62724ba675SRob Herring
63724ba675SRob Herring		vin-supply = <&vph_pwr>;
64724ba675SRob Herring	};
65724ba675SRob Herring
66724ba675SRob Herring	vreg_s7e_mx_0p752: pmx55-s7e {
67724ba675SRob Herring		compatible = "regulator-fixed";
68724ba675SRob Herring		regulator-name = "vreg_s7e_mx_0p752";
69724ba675SRob Herring		regulator-min-microvolt = <752000>;
70724ba675SRob Herring		regulator-max-microvolt = <752000>;
71724ba675SRob Herring
72724ba675SRob Herring		vin-supply = <&vph_pwr>;
73724ba675SRob Herring	};
74724ba675SRob Herring
75724ba675SRob Herring	vreg_sd_vdd: sd-vdd {
76724ba675SRob Herring		compatible = "regulator-fixed";
77724ba675SRob Herring		regulator-name = "vreg_sd_vdd";
78724ba675SRob Herring		regulator-min-microvolt = <2950000>;
79724ba675SRob Herring		regulator-max-microvolt = <2950000>;
80724ba675SRob Herring
81724ba675SRob Herring		vin-supply = <&vreg_vddpx_2>;
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	vreg_vddpx_2: vddpx-2 {
85724ba675SRob Herring		compatible = "regulator-gpio";
86724ba675SRob Herring		regulator-name = "vreg_vddpx_2";
87724ba675SRob Herring		regulator-min-microvolt = <1800000>;
88724ba675SRob Herring		regulator-max-microvolt = <2850000>;
89724ba675SRob Herring		enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>;
90724ba675SRob Herring		gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
91724ba675SRob Herring		states = <1800000 0>, <2850000 1>;
92724ba675SRob Herring		startup-delay-us = <200000>;
93724ba675SRob Herring		enable-active-high;
94724ba675SRob Herring		regulator-boot-on;
95724ba675SRob Herring
96724ba675SRob Herring		vin-supply = <&vph_pwr>;
97724ba675SRob Herring	};
98724ba675SRob Herring};
99724ba675SRob Herring
100724ba675SRob Herring&apps_rsc {
101724ba675SRob Herring	regulators-0 {
102724ba675SRob Herring		compatible = "qcom,pmx55-rpmh-regulators";
103724ba675SRob Herring		qcom,pmic-id = "e";
104724ba675SRob Herring
105724ba675SRob Herring		vdd-s1-supply = <&vph_pwr>;
106724ba675SRob Herring		vdd-s2-supply = <&vph_pwr>;
107724ba675SRob Herring		vdd-s3-supply = <&vph_pwr>;
108724ba675SRob Herring		vdd-s4-supply = <&vph_pwr>;
109724ba675SRob Herring		vdd-s5-supply = <&vph_pwr>;
110724ba675SRob Herring		vdd-s6-supply = <&vph_pwr>;
111724ba675SRob Herring		vdd-s7-supply = <&vph_pwr>;
112724ba675SRob Herring		vdd-l1-l2-supply = <&vreg_s2e_1p224>;
113724ba675SRob Herring		vdd-l3-l9-supply = <&vreg_s3e_0p824>;
114724ba675SRob Herring		vdd-l4-l12-supply = <&vreg_s4e_1p904>;
115724ba675SRob Herring		vdd-l5-l6-supply = <&vreg_s4e_1p904>;
116724ba675SRob Herring		vdd-l7-l8-supply = <&vreg_s3e_0p824>;
117724ba675SRob Herring		vdd-l10-l11-l13-supply = <&vreg_bob_3p3>;
118724ba675SRob Herring		vdd-l14-supply = <&vreg_s7e_mx_0p752>;
119724ba675SRob Herring		vdd-l15-supply = <&vreg_s2e_1p224>;
120724ba675SRob Herring		vdd-l16-supply = <&vreg_s4e_1p904>;
121724ba675SRob Herring
122724ba675SRob Herring		vreg_s2e_1p224: smps2 {
123724ba675SRob Herring			regulator-min-microvolt = <1280000>;
124724ba675SRob Herring			regulator-max-microvolt = <1400000>;
125724ba675SRob Herring		};
126724ba675SRob Herring
127724ba675SRob Herring		vreg_s3e_0p824: smps3 {
128724ba675SRob Herring			regulator-min-microvolt = <800000>;
129724ba675SRob Herring			regulator-max-microvolt = <1000000>;
130724ba675SRob Herring		};
131724ba675SRob Herring
132724ba675SRob Herring		vreg_s4e_1p904: smps4 {
133724ba675SRob Herring			regulator-min-microvolt = <1800000>;
134724ba675SRob Herring			regulator-max-microvolt = <1960000>;
135724ba675SRob Herring		};
136724ba675SRob Herring
137724ba675SRob Herring		vreg_l1e_bb_1p2: ldo1 {
138724ba675SRob Herring			regulator-min-microvolt = <1200000>;
139724ba675SRob Herring			regulator-max-microvolt = <1200000>;
140724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
141724ba675SRob Herring		};
142724ba675SRob Herring
143724ba675SRob Herring		ldo2 {
144724ba675SRob Herring			regulator-min-microvolt = <1128000>;
145724ba675SRob Herring			regulator-max-microvolt = <1128000>;
146724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
147724ba675SRob Herring		};
148724ba675SRob Herring
149724ba675SRob Herring		ldo3 {
150724ba675SRob Herring			regulator-min-microvolt = <800000>;
151724ba675SRob Herring			regulator-max-microvolt = <800000>;
152724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
153724ba675SRob Herring		};
154724ba675SRob Herring
155724ba675SRob Herring		vreg_l4e_bb_0p875: ldo4 {
156724ba675SRob Herring			regulator-min-microvolt = <872000>;
157724ba675SRob Herring			regulator-max-microvolt = <872000>;
158724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
159724ba675SRob Herring		};
160724ba675SRob Herring
161724ba675SRob Herring		vreg_l5e_bb_1p7: ldo5 {
162724ba675SRob Herring			regulator-min-microvolt = <1704000>;
163724ba675SRob Herring			regulator-max-microvolt = <1900000>;
164724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
165724ba675SRob Herring		};
166724ba675SRob Herring
167724ba675SRob Herring		ldo6 {
168724ba675SRob Herring			regulator-min-microvolt = <1800000>;
169724ba675SRob Herring			regulator-max-microvolt = <1800000>;
170724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
171724ba675SRob Herring		};
172724ba675SRob Herring
173724ba675SRob Herring		ldo7 {
174724ba675SRob Herring			regulator-min-microvolt = <480000>;
175724ba675SRob Herring			regulator-max-microvolt = <900000>;
176724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
177724ba675SRob Herring		};
178724ba675SRob Herring
179724ba675SRob Herring		ldo8 {
180724ba675SRob Herring			regulator-min-microvolt = <480000>;
181724ba675SRob Herring			regulator-max-microvolt = <900000>;
182724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
183724ba675SRob Herring		};
184724ba675SRob Herring
185724ba675SRob Herring		ldo9 {
186724ba675SRob Herring			regulator-min-microvolt = <800000>;
187724ba675SRob Herring			regulator-max-microvolt = <800000>;
188724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
189724ba675SRob Herring		};
190724ba675SRob Herring
191724ba675SRob Herring		vreg_l10e_3p1: ldo10 {
192724ba675SRob Herring			regulator-min-microvolt = <3088000>;
193724ba675SRob Herring			regulator-max-microvolt = <3088000>;
194724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
195724ba675SRob Herring		};
196724ba675SRob Herring
197724ba675SRob Herring		ldo11 {
198724ba675SRob Herring			regulator-min-microvolt = <1704000>;
199724ba675SRob Herring			regulator-max-microvolt = <2928000>;
200724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
201724ba675SRob Herring		};
202724ba675SRob Herring
203724ba675SRob Herring		ldo12 {
204724ba675SRob Herring			regulator-min-microvolt = <1200000>;
205724ba675SRob Herring			regulator-max-microvolt = <1200000>;
206724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
207724ba675SRob Herring		};
208724ba675SRob Herring
209724ba675SRob Herring		ldo13 {
210724ba675SRob Herring			regulator-min-microvolt = <1704000>;
211724ba675SRob Herring			regulator-max-microvolt = <2928000>;
212724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
213724ba675SRob Herring		};
214724ba675SRob Herring
215724ba675SRob Herring		ldo14 {
216724ba675SRob Herring			regulator-min-microvolt = <600000>;
217724ba675SRob Herring			regulator-max-microvolt = <800000>;
218724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
219724ba675SRob Herring		};
220724ba675SRob Herring
221724ba675SRob Herring		ldo15 {
222724ba675SRob Herring			regulator-min-microvolt = <1200000>;
223724ba675SRob Herring			regulator-max-microvolt = <1200000>;
224724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
225724ba675SRob Herring		};
226724ba675SRob Herring
227724ba675SRob Herring		ldo16 {
228724ba675SRob Herring			regulator-min-microvolt = <1704000>;
229724ba675SRob Herring			regulator-max-microvolt = <1904000>;
230724ba675SRob Herring			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
231724ba675SRob Herring		};
232724ba675SRob Herring	};
233724ba675SRob Herring};
234724ba675SRob Herring
235724ba675SRob Herring&blsp1_uart3 {
236724ba675SRob Herring	status = "okay";
237724ba675SRob Herring};
238724ba675SRob Herring
239724ba675SRob Herring&ipa {
240724ba675SRob Herring	qcom,gsi-loader = "self";
241724ba675SRob Herring	memory-region = <&ipa_fw_mem>;
242724ba675SRob Herring	status = "okay";
243724ba675SRob Herring};
244724ba675SRob Herring
245724ba675SRob Herring&pcie_phy {
246724ba675SRob Herring	vdda-phy-supply = <&vreg_l1e_bb_1p2>;
247724ba675SRob Herring	vdda-pll-supply = <&vreg_l4e_bb_0p875>;
248724ba675SRob Herring
249724ba675SRob Herring	status = "okay";
250724ba675SRob Herring};
251724ba675SRob Herring
252724ba675SRob Herring&pcie_ep {
253724ba675SRob Herring	pinctrl-names = "default";
254724ba675SRob Herring	pinctrl-0 = <&pcie_ep_clkreq_default &pcie_ep_perst_default
255724ba675SRob Herring		     &pcie_ep_wake_default>;
256724ba675SRob Herring
257724ba675SRob Herring	reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
258724ba675SRob Herring	wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>;
259724ba675SRob Herring
260724ba675SRob Herring	status = "okay";
261724ba675SRob Herring};
262724ba675SRob Herring
263724ba675SRob Herring&qpic_bam {
264724ba675SRob Herring	status = "okay";
265724ba675SRob Herring};
266724ba675SRob Herring
267724ba675SRob Herring&qpic_nand {
268724ba675SRob Herring	status = "okay";
269724ba675SRob Herring
270724ba675SRob Herring	nand@0 {
271724ba675SRob Herring		reg = <0>;
272724ba675SRob Herring
273724ba675SRob Herring		nand-ecc-strength = <8>;
274724ba675SRob Herring		nand-ecc-step-size = <512>;
275724ba675SRob Herring		nand-bus-width = <8>;
276724ba675SRob Herring		/* ico and efs2 partitions are secured */
277724ba675SRob Herring		secure-regions = /bits/ 64 <0x500000 0x500000
278724ba675SRob Herring					    0xa00000 0xb00000>;
279724ba675SRob Herring	};
280724ba675SRob Herring};
281724ba675SRob Herring
282724ba675SRob Herring&remoteproc_mpss {
283724ba675SRob Herring	memory-region = <&mpss_adsp_mem>;
284724ba675SRob Herring	status = "okay";
285724ba675SRob Herring};
286724ba675SRob Herring
287724ba675SRob Herring&tlmm {
288724ba675SRob Herring	pcie_ep_clkreq_default: pcie-ep-clkreq-default-state {
289724ba675SRob Herring		pins = "gpio56";
290724ba675SRob Herring		function = "pcie_clkreq";
291724ba675SRob Herring		drive-strength = <2>;
292724ba675SRob Herring		bias-disable;
293724ba675SRob Herring	};
294724ba675SRob Herring
295724ba675SRob Herring	pcie_ep_perst_default: pcie-ep-perst-default-state {
296724ba675SRob Herring		pins = "gpio57";
297724ba675SRob Herring		function = "gpio";
298724ba675SRob Herring		drive-strength = <2>;
299724ba675SRob Herring		bias-pull-down;
300724ba675SRob Herring	};
301724ba675SRob Herring
302724ba675SRob Herring	pcie_ep_wake_default: pcie-ep-wake-default-state {
303724ba675SRob Herring		pins = "gpio53";
304724ba675SRob Herring		function = "gpio";
305724ba675SRob Herring		drive-strength = <2>;
306724ba675SRob Herring		bias-disable;
307724ba675SRob Herring	};
308724ba675SRob Herring};
309724ba675SRob Herring
310724ba675SRob Herring&usb_hsphy {
311724ba675SRob Herring	vdda-pll-supply = <&vreg_l4e_bb_0p875>;
312724ba675SRob Herring	vdda33-supply = <&vreg_l10e_3p1>;
313724ba675SRob Herring	vdda18-supply = <&vreg_l5e_bb_1p7>;
314724ba675SRob Herring
315724ba675SRob Herring	status = "okay";
316724ba675SRob Herring};
317724ba675SRob Herring
318724ba675SRob Herring&usb_qmpphy {
319724ba675SRob Herring	vdda-phy-supply = <&vreg_l4e_bb_0p875>;
320724ba675SRob Herring	vdda-pll-supply = <&vreg_l1e_bb_1p2>;
321724ba675SRob Herring
322724ba675SRob Herring	status = "okay";
323724ba675SRob Herring};
324724ba675SRob Herring
325724ba675SRob Herring&usb {
326724ba675SRob Herring	status = "okay";
327724ba675SRob Herring};
328724ba675SRob Herring
329724ba675SRob Herring&usb_dwc3 {
330724ba675SRob Herring	dr_mode = "peripheral";
331724ba675SRob Herring};
332