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