1// SPDX-License-Identifier: BSD-3-Clause
2
3/dts-v1/;
4
5#include <dt-bindings/gpio/gpio.h>
6#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
7
8#include "sc7180.dtsi"
9
10#include "pm6150.dtsi"
11#include "pm6150l.dtsi"
12
13/delete-node/ &tz_mem;
14/delete-node/ &ipa_fw_mem;
15
16/ {
17	model = "Acer Aspire 1";
18	compatible = "acer,aspire1", "qcom,sc7180";
19	chassis-type = "laptop";
20
21	aliases {
22		bluetooth0 = &bluetooth;
23		hsuart0 = &uart3;
24		serial0 = &uart8;
25		wifi0 = &wifi;
26	};
27
28	chosen {
29		stdout-path = "serial0:115200n8";
30	};
31
32	reserved-memory {
33		zap_mem: zap-shader@80840000 {
34			reg = <0x0 0x80840000 0 0x2000>;
35			no-map;
36		};
37
38		venus_mem: venus@85b00000 {
39			reg = <0x0 0x85b00000 0 0x500000>;
40			no-map;
41		};
42
43		mpss_mem: mpss@86000000 {
44			reg = <0x0 0x86000000 0x0 0x2000000>;
45			no-map;
46		};
47
48		adsp_mem: adsp@8e400000 {
49			reg = <0x0 0x8e400000 0x0 0x2800000>;
50			no-map;
51		};
52
53		wlan_mem: wlan@93900000 {
54			reg = <0x0 0x93900000 0x0 0x200000>;
55			no-map;
56		};
57	};
58
59	max98357a: audio-codec {
60		compatible = "maxim,max98357a";
61		sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
62
63		pinctrl-0 = <&amp_sd_mode_default>;
64		pinctrl-names = "default";
65
66		#sound-dai-cells = <0>;
67	};
68
69	backlight: backlight {
70		compatible = "pwm-backlight";
71		pwms = <&sn65dsi86_bridge 1000000>;
72		enable-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
73
74		pinctrl-0 = <&soc_bkoff_default>;
75		pinctrl-names = "default";
76	};
77
78	reg_brij_1p2: bridge-1p2-regulator {
79		compatible = "regulator-fixed";
80		regulator-name = "brij_1p2";
81		regulator-min-microvolt = <1200000>;
82		regulator-max-microvolt = <1200000>;
83
84		gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>;
85		enable-active-high;
86
87		pinctrl-0 = <&reg_edp_1p2_en_default>;
88		pinctrl-names = "default";
89	};
90
91	reg_brij_1p8: bridge-regulator {
92		compatible = "regulator-fixed";
93		regulator-name = "brij_1p8";
94		regulator-min-microvolt = <1800000>;
95		regulator-max-microvolt = <1800000>;
96
97		vin-supply = <&vreg_l8c_1p8>;
98
99		gpio = <&tlmm 20 GPIO_ACTIVE_HIGH>;
100		enable-active-high;
101
102		pinctrl-0 = <&reg_edp_1p8_en_default>;
103		pinctrl-names = "default";
104	};
105
106	reg_codec_3p3: codec-regulator {
107		compatible = "regulator-fixed";
108		regulator-name = "codec_3p3";
109		regulator-min-microvolt = <3300000>;
110		regulator-max-microvolt = <3300000>;
111
112		gpio = <&tlmm 83 GPIO_ACTIVE_HIGH>;
113		enable-active-high;
114
115		pinctrl-0 = <&reg_audio_en_default>;
116		pinctrl-names = "default";
117	};
118
119	reg_lcm_3p3: panel-regulator {
120		compatible = "regulator-fixed";
121		regulator-name = "lcm_3p3";
122		regulator-min-microvolt = <3300000>;
123		regulator-max-microvolt = <3300000>;
124
125		gpio = <&tlmm 26 GPIO_ACTIVE_HIGH>;
126		enable-active-high;
127
128		pinctrl-0 = <&reg_lcm_en_default>;
129		pinctrl-names = "default";
130	};
131
132	reg_tp_3p3: touchpad-regulator {
133		compatible = "regulator-fixed";
134		regulator-name = "tp_3p3";
135		regulator-min-microvolt = <3300000>;
136		regulator-max-microvolt = <3300000>;
137
138		gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
139		enable-active-high;
140
141		pinctrl-0 = <&reg_tp_en_default>;
142		pinctrl-names = "default";
143	};
144};
145
146&i2c2 {
147	clock-frequency = <400000>;
148	status = "okay";
149
150	/* embedded-controller@76 */
151};
152
153&i2c4 {
154	clock-frequency = <400000>;
155	status = "okay";
156
157	/*
158	 * NOTE: DSDT defines two possible touchpads, other one is
159	 *
160	 * reg = <0x15>;
161	 * hid-descr-addr = <0x1>;
162	 */
163
164	touchpad@2c {
165		compatible = "hid-over-i2c";
166		reg = <0x2c>;
167		hid-descr-addr = <0x20>;
168
169		vdd-supply = <&reg_tp_3p3>;
170
171		interrupts-extended = <&tlmm 94 IRQ_TYPE_LEVEL_LOW>;
172
173		pinctrl-0 = <&hid_touchpad_default>;
174		pinctrl-names = "default";
175
176		wakeup-source;
177	};
178
179	keyboard@3a {
180		compatible = "hid-over-i2c";
181		reg = <0x3a>;
182		hid-descr-addr = <0x1>;
183
184		interrupts-extended = <&tlmm 33 IRQ_TYPE_LEVEL_LOW>;
185
186		pinctrl-0 = <&hid_keyboard_default>;
187		pinctrl-names = "default";
188
189		wakeup-source;
190	};
191};
192
193&i2c9 {
194	clock-frequency = <400000>;
195	status = "okay";
196
197	alc5682: codec@1a {
198		compatible = "realtek,rt5682i";
199		reg = <0x1a>;
200
201		#sound-dai-cells = <1>;
202
203		interrupt-parent = <&tlmm>;
204		interrupts = <28 IRQ_TYPE_EDGE_BOTH>;
205
206		pinctrl-0 = <&codec_irq_default>;
207		pinctrl-names = "default";
208
209		AVDD-supply = <&vreg_l15a_1p8>;
210		MICVDD-supply = <&reg_codec_3p3>;
211		VBAT-supply = <&reg_codec_3p3>;
212
213		realtek,dmic1-data-pin = <1>;
214		realtek,dmic1-clk-pin = <1>;
215		realtek,jd-src = <1>;
216	};
217};
218
219&i2c10 {
220	clock-frequency = <400000>;
221	status = "okay";
222
223	sn65dsi86_bridge: bridge@2c {
224		compatible = "ti,sn65dsi86";
225		reg = <0x2c>;
226		gpio-controller;
227		#gpio-cells = <2>;
228		#pwm-cells = <1>;
229
230		interrupt-parent = <&tlmm>;
231		interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
232
233		enable-gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
234		suspend-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
235
236		pinctrl-0 = <&bridge_en_default>,
237			    <&edp_bridge_irq_default>,
238			    <&bridge_suspend_default>;
239		pinctrl-names = "default";
240
241		vpll-supply = <&reg_brij_1p8>;
242		vccio-supply = <&reg_brij_1p8>;
243		vcca-supply = <&reg_brij_1p2>;
244		vcc-supply = <&reg_brij_1p2>;
245
246		clocks = <&rpmhcc RPMH_LN_BB_CLK3>;
247		clock-names = "refclk";
248
249		ports {
250			#address-cells = <1>;
251			#size-cells = <0>;
252
253			port@0 {
254				reg = <0>;
255
256				sn65dsi86_in: endpoint {
257					remote-endpoint = <&mdss_dsi0_out>;
258				};
259			};
260
261			port@1 {
262				reg = <1>;
263
264				sn65dsi86_out: endpoint {
265					data-lanes = <0 1>;
266					remote-endpoint = <&panel_in_edp>;
267				};
268			};
269		};
270
271		aux-bus {
272			panel: panel {
273				compatible = "edp-panel";
274				power-supply = <&reg_lcm_3p3>;
275				backlight = <&backlight>;
276				hpd-absent-delay-ms = <200>;
277
278				port {
279					panel_in_edp: endpoint {
280						remote-endpoint = <&sn65dsi86_out>;
281					};
282				};
283			};
284		};
285	};
286};
287
288&gpu {
289	status = "okay";
290
291	zap-shader {
292		memory-region = <&zap_mem>;
293		firmware-name = "qcom/sc7180/acer/aspire1/qcdxkmsuc7180.mbn";
294	};
295};
296
297&mdss {
298	status = "okay";
299};
300
301&mdss_dsi0 {
302	vdda-supply = <&vreg_l3c_1p2>;
303	status = "okay";
304};
305
306&mdss_dsi0_out {
307	remote-endpoint = <&sn65dsi86_in>;
308	data-lanes = <0 1 2 3>;
309};
310
311&mdss_dsi0_phy {
312	vdds-supply = <&vreg_l4a_0p8>;
313	status = "okay";
314};
315
316&pm6150_adc {
317	thermistor@4e {
318		reg = <ADC5_AMUX_THM2_100K_PU>;
319		qcom,ratiometric;
320		qcom,hw-settle-time = <200>;
321	};
322
323	charger-thermistor@4f {
324		reg = <ADC5_AMUX_THM3_100K_PU>;
325		qcom,ratiometric;
326		qcom,hw-settle-time = <200>;
327	};
328};
329
330&pm6150_adc_tm {
331	status = "okay";
332
333	charger-thermistor@0 {
334		reg = <0>;
335		io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
336		qcom,ratiometric;
337		qcom,hw-settle-time-us = <200>;
338	};
339
340	thermistor@1 {
341		reg = <1>;
342		io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
343		qcom,ratiometric;
344		qcom,hw-settle-time-us = <200>;
345	};
346};
347
348&pm6150_pon {
349	status = "disabled";
350};
351
352&qupv3_id_0 {
353	status = "okay";
354};
355
356&qupv3_id_1 {
357	status = "okay";
358};
359
360&remoteproc_mpss {
361	firmware-name = "qcom/sc7180/acer/aspire1/qcmpss7180_nm.mbn";
362	status = "okay";
363};
364
365&sdhc_1 {
366	pinctrl-0 = <&sdc1_default>;
367	pinctrl-1 = <&sdc1_sleep>;
368	pinctrl-names = "default", "sleep";
369	vmmc-supply = <&vreg_l19a_2p9>;
370	vqmmc-supply = <&vreg_l12a_1p8>;
371
372	status = "okay";
373};
374
375&uart3 {
376	/delete-property/interrupts;
377	interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
378			      <&tlmm 41 IRQ_TYPE_EDGE_FALLING>;
379
380	pinctrl-1 = <&qup_uart3_sleep>;
381	pinctrl-names = "default", "sleep";
382
383	status = "okay";
384
385	bluetooth: bluetooth {
386		compatible = "qcom,wcn3991-bt";
387		vddio-supply = <&vreg_l10a_1p8>;
388		vddxo-supply = <&vreg_l1c_1p8>;
389		vddrf-supply = <&vreg_l2c_1p3>;
390		vddch0-supply = <&vreg_l10c_3p3>;
391		max-speed = <3200000>;
392	};
393};
394
395&uart8 {
396	status = "okay";
397};
398
399&usb_1 {
400	status = "okay";
401};
402
403&usb_1_dwc3 {
404	dr_mode = "host";
405	#address-cells = <1>;
406	#size-cells = <0>;
407
408	usb_hub_2_x: hub@1 {
409		compatible = "usbbda,5411";
410		reg = <1>;
411		peer-hub = <&usb_hub_3_x>;
412	};
413
414	usb_hub_3_x: hub@2 {
415		compatible = "usbbda,411";
416		reg = <2>;
417		peer-hub = <&usb_hub_2_x>;
418	};
419};
420
421&usb_1_hsphy {
422	vdd-supply = <&vreg_l4a_0p8>;
423	vdda-pll-supply = <&vreg_l11a_1p8>;
424	vdda-phy-dpdm-supply = <&vreg_l17a_3p0>;
425	qcom,imp-res-offset-value = <8>;
426	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
427	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
428	qcom,bias-ctrl-value = <0x22>;
429	qcom,charge-ctrl-value = <3>;
430	qcom,hsdisc-trim-value = <0>;
431
432	status = "okay";
433};
434
435&usb_1_qmpphy {
436	vdda-phy-supply = <&vreg_l3c_1p2>;
437	vdda-pll-supply = <&vreg_l4a_0p8>;
438
439	status = "okay";
440};
441
442&venus {
443	firmware-name = "qcom/sc7180/acer/aspire1/qcvss7180.mbn";
444};
445
446&wifi {
447	vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>;
448	vdd-1.8-xo-supply = <&vreg_l1c_1p8>;
449	vdd-1.3-rfa-supply = <&vreg_l2c_1p3>;
450	vdd-3.3-ch0-supply = <&vreg_l10c_3p3>;
451	vdd-3.3-ch1-supply = <&vreg_l11c_3p3>;
452
453	status = "okay";
454};
455
456&apps_rsc {
457	regulators-0 {
458		compatible = "qcom,pm6150-rpmh-regulators";
459		qcom,pmic-id = "a";
460
461		vreg_s1a_1p1: smps1 {
462			regulator-min-microvolt = <1128000>;
463			regulator-max-microvolt = <1128000>;
464		};
465
466		vreg_l4a_0p8: ldo4 {
467			regulator-min-microvolt = <824000>;
468			regulator-max-microvolt = <928000>;
469			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
470		};
471
472		vreg_l9a_0p6: ldo9 {
473			regulator-min-microvolt = <488000>;
474			regulator-max-microvolt = <800000>;
475			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
476		};
477
478		vreg_l10a_1p8: ldo10 {
479			regulator-min-microvolt = <1800000>;
480			regulator-max-microvolt = <1800000>;
481			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
482			regulator-always-on;
483			regulator-boot-on;
484		};
485
486		vreg_l11a_1p8: ldo11 {
487			regulator-min-microvolt = <1800000>;
488			regulator-max-microvolt = <1800000>;
489			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
490		};
491
492		vreg_l12a_1p8: ldo12 {
493			regulator-min-microvolt = <1800000>;
494			regulator-max-microvolt = <1800000>;
495			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
496		};
497
498		vreg_l13a_1p8: ldo13 {
499			regulator-min-microvolt = <1800000>;
500			regulator-max-microvolt = <1800000>;
501			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
502		};
503
504		vreg_l14a_1p8: ldo14 {
505			regulator-min-microvolt = <1800000>;
506			regulator-max-microvolt = <1800000>;
507			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
508		};
509
510		vreg_l15a_1p8: ldo15 {
511			regulator-min-microvolt = <1800000>;
512			regulator-max-microvolt = <1800000>;
513			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
514		};
515
516		vreg_l16a_2p7: ldo16 {
517			regulator-min-microvolt = <2496000>;
518			regulator-max-microvolt = <3304000>;
519			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
520		};
521
522		vreg_l17a_3p0: ldo17 {
523			regulator-min-microvolt = <2920000>;
524			regulator-max-microvolt = <3232000>;
525			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
526		};
527
528		vreg_l18a_2p8: ldo18 {
529			regulator-min-microvolt = <2496000>;
530			regulator-max-microvolt = <3304000>;
531			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
532		};
533
534		vreg_l19a_2p9: ldo19 {
535			regulator-min-microvolt = <2960000>;
536			regulator-max-microvolt = <2960000>;
537			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
538		};
539	};
540
541	regulators-1 {
542		compatible = "qcom,pm6150l-rpmh-regulators";
543		qcom,pmic-id = "c";
544
545		vreg_s8c_1p3: smps8 {
546			regulator-min-microvolt = <1120000>;
547			regulator-max-microvolt = <1408000>;
548		};
549
550		vreg_l1c_1p8: ldo1 {
551			regulator-min-microvolt = <1616000>;
552			regulator-max-microvolt = <1984000>;
553			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
554		};
555
556		vreg_l2c_1p3: ldo2 {
557			regulator-min-microvolt = <1168000>;
558			regulator-max-microvolt = <1304000>;
559			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
560		};
561
562		vreg_l3c_1p2: ldo3 {
563			regulator-min-microvolt = <1144000>;
564			regulator-max-microvolt = <1304000>;
565			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
566		};
567
568		vreg_l4c_1p8: ldo4 {
569			regulator-min-microvolt = <1648000>;
570			regulator-max-microvolt = <3304000>;
571			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
572		};
573
574		vreg_l5c_1p8: ldo5 {
575			regulator-min-microvolt = <1648000>;
576			regulator-max-microvolt = <3304000>;
577			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
578		};
579
580		vreg_l6c_2p9: ldo6 {
581			regulator-min-microvolt = <1800000>;
582			regulator-max-microvolt = <2950000>;
583			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
584		};
585
586		vreg_l7c_3p0: ldo7 {
587			regulator-min-microvolt = <3000000>;
588			regulator-max-microvolt = <3312000>;
589			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
590		};
591
592		vreg_l8c_1p8: ldo8 {
593			regulator-min-microvolt = <1800000>;
594			regulator-max-microvolt = <1800000>;
595			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
596		};
597
598		vreg_l9c_2p9: ldo9 {
599			regulator-min-microvolt = <2952000>;
600			regulator-max-microvolt = <2952000>;
601			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
602		};
603
604		vreg_l10c_3p3: ldo10 {
605			regulator-min-microvolt = <3000000>;
606			regulator-max-microvolt = <3400000>;
607			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
608		};
609
610		vreg_l11c_3p3: ldo11 {
611			regulator-min-microvolt = <3000000>;
612			regulator-max-microvolt = <3400000>;
613			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
614		};
615
616		vreg_bob: bob {
617			regulator-min-microvolt = <3008000>;
618			regulator-max-microvolt = <3960000>;
619			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
620		};
621	};
622};
623
624&qup_i2c2_default {
625	drive-strength = <2>;
626
627	/* Has external pullup */
628	bias-disable;
629};
630
631&qup_i2c4_default {
632	drive-strength = <2>;
633
634	/* Has external pullup */
635	bias-disable;
636};
637
638&qup_i2c9_default {
639	drive-strength = <2>;
640
641	/* Has external pullup */
642	bias-disable;
643};
644
645&qup_i2c10_default {
646	drive-strength = <2>;
647
648	/* Has external pullup */
649	bias-disable;
650};
651
652&tlmm {
653	/*
654	 * The TZ seem to protect those because some boards can have
655	 * fingerprint sensor connected to this range. Not connected
656	 * on this board
657	 */
658	gpio-reserved-ranges = <58 5>;
659
660	amp_sd_mode_default: amp-sd-mode-deault-state {
661		pins = "gpio23";
662		function = "gpio";
663		drive-strength = <16>;
664		bias-disable;
665	};
666
667	bridge_en_default: bridge-en-default-state {
668		pins = "gpio51";
669		function = "gpio";
670		drive-strength = <16>;
671		bias-disable;
672	};
673
674	bridge_suspend_default: bridge-suspend-default-state {
675		pins = "gpio22";
676		function = "gpio";
677		drive-strength = <16>;
678		bias-pull-up;
679	};
680
681	codec_irq_default: codec-irq-deault-state {
682		pins = "gpio28";
683		function = "gpio";
684		drive-strength = <2>;
685		bias-disable;
686	};
687
688	edp_bridge_irq_default: edp-bridge-irq-default-state {
689		pins = "gpio11";
690		function = "gpio";
691		drive-strength = <2>;
692		bias-pull-down;
693	};
694
695	hid_keyboard_default: hid-keyboard-default-state {
696		pins = "gpio33";
697		function = "gpio";
698		drive-strength = <2>;
699		bias-disable;
700	};
701
702	hid_touchpad_default: hid-touchpad-default-state {
703		pins = "gpio94";
704		function = "gpio";
705		drive-strength = <2>;
706		bias-disable;
707	};
708
709	qup_uart3_sleep: qup-uart3-sleep-state {
710		cts-pins {
711			/*
712			 * Configure a pull-down on CTS to match the pull of
713			 * the Bluetooth module.
714			 */
715			pins = "gpio38";
716			function = "gpio";
717			bias-pull-down;
718		};
719
720		rts-pins {
721			/*
722			 * Configure pull-down on RTS. As RTS is active low
723			 * signal, pull it low to indicate the BT SoC that it
724			 * can wakeup the system anytime from suspend state by
725			 * pulling RX low (by sending wakeup bytes).
726			 */
727			pins = "gpio39";
728			function = "gpio";
729			bias-pull-down;
730		};
731
732		tx-pins {
733			/*
734			 * Configure pull-up on TX when it isn't actively driven
735			 * to prevent BT SoC from receiving garbage during sleep.
736			 */
737			pins = "gpio40";
738			function = "gpio";
739			bias-pull-up;
740		};
741
742		rx-pins {
743			/*
744			 * Configure a pull-up on RX. This is needed to avoid
745			 * garbage data when the TX pin of the Bluetooth module
746			 * is floating which may cause spurious wakeups.
747			 */
748			pins = "gpio41";
749			function = "gpio";
750			bias-pull-up;
751		};
752	};
753
754	reg_edp_1p2_en_default: reg-edp-1p2-en-deault-state {
755		pins = "gpio19";
756		function = "gpio";
757		drive-strength = <16>;
758		bias-disable;
759	};
760
761	reg_edp_1p8_en_default: reg-edp-1p8-en-deault-state {
762		pins = "gpio20";
763		function = "gpio";
764		drive-strength = <16>;
765		bias-disable;
766	};
767
768	reg_lcm_en_default: reg-lcm-en-deault-state {
769		pins = "gpio26";
770		function = "gpio";
771		drive-strength = <16>;
772		bias-disable;
773	};
774
775	reg_audio_en_default: reg-audio-en-deault-state {
776		pins = "gpio83";
777		function = "gpio";
778		drive-strength = <2>;
779		bias-disable;
780	};
781
782	reg_tp_en_default: reg-tp-en-deault-state {
783		pins = "gpio25";
784		function = "gpio";
785		drive-strength = <2>;
786		bias-disable;
787	};
788
789	soc_bkoff_default: soc-bkoff-deault-state {
790		pins = "gpio10";
791		function = "gpio";
792		drive-strength = <16>;
793		bias-disable;
794	};
795
796	sdc1_default: sdc1-default-state {
797		clk-pins {
798			pins = "sdc1_clk";
799			drive-strength = <16>;
800			bias-disable;
801		};
802
803		cmd-pins {
804			pins = "sdc1_cmd";
805			drive-strength = <16>;
806			bias-pull-up;
807		};
808
809		data-pins {
810			pins = "sdc1_data";
811			drive-strength = <16>;
812			bias-pull-up;
813		};
814
815		rclk-pins {
816			pins = "sdc1_rclk";
817			bias-pull-down;
818		};
819	};
820
821	sdc1_sleep: sdc1-sleep-state {
822		clk-pins {
823			pins = "sdc1_clk";
824			drive-strength = <2>;
825			bias-disable;
826		};
827
828		cmd-pins {
829			pins = "sdc1_cmd";
830			drive-strength = <2>;
831			bias-pull-up;
832		};
833
834		data-pins {
835			pins = "sdc1_data";
836			drive-strength = <2>;
837			bias-pull-up;
838		};
839
840		rclk-pins {
841			pins = "sdc1_rclk";
842			bias-pull-down;
843		};
844	};
845};
846