xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8226-samsung-matisse-common.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1f91dc3e6SStefan Hansson// SPDX-License-Identifier: BSD-3-Clause
2f91dc3e6SStefan Hansson/*
3f91dc3e6SStefan Hansson * Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com>
4f91dc3e6SStefan Hansson */
5f91dc3e6SStefan Hansson
6f91dc3e6SStefan Hansson#include <dt-bindings/input/input.h>
7f91dc3e6SStefan Hansson#include "qcom-msm8226.dtsi"
8f91dc3e6SStefan Hansson#include "pm8226.dtsi"
9f91dc3e6SStefan Hansson
10f91dc3e6SStefan Hansson/delete-node/ &adsp_region;
11f91dc3e6SStefan Hansson/delete-node/ &smem_region;
12f91dc3e6SStefan Hansson
13f91dc3e6SStefan Hansson/ {
14f91dc3e6SStefan Hansson	aliases {
15f91dc3e6SStefan Hansson		mmc0 = &sdhc_1; /* SDC1 eMMC slot */
16f91dc3e6SStefan Hansson		mmc1 = &sdhc_2; /* SDC2 SD card slot */
17f91dc3e6SStefan Hansson		display0 = &framebuffer0;
18f91dc3e6SStefan Hansson	};
19f91dc3e6SStefan Hansson
20f91dc3e6SStefan Hansson	chosen {
21f91dc3e6SStefan Hansson		#address-cells = <1>;
22f91dc3e6SStefan Hansson		#size-cells = <1>;
23f91dc3e6SStefan Hansson		ranges;
24f91dc3e6SStefan Hansson
25f91dc3e6SStefan Hansson		stdout-path = "display0";
26f91dc3e6SStefan Hansson
27f91dc3e6SStefan Hansson		framebuffer0: framebuffer@3200000 {
28f91dc3e6SStefan Hansson			compatible = "simple-framebuffer";
29f91dc3e6SStefan Hansson			reg = <0x03200000 0x800000>;
30f91dc3e6SStefan Hansson			width = <1280>;
31f91dc3e6SStefan Hansson			height = <800>;
32f91dc3e6SStefan Hansson			stride = <(1280 * 3)>;
33f91dc3e6SStefan Hansson			format = "r8g8b8";
34f91dc3e6SStefan Hansson		};
35f91dc3e6SStefan Hansson	};
36f91dc3e6SStefan Hansson
37f91dc3e6SStefan Hansson	gpio-hall-sensor {
38f91dc3e6SStefan Hansson		compatible = "gpio-keys";
39f91dc3e6SStefan Hansson
40f91dc3e6SStefan Hansson		event-hall-sensor {
41f91dc3e6SStefan Hansson			label = "Hall Effect Sensor";
42f91dc3e6SStefan Hansson			gpios = <&tlmm 110 GPIO_ACTIVE_LOW>;
43f91dc3e6SStefan Hansson			linux,input-type = <EV_SW>;
44f91dc3e6SStefan Hansson			linux,code = <SW_LID>;
45f91dc3e6SStefan Hansson			debounce-interval = <15>;
46f91dc3e6SStefan Hansson			linux,can-disable;
47f91dc3e6SStefan Hansson			wakeup-source;
48f91dc3e6SStefan Hansson		};
49f91dc3e6SStefan Hansson	};
50f91dc3e6SStefan Hansson
51f91dc3e6SStefan Hansson	gpio-keys {
52f91dc3e6SStefan Hansson		compatible = "gpio-keys";
53f91dc3e6SStefan Hansson		autorepeat;
54f91dc3e6SStefan Hansson
55f91dc3e6SStefan Hansson		key-home {
56f91dc3e6SStefan Hansson			label = "Home";
57f91dc3e6SStefan Hansson			gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
58f91dc3e6SStefan Hansson			linux,code = <KEY_HOMEPAGE>;
59f91dc3e6SStefan Hansson			debounce-interval = <15>;
60f91dc3e6SStefan Hansson		};
61f91dc3e6SStefan Hansson
62f91dc3e6SStefan Hansson		key-volume-down {
63f91dc3e6SStefan Hansson			label = "Volume Down";
64f91dc3e6SStefan Hansson			gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
65f91dc3e6SStefan Hansson			linux,code = <KEY_VOLUMEDOWN>;
66f91dc3e6SStefan Hansson			debounce-interval = <15>;
67f91dc3e6SStefan Hansson		};
68f91dc3e6SStefan Hansson
69f91dc3e6SStefan Hansson		key-volume-up {
70f91dc3e6SStefan Hansson			label = "Volume Up";
71f91dc3e6SStefan Hansson			gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
72f91dc3e6SStefan Hansson			linux,code = <KEY_VOLUMEUP>;
73f91dc3e6SStefan Hansson			debounce-interval = <15>;
74f91dc3e6SStefan Hansson		};
75f91dc3e6SStefan Hansson	};
76f91dc3e6SStefan Hansson
77f91dc3e6SStefan Hansson	i2c-backlight {
78f91dc3e6SStefan Hansson		compatible = "i2c-gpio";
79f91dc3e6SStefan Hansson		sda-gpios = <&tlmm 20 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
80f91dc3e6SStefan Hansson		scl-gpios = <&tlmm 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
81f91dc3e6SStefan Hansson
82f91dc3e6SStefan Hansson		pinctrl-0 = <&backlight_i2c_default_state>;
83f91dc3e6SStefan Hansson		pinctrl-names = "default";
84f91dc3e6SStefan Hansson
85f91dc3e6SStefan Hansson		i2c-gpio,delay-us = <4>;
86f91dc3e6SStefan Hansson
87f91dc3e6SStefan Hansson		#address-cells = <1>;
88f91dc3e6SStefan Hansson		#size-cells = <0>;
89f91dc3e6SStefan Hansson
90f91dc3e6SStefan Hansson		backlight@2c {
91f91dc3e6SStefan Hansson			compatible = "ti,lp8556";
92f91dc3e6SStefan Hansson			reg = <0x2c>;
93f91dc3e6SStefan Hansson
94f91dc3e6SStefan Hansson			dev-ctrl = /bits/ 8 <0x80>;
95f91dc3e6SStefan Hansson			init-brt = /bits/ 8 <0x3f>;
96f91dc3e6SStefan Hansson
97f91dc3e6SStefan Hansson			pwms = <&backlight_pwm 0 100000>;
98f91dc3e6SStefan Hansson			pwm-names = "lp8556";
99f91dc3e6SStefan Hansson
100f91dc3e6SStefan Hansson			rom-a0h {
101f91dc3e6SStefan Hansson				rom-addr = /bits/ 8 <0xa0>;
102f91dc3e6SStefan Hansson				rom-val = /bits/ 8 <0x44>;
103f91dc3e6SStefan Hansson			};
104f91dc3e6SStefan Hansson
105f91dc3e6SStefan Hansson			rom-a1h {
106f91dc3e6SStefan Hansson				rom-addr = /bits/ 8 <0xa1>;
107f91dc3e6SStefan Hansson				rom-val = /bits/ 8 <0x6c>;
108f91dc3e6SStefan Hansson			};
109f91dc3e6SStefan Hansson
110f91dc3e6SStefan Hansson			rom-a5h {
111f91dc3e6SStefan Hansson				rom-addr = /bits/ 8 <0xa5>;
112f91dc3e6SStefan Hansson				rom-val = /bits/ 8 <0x24>;
113f91dc3e6SStefan Hansson			};
114f91dc3e6SStefan Hansson		};
115f91dc3e6SStefan Hansson	};
116f91dc3e6SStefan Hansson
117f91dc3e6SStefan Hansson	backlight_pwm: pwm {
118f91dc3e6SStefan Hansson		compatible = "clk-pwm";
119f91dc3e6SStefan Hansson		#pwm-cells = <2>;
120f91dc3e6SStefan Hansson		clocks = <&mmcc CAMSS_GP0_CLK>;
121f91dc3e6SStefan Hansson		pinctrl-0 = <&backlight_pwm_default_state>;
122f91dc3e6SStefan Hansson		pinctrl-names = "default";
123f91dc3e6SStefan Hansson	};
124f91dc3e6SStefan Hansson
125f91dc3e6SStefan Hansson	reg_tsp_1p8v: regulator-tsp-1p8v {
126f91dc3e6SStefan Hansson		compatible = "regulator-fixed";
127f91dc3e6SStefan Hansson		regulator-name = "tsp_1p8v";
128f91dc3e6SStefan Hansson		regulator-min-microvolt = <1800000>;
129f91dc3e6SStefan Hansson		regulator-max-microvolt = <1800000>;
130f91dc3e6SStefan Hansson
131f91dc3e6SStefan Hansson		gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>;
132f91dc3e6SStefan Hansson		enable-active-high;
133f91dc3e6SStefan Hansson
134f91dc3e6SStefan Hansson		pinctrl-names = "default";
135f91dc3e6SStefan Hansson		pinctrl-0 = <&tsp_en_default_state>;
136f91dc3e6SStefan Hansson	};
137f91dc3e6SStefan Hansson
138f91dc3e6SStefan Hansson	reserved-memory {
139f91dc3e6SStefan Hansson		#address-cells = <1>;
140f91dc3e6SStefan Hansson		#size-cells = <1>;
141f91dc3e6SStefan Hansson		ranges;
142f91dc3e6SStefan Hansson
143f91dc3e6SStefan Hansson		framebuffer@3200000 {
144f91dc3e6SStefan Hansson			reg = <0x03200000 0x800000>;
145f91dc3e6SStefan Hansson			no-map;
146f91dc3e6SStefan Hansson		};
147f91dc3e6SStefan Hansson
148f91dc3e6SStefan Hansson		mpss@8400000 {
149f91dc3e6SStefan Hansson			reg = <0x08400000 0x1f00000>;
150f91dc3e6SStefan Hansson			no-map;
151f91dc3e6SStefan Hansson		};
152f91dc3e6SStefan Hansson
153f91dc3e6SStefan Hansson		mba@a300000 {
154f91dc3e6SStefan Hansson			reg = <0x0a300000 0x100000>;
155f91dc3e6SStefan Hansson			no-map;
156f91dc3e6SStefan Hansson		};
157f91dc3e6SStefan Hansson
158f91dc3e6SStefan Hansson		reserved@cb00000 {
159f91dc3e6SStefan Hansson			reg = <0x0cb00000 0x700000>;
160f91dc3e6SStefan Hansson			no-map;
161f91dc3e6SStefan Hansson		};
162f91dc3e6SStefan Hansson
163f91dc3e6SStefan Hansson		wcnss@d200000 {
164f91dc3e6SStefan Hansson			reg = <0x0d200000 0x700000>;
165f91dc3e6SStefan Hansson			no-map;
166f91dc3e6SStefan Hansson		};
167f91dc3e6SStefan Hansson
168f91dc3e6SStefan Hansson		adsp_region: adsp@d900000 {
169f91dc3e6SStefan Hansson			reg = <0x0d900000 0x1800000>;
170f91dc3e6SStefan Hansson			no-map;
171f91dc3e6SStefan Hansson		};
172f91dc3e6SStefan Hansson
173f91dc3e6SStefan Hansson		venus@f100000 {
174f91dc3e6SStefan Hansson			reg = <0x0f100000 0x500000>;
175f91dc3e6SStefan Hansson			no-map;
176f91dc3e6SStefan Hansson		};
177f91dc3e6SStefan Hansson
178f91dc3e6SStefan Hansson		smem_region: smem@fa00000 {
179f91dc3e6SStefan Hansson			reg = <0x0fa00000 0x100000>;
180f91dc3e6SStefan Hansson			no-map;
181f91dc3e6SStefan Hansson		};
182f91dc3e6SStefan Hansson
183f91dc3e6SStefan Hansson		reserved@fb00000 {
184f91dc3e6SStefan Hansson			reg = <0x0fb00000 0x260000>;
185f91dc3e6SStefan Hansson			no-map;
186f91dc3e6SStefan Hansson		};
187f91dc3e6SStefan Hansson
188f91dc3e6SStefan Hansson		rfsa@fd60000 {
189f91dc3e6SStefan Hansson			reg = <0x0fd60000 0x20000>;
190f91dc3e6SStefan Hansson			no-map;
191f91dc3e6SStefan Hansson		};
192f91dc3e6SStefan Hansson
193f91dc3e6SStefan Hansson		rmtfs@fd80000 {
194f91dc3e6SStefan Hansson			compatible = "qcom,rmtfs-mem";
195f91dc3e6SStefan Hansson			reg = <0x0fd80000 0x180000>;
196f91dc3e6SStefan Hansson			no-map;
197f91dc3e6SStefan Hansson
198f91dc3e6SStefan Hansson			qcom,client-id = <1>;
199f91dc3e6SStefan Hansson		};
200f91dc3e6SStefan Hansson	};
201f91dc3e6SStefan Hansson};
202f91dc3e6SStefan Hansson
203f91dc3e6SStefan Hansson&adsp {
204f91dc3e6SStefan Hansson	status = "okay";
205f91dc3e6SStefan Hansson};
206f91dc3e6SStefan Hansson
207f91dc3e6SStefan Hansson&blsp1_i2c4 {
208f91dc3e6SStefan Hansson	status = "okay";
209f91dc3e6SStefan Hansson
210f91dc3e6SStefan Hansson	muic: usb-switch@25 {
211f91dc3e6SStefan Hansson		compatible = "siliconmitus,sm5502-muic";
212f91dc3e6SStefan Hansson		reg = <0x25>;
213f91dc3e6SStefan Hansson
214f91dc3e6SStefan Hansson		interrupt-parent = <&tlmm>;
215f91dc3e6SStefan Hansson		interrupts = <67 IRQ_TYPE_EDGE_FALLING>;
216f91dc3e6SStefan Hansson
217f91dc3e6SStefan Hansson		pinctrl-names = "default";
218f91dc3e6SStefan Hansson		pinctrl-0 = <&muic_int_default_state>;
219f91dc3e6SStefan Hansson	};
220f91dc3e6SStefan Hansson};
221f91dc3e6SStefan Hansson
222*450e178fSStefan Hansson&blsp1_uart3 {
223*450e178fSStefan Hansson	status = "okay";
224*450e178fSStefan Hansson};
225*450e178fSStefan Hansson
226f91dc3e6SStefan Hansson&rpm_requests {
227f91dc3e6SStefan Hansson	regulators {
228f91dc3e6SStefan Hansson		compatible = "qcom,rpm-pm8226-regulators";
229f91dc3e6SStefan Hansson
230f91dc3e6SStefan Hansson		pm8226_s3: s3 {
231f91dc3e6SStefan Hansson			regulator-min-microvolt = <1200000>;
232f91dc3e6SStefan Hansson			regulator-max-microvolt = <1300000>;
233f91dc3e6SStefan Hansson		};
234f91dc3e6SStefan Hansson
235f91dc3e6SStefan Hansson		pm8226_s4: s4 {
236f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
237d305361fSStefan Hansson			regulator-max-microvolt = <2200000>;
238f91dc3e6SStefan Hansson		};
239f91dc3e6SStefan Hansson
240f91dc3e6SStefan Hansson		pm8226_s5: s5 {
241f91dc3e6SStefan Hansson			regulator-min-microvolt = <1150000>;
242f91dc3e6SStefan Hansson			regulator-max-microvolt = <1150000>;
243f91dc3e6SStefan Hansson		};
244f91dc3e6SStefan Hansson
245f91dc3e6SStefan Hansson		pm8226_l1: l1 {
246f91dc3e6SStefan Hansson			regulator-min-microvolt = <1225000>;
247f91dc3e6SStefan Hansson			regulator-max-microvolt = <1225000>;
248f91dc3e6SStefan Hansson		};
249f91dc3e6SStefan Hansson
250f91dc3e6SStefan Hansson		pm8226_l2: l2 {
251f91dc3e6SStefan Hansson			regulator-min-microvolt = <1200000>;
252f91dc3e6SStefan Hansson			regulator-max-microvolt = <1200000>;
253f91dc3e6SStefan Hansson		};
254f91dc3e6SStefan Hansson
255f91dc3e6SStefan Hansson		pm8226_l3: l3 {
256f91dc3e6SStefan Hansson			regulator-min-microvolt = <750000>;
257d305361fSStefan Hansson			regulator-max-microvolt = <1350000>;
258f91dc3e6SStefan Hansson			regulator-always-on;
259f91dc3e6SStefan Hansson		};
260f91dc3e6SStefan Hansson
261f91dc3e6SStefan Hansson		pm8226_l4: l4 {
262f91dc3e6SStefan Hansson			regulator-min-microvolt = <1200000>;
263f91dc3e6SStefan Hansson			regulator-max-microvolt = <1200000>;
264f91dc3e6SStefan Hansson		};
265f91dc3e6SStefan Hansson
266f91dc3e6SStefan Hansson		pm8226_l5: l5 {
267f91dc3e6SStefan Hansson			regulator-min-microvolt = <1200000>;
268f91dc3e6SStefan Hansson			regulator-max-microvolt = <1200000>;
269f91dc3e6SStefan Hansson		};
270f91dc3e6SStefan Hansson
271f91dc3e6SStefan Hansson		pm8226_l6: l6 {
272f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
273f91dc3e6SStefan Hansson			regulator-max-microvolt = <1800000>;
274f91dc3e6SStefan Hansson			regulator-always-on;
275f91dc3e6SStefan Hansson		};
276f91dc3e6SStefan Hansson
277f91dc3e6SStefan Hansson		pm8226_l7: l7 {
278f91dc3e6SStefan Hansson			regulator-min-microvolt = <1850000>;
279f91dc3e6SStefan Hansson			regulator-max-microvolt = <1850000>;
280f91dc3e6SStefan Hansson		};
281f91dc3e6SStefan Hansson
282f91dc3e6SStefan Hansson		pm8226_l8: l8 {
283f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
284f91dc3e6SStefan Hansson			regulator-max-microvolt = <1800000>;
285f91dc3e6SStefan Hansson			regulator-always-on;
286f91dc3e6SStefan Hansson		};
287f91dc3e6SStefan Hansson
288f91dc3e6SStefan Hansson		pm8226_l9: l9 {
289f91dc3e6SStefan Hansson			regulator-min-microvolt = <2050000>;
290f91dc3e6SStefan Hansson			regulator-max-microvolt = <2050000>;
291f91dc3e6SStefan Hansson		};
292f91dc3e6SStefan Hansson
293f91dc3e6SStefan Hansson		pm8226_l10: l10 {
294f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
295f91dc3e6SStefan Hansson			regulator-max-microvolt = <1800000>;
296f91dc3e6SStefan Hansson		};
297f91dc3e6SStefan Hansson
298f91dc3e6SStefan Hansson		pm8226_l12: l12 {
299f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
300f91dc3e6SStefan Hansson			regulator-max-microvolt = <1800000>;
301f91dc3e6SStefan Hansson		};
302f91dc3e6SStefan Hansson
303f91dc3e6SStefan Hansson		pm8226_l14: l14 {
304f91dc3e6SStefan Hansson			regulator-min-microvolt = <2750000>;
305f91dc3e6SStefan Hansson			regulator-max-microvolt = <2750000>;
306f91dc3e6SStefan Hansson		};
307f91dc3e6SStefan Hansson
308f91dc3e6SStefan Hansson		pm8226_l15: l15 {
309f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
310f91dc3e6SStefan Hansson			regulator-max-microvolt = <3300000>;
311f91dc3e6SStefan Hansson		};
312f91dc3e6SStefan Hansson
313f91dc3e6SStefan Hansson		pm8226_l16: l16 {
314f91dc3e6SStefan Hansson			regulator-min-microvolt = <3000000>;
315f91dc3e6SStefan Hansson			regulator-max-microvolt = <3350000>;
316f91dc3e6SStefan Hansson		};
317f91dc3e6SStefan Hansson
318f91dc3e6SStefan Hansson		pm8226_l17: l17 {
319f91dc3e6SStefan Hansson			regulator-min-microvolt = <2950000>;
320f91dc3e6SStefan Hansson			regulator-max-microvolt = <2950000>;
321f91dc3e6SStefan Hansson
322f91dc3e6SStefan Hansson			regulator-system-load = <200000>;
323f91dc3e6SStefan Hansson			regulator-allow-set-load;
324f91dc3e6SStefan Hansson			regulator-always-on;
325f91dc3e6SStefan Hansson		};
326f91dc3e6SStefan Hansson
327f91dc3e6SStefan Hansson		pm8226_l18: l18 {
328f91dc3e6SStefan Hansson			regulator-min-microvolt = <2950000>;
329f91dc3e6SStefan Hansson			regulator-max-microvolt = <2950000>;
330f91dc3e6SStefan Hansson		};
331f91dc3e6SStefan Hansson
332f91dc3e6SStefan Hansson		pm8226_l19: l19 {
333f91dc3e6SStefan Hansson			regulator-min-microvolt = <2850000>;
334f91dc3e6SStefan Hansson			regulator-max-microvolt = <3000000>;
335f91dc3e6SStefan Hansson		};
336f91dc3e6SStefan Hansson
337f91dc3e6SStefan Hansson		pm8226_l20: l20 {
338f91dc3e6SStefan Hansson			regulator-min-microvolt = <3075000>;
339f91dc3e6SStefan Hansson			regulator-max-microvolt = <3075000>;
340f91dc3e6SStefan Hansson		};
341f91dc3e6SStefan Hansson
342f91dc3e6SStefan Hansson		pm8226_l21: l21 {
343f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
344f91dc3e6SStefan Hansson			regulator-max-microvolt = <2950000>;
345f91dc3e6SStefan Hansson		};
346f91dc3e6SStefan Hansson
347f91dc3e6SStefan Hansson		pm8226_l22: l22 {
348f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
349f91dc3e6SStefan Hansson			regulator-max-microvolt = <3000000>;
350f91dc3e6SStefan Hansson		};
351f91dc3e6SStefan Hansson
352f91dc3e6SStefan Hansson		pm8226_l23: l23 {
353f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
354f91dc3e6SStefan Hansson			regulator-max-microvolt = <3300000>;
355f91dc3e6SStefan Hansson		};
356f91dc3e6SStefan Hansson
357f91dc3e6SStefan Hansson		pm8226_l24: l24 {
358f91dc3e6SStefan Hansson			regulator-min-microvolt = <1300000>;
359f91dc3e6SStefan Hansson			regulator-max-microvolt = <1350000>;
360f91dc3e6SStefan Hansson		};
361f91dc3e6SStefan Hansson
362f91dc3e6SStefan Hansson		pm8226_l25: l25 {
363f91dc3e6SStefan Hansson			regulator-min-microvolt = <1775000>;
364f91dc3e6SStefan Hansson			regulator-max-microvolt = <2125000>;
365f91dc3e6SStefan Hansson		};
366f91dc3e6SStefan Hansson
367f91dc3e6SStefan Hansson		pm8226_l26: l26 {
368f91dc3e6SStefan Hansson			regulator-min-microvolt = <1225000>;
369f91dc3e6SStefan Hansson			regulator-max-microvolt = <1300000>;
370f91dc3e6SStefan Hansson		};
371f91dc3e6SStefan Hansson
372f91dc3e6SStefan Hansson		pm8226_l27: l27 {
373f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
374f91dc3e6SStefan Hansson			regulator-max-microvolt = <1800000>;
375f91dc3e6SStefan Hansson		};
376f91dc3e6SStefan Hansson
377f91dc3e6SStefan Hansson		pm8226_l28: l28 {
378f91dc3e6SStefan Hansson			regulator-min-microvolt = <1800000>;
379f91dc3e6SStefan Hansson			regulator-max-microvolt = <2950000>;
380f91dc3e6SStefan Hansson		};
381f91dc3e6SStefan Hansson
382f91dc3e6SStefan Hansson		pm8226_lvs1: lvs1 {};
383f91dc3e6SStefan Hansson	};
384f91dc3e6SStefan Hansson};
385f91dc3e6SStefan Hansson
386f91dc3e6SStefan Hansson&sdhc_1 {
387f91dc3e6SStefan Hansson	vmmc-supply = <&pm8226_l17>;
388f91dc3e6SStefan Hansson	vqmmc-supply = <&pm8226_l6>;
389f91dc3e6SStefan Hansson
390f91dc3e6SStefan Hansson	bus-width = <8>;
391f91dc3e6SStefan Hansson	non-removable;
392f91dc3e6SStefan Hansson
393f91dc3e6SStefan Hansson	status = "okay";
394f91dc3e6SStefan Hansson};
395f91dc3e6SStefan Hansson
396f91dc3e6SStefan Hansson&sdhc_2 {
397f91dc3e6SStefan Hansson	vmmc-supply = <&pm8226_l18>;
398f91dc3e6SStefan Hansson	vqmmc-supply = <&pm8226_l21>;
399f91dc3e6SStefan Hansson
400f91dc3e6SStefan Hansson	bus-width = <4>;
401f91dc3e6SStefan Hansson	cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
402f91dc3e6SStefan Hansson
403f91dc3e6SStefan Hansson	status = "okay";
404f91dc3e6SStefan Hansson};
405f91dc3e6SStefan Hansson
406f91dc3e6SStefan Hansson&tlmm {
407f91dc3e6SStefan Hansson	accel_int_default_state: accel-int-default-state {
408f91dc3e6SStefan Hansson		pins = "gpio54";
409f91dc3e6SStefan Hansson		function = "gpio";
410f91dc3e6SStefan Hansson		drive-strength = <2>;
411f91dc3e6SStefan Hansson		bias-disable;
412f91dc3e6SStefan Hansson	};
413f91dc3e6SStefan Hansson
414f91dc3e6SStefan Hansson	backlight_i2c_default_state: backlight-i2c-default-state {
415f91dc3e6SStefan Hansson		pins = "gpio20", "gpio21";
416f91dc3e6SStefan Hansson		function = "gpio";
417f91dc3e6SStefan Hansson		drive-strength = <2>;
418f91dc3e6SStefan Hansson		bias-disable;
419f91dc3e6SStefan Hansson	};
420f91dc3e6SStefan Hansson
421f91dc3e6SStefan Hansson	backlight_pwm_default_state: backlight-pwm-default-state {
422f91dc3e6SStefan Hansson		pins = "gpio33";
423f91dc3e6SStefan Hansson		function = "gp0_clk";
424f91dc3e6SStefan Hansson	};
425f91dc3e6SStefan Hansson
426f91dc3e6SStefan Hansson	muic_int_default_state: muic-int-default-state {
427f91dc3e6SStefan Hansson		pins = "gpio67";
428f91dc3e6SStefan Hansson		function = "gpio";
429f91dc3e6SStefan Hansson		drive-strength = <2>;
430f91dc3e6SStefan Hansson		bias-disable;
431f91dc3e6SStefan Hansson	};
432f91dc3e6SStefan Hansson
433f91dc3e6SStefan Hansson	tsp_en_default_state: tsp-en-default-state {
434f91dc3e6SStefan Hansson		pins = "gpio31";
435f91dc3e6SStefan Hansson		function = "gpio";
436f91dc3e6SStefan Hansson		drive-strength = <2>;
437f91dc3e6SStefan Hansson		bias-disable;
438f91dc3e6SStefan Hansson	};
439f91dc3e6SStefan Hansson
440f91dc3e6SStefan Hansson	tsp_int_rst_default_state: tsp-int-rst-default-state {
441f91dc3e6SStefan Hansson		pins = "gpio17";
442f91dc3e6SStefan Hansson		function = "gpio";
443f91dc3e6SStefan Hansson		drive-strength = <10>;
444f91dc3e6SStefan Hansson		bias-pull-up;
445f91dc3e6SStefan Hansson	};
446f91dc3e6SStefan Hansson};
447f91dc3e6SStefan Hansson
448f91dc3e6SStefan Hansson&usb {
449f91dc3e6SStefan Hansson	extcon = <&muic>, <&muic>;
450f91dc3e6SStefan Hansson	status = "okay";
451f91dc3e6SStefan Hansson};
452f91dc3e6SStefan Hansson
453f91dc3e6SStefan Hansson&usb_hs_phy {
454f91dc3e6SStefan Hansson	extcon = <&muic>;
455f91dc3e6SStefan Hansson	v1p8-supply = <&pm8226_l10>;
456f91dc3e6SStefan Hansson	v3p3-supply = <&pm8226_l20>;
457f91dc3e6SStefan Hansson};
458