xref: /freebsd/sys/contrib/device-tree/src/arm/qcom/qcom-sdx55-mtp.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
4f126890aSEmmanuel Vadot * Copyright (c) 2020, Linaro Ltd.
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot/dts-v1/;
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include "qcom-sdx55.dtsi"
10f126890aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11f126890aSEmmanuel Vadot#include <arm64/qcom/pm8150b.dtsi>
12*8d13bc63SEmmanuel Vadot#include "pmx55.dtsi"
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot/ {
15f126890aSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. SDX55 MTP";
16f126890aSEmmanuel Vadot	compatible = "qcom,sdx55-mtp", "qcom,sdx55";
17f126890aSEmmanuel Vadot	qcom,board-id = <0x5010008 0x0>;
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	aliases {
20f126890aSEmmanuel Vadot		serial0 = &blsp1_uart3;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	chosen {
24f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	reserved-memory {
28f126890aSEmmanuel Vadot		#address-cells = <1>;
29f126890aSEmmanuel Vadot		#size-cells = <1>;
30f126890aSEmmanuel Vadot		ranges;
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot		mpss_debug_mem: memory@8ef00000 {
33f126890aSEmmanuel Vadot			no-map;
34f126890aSEmmanuel Vadot			reg = <0x8ef00000 0x800000>;
35f126890aSEmmanuel Vadot		};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		ipa_fw_mem: memory@8fced000 {
38f126890aSEmmanuel Vadot			no-map;
39f126890aSEmmanuel Vadot			reg = <0x8fced000 0x10000>;
40f126890aSEmmanuel Vadot		};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot		mpss_adsp_mem: memory@90c00000 {
43f126890aSEmmanuel Vadot			no-map;
44f126890aSEmmanuel Vadot			reg = <0x90c00000 0xd400000>;
45f126890aSEmmanuel Vadot		};
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
49f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
50f126890aSEmmanuel Vadot		regulator-name = "vph_pwr";
51f126890aSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
52f126890aSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot	vreg_bob_3p3: pmx55-bob {
56f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
57f126890aSEmmanuel Vadot		regulator-name = "vreg_bob_3p3";
58f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
59f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		regulator-always-on;
62f126890aSEmmanuel Vadot		regulator-boot-on;
63f126890aSEmmanuel Vadot
64f126890aSEmmanuel Vadot		vin-supply = <&vph_pwr>;
65f126890aSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot	vreg_s7e_mx_0p752: pmx55-s7e {
68f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
69f126890aSEmmanuel Vadot		regulator-name = "vreg_s7e_mx_0p752";
70f126890aSEmmanuel Vadot		regulator-min-microvolt = <752000>;
71f126890aSEmmanuel Vadot		regulator-max-microvolt = <752000>;
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot		vin-supply = <&vph_pwr>;
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot&apps_rsc {
78f126890aSEmmanuel Vadot	regulators-0 {
79f126890aSEmmanuel Vadot		compatible = "qcom,pmx55-rpmh-regulators";
80f126890aSEmmanuel Vadot		qcom,pmic-id = "e";
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
83f126890aSEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
84f126890aSEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
85f126890aSEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
86f126890aSEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
87f126890aSEmmanuel Vadot		vdd-s6-supply = <&vph_pwr>;
88f126890aSEmmanuel Vadot		vdd-s7-supply = <&vph_pwr>;
89f126890aSEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s2e_1p224>;
90f126890aSEmmanuel Vadot		vdd-l3-l9-supply = <&vreg_s3e_0p824>;
91f126890aSEmmanuel Vadot		vdd-l4-l12-supply = <&vreg_s4e_1p904>;
92f126890aSEmmanuel Vadot		vdd-l5-l6-supply = <&vreg_s4e_1p904>;
93f126890aSEmmanuel Vadot		vdd-l7-l8-supply = <&vreg_s3e_0p824>;
94f126890aSEmmanuel Vadot		vdd-l10-l11-l13-supply = <&vreg_bob_3p3>;
95f126890aSEmmanuel Vadot		vdd-l14-supply = <&vreg_s7e_mx_0p752>;
96f126890aSEmmanuel Vadot		vdd-l15-supply = <&vreg_s2e_1p224>;
97f126890aSEmmanuel Vadot		vdd-l16-supply = <&vreg_s4e_1p904>;
98f126890aSEmmanuel Vadot
99f126890aSEmmanuel Vadot		vreg_s2e_1p224: smps2 {
100f126890aSEmmanuel Vadot			regulator-min-microvolt = <1280000>;
101f126890aSEmmanuel Vadot			regulator-max-microvolt = <1400000>;
102f126890aSEmmanuel Vadot		};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot		vreg_s3e_0p824: smps3 {
105f126890aSEmmanuel Vadot			regulator-min-microvolt = <800000>;
106f126890aSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
107f126890aSEmmanuel Vadot		};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot		vreg_s4e_1p904: smps4 {
110f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
111f126890aSEmmanuel Vadot			regulator-max-microvolt = <1960000>;
112f126890aSEmmanuel Vadot		};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot		vreg_l1e_bb_1p2: ldo1 {
115f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
116f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
117f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
118f126890aSEmmanuel Vadot		};
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot		ldo2 {
121f126890aSEmmanuel Vadot			regulator-min-microvolt = <1128000>;
122f126890aSEmmanuel Vadot			regulator-max-microvolt = <1128000>;
123f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
124f126890aSEmmanuel Vadot		};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		ldo3 {
127f126890aSEmmanuel Vadot			regulator-min-microvolt = <800000>;
128f126890aSEmmanuel Vadot			regulator-max-microvolt = <800000>;
129f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
130f126890aSEmmanuel Vadot		};
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot		vreg_l4e_bb_0p875: ldo4 {
133f126890aSEmmanuel Vadot			regulator-min-microvolt = <872000>;
134f126890aSEmmanuel Vadot			regulator-max-microvolt = <872000>;
135f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
136f126890aSEmmanuel Vadot		};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot		vreg_l5e_bb_1p7: ldo5 {
139f126890aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
140f126890aSEmmanuel Vadot			regulator-max-microvolt = <1900000>;
141f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
142f126890aSEmmanuel Vadot		};
143f126890aSEmmanuel Vadot
144f126890aSEmmanuel Vadot		ldo6 {
145f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
146f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
147f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
148f126890aSEmmanuel Vadot		};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot		ldo7 {
151f126890aSEmmanuel Vadot			regulator-min-microvolt = <480000>;
152f126890aSEmmanuel Vadot			regulator-max-microvolt = <900000>;
153f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
154f126890aSEmmanuel Vadot		};
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot		ldo8 {
157f126890aSEmmanuel Vadot			regulator-min-microvolt = <480000>;
158f126890aSEmmanuel Vadot			regulator-max-microvolt = <900000>;
159f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
160f126890aSEmmanuel Vadot		};
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot		ldo9 {
163f126890aSEmmanuel Vadot			regulator-min-microvolt = <800000>;
164f126890aSEmmanuel Vadot			regulator-max-microvolt = <800000>;
165f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
166f126890aSEmmanuel Vadot		};
167f126890aSEmmanuel Vadot
168f126890aSEmmanuel Vadot		vreg_l10e_3p1: ldo10 {
169f126890aSEmmanuel Vadot			regulator-min-microvolt = <3088000>;
170f126890aSEmmanuel Vadot			regulator-max-microvolt = <3088000>;
171f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
172f126890aSEmmanuel Vadot		};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot		ldo11 {
175f126890aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
176f126890aSEmmanuel Vadot			regulator-max-microvolt = <2928000>;
177f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
178f126890aSEmmanuel Vadot		};
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot		ldo12 {
181f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
182f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
183f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
184f126890aSEmmanuel Vadot		};
185f126890aSEmmanuel Vadot
186f126890aSEmmanuel Vadot		ldo13 {
187f126890aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
188f126890aSEmmanuel Vadot			regulator-max-microvolt = <2928000>;
189f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
190f126890aSEmmanuel Vadot		};
191f126890aSEmmanuel Vadot
192f126890aSEmmanuel Vadot		ldo14 {
193f126890aSEmmanuel Vadot			regulator-min-microvolt = <600000>;
194f126890aSEmmanuel Vadot			regulator-max-microvolt = <800000>;
195f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
196f126890aSEmmanuel Vadot		};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot		ldo15 {
199f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
200f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
201f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
202f126890aSEmmanuel Vadot		};
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot		ldo16 {
205f126890aSEmmanuel Vadot			regulator-min-microvolt = <1704000>;
206f126890aSEmmanuel Vadot			regulator-max-microvolt = <1904000>;
207f126890aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
208f126890aSEmmanuel Vadot		};
209f126890aSEmmanuel Vadot	};
210f126890aSEmmanuel Vadot};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot&blsp1_uart3 {
213f126890aSEmmanuel Vadot	status = "okay";
214f126890aSEmmanuel Vadot};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot&qpic_bam {
217f126890aSEmmanuel Vadot	status = "okay";
218f126890aSEmmanuel Vadot};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot&qpic_nand {
221f126890aSEmmanuel Vadot	status = "okay";
222f126890aSEmmanuel Vadot
223f126890aSEmmanuel Vadot	nand@0 {
224f126890aSEmmanuel Vadot		reg = <0>;
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot		nand-ecc-strength = <8>;
227f126890aSEmmanuel Vadot		nand-ecc-step-size = <512>;
228f126890aSEmmanuel Vadot		nand-bus-width = <8>;
229f126890aSEmmanuel Vadot	};
230f126890aSEmmanuel Vadot};
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot&remoteproc_mpss {
233f126890aSEmmanuel Vadot	memory-region = <&mpss_adsp_mem>;
234f126890aSEmmanuel Vadot};
235f126890aSEmmanuel Vadot
236f126890aSEmmanuel Vadot&usb {
237f126890aSEmmanuel Vadot	status = "okay";
238f126890aSEmmanuel Vadot};
239f126890aSEmmanuel Vadot
240f126890aSEmmanuel Vadot&usb_dwc3 {
241f126890aSEmmanuel Vadot	dr_mode = "peripheral";
242f126890aSEmmanuel Vadot};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot&usb_hsphy {
245f126890aSEmmanuel Vadot	status = "okay";
246f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l4e_bb_0p875>;
247f126890aSEmmanuel Vadot	vdda33-supply = <&vreg_l10e_3p1>;
248f126890aSEmmanuel Vadot	vdda18-supply = <&vreg_l5e_bb_1p7>;
249f126890aSEmmanuel Vadot};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot&usb_qmpphy {
252f126890aSEmmanuel Vadot	status = "okay";
253f126890aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l4e_bb_0p875>;
254f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l1e_bb_1p2>;
255f126890aSEmmanuel Vadot};
256