Lines Matching +full:sdmmc +full:- +full:1 +full:v8

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include "rk3399-opp.dtsi"
10 #include <dt-bindings/interrupt-controller/irq.h>
15 mmc1 = &sdmmc;
19 sdio_pwrseq: sdio-pwrseq {
20 compatible = "mmc-pwrseq-simple";
21 clocks = <&rk808 1>;
22 clock-names = "ext_clock";
23 pinctrl-names = "default";
24 pinctrl-0 = <&wifi_enable_h>;
25 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
28 vcc12v_dcin: vcc12v-dcin {
29 compatible = "regulator-fixed";
30 regulator-name = "vcc12v_dcin";
31 regulator-min-microvolt = <12000000>;
32 regulator-max-microvolt = <12000000>;
33 regulator-always-on;
34 regulator-boot-on;
37 vcc1v8_s0: vcc1v8-s0 {
38 compatible = "regulator-fixed";
39 regulator-name = "vcc1v8_s0";
40 regulator-min-microvolt = <1800000>;
41 regulator-max-microvolt = <1800000>;
42 regulator-always-on;
45 vcc5v0_sys: vcc5v0-sys {
46 compatible = "regulator-fixed";
47 regulator-name = "vcc5v0_sys";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
50 regulator-always-on;
51 vin-supply = <&vcc12v_dcin>;
54 vcc3v3_sys: vcc3v3-sys {
55 compatible = "regulator-fixed";
56 regulator-name = "vcc3v3_sys";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
59 regulator-always-on;
60 vin-supply = <&vcc5v0_sys>;
63 vcc3v3_pcie: vcc3v3-pcie-regulator {
64 compatible = "regulator-fixed";
65 enable-active-high;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pcie_drv>;
68 regulator-boot-on;
69 regulator-name = "vcc3v3_pcie";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 vin-supply = <&vcc3v3_sys>;
75 vcc5v0_host: vcc5v0-host-regulator {
76 compatible = "regulator-fixed";
77 enable-active-high;
78 pinctrl-names = "default";
79 pinctrl-0 = <&host_vbus_drv>;
80 regulator-name = "vcc5v0_host";
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
83 regulator-always-on;
84 vin-supply = <&vcc5v0_sys>;
87 vcc_0v9: vcc-0v9 {
88 compatible = "regulator-fixed";
89 regulator-name = "vcc_0v9";
90 regulator-always-on;
91 regulator-min-microvolt = <900000>;
92 regulator-max-microvolt = <900000>;
93 vin-supply = <&vcc3v3_sys>;
98 cpu-supply = <&vdd_cpu_l>;
102 cpu-supply = <&vdd_cpu_l>;
106 cpu-supply = <&vdd_cpu_l>;
110 cpu-supply = <&vdd_cpu_l>;
114 cpu-supply = <&vdd_cpu_b>;
118 cpu-supply = <&vdd_cpu_b>;
126 mali-supply = <&vdd_gpu>;
131 avdd-0v9-supply = <&vcca0v9_hdmi>;
132 avdd-1v8-supply = <&vcca1v8_hdmi>;
133 ddc-i2c-bus = <&i2c3>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&hdmi_cec>;
144 clock-frequency = <400000>;
145 i2c-scl-rising-time-ns = <168>;
146 i2c-scl-falling-time-ns = <4>;
152 fcs,suspend-voltage-selector = <1>;
153 regulator-name = "vdd_cpu_b";
154 regulator-min-microvolt = <712500>;
155 regulator-max-microvolt = <1500000>;
156 regulator-ramp-delay = <1000>;
157 regulator-always-on;
158 regulator-boot-on;
159 vin-supply = <&vcc5v0_sys>;
162 regulator-state-mem {
163 regulator-off-in-suspend;
170 fcs,suspend-voltage-selector = <1>;
171 regulator-name = "vdd_gpu";
172 regulator-min-microvolt = <712500>;
173 regulator-max-microvolt = <1500000>;
174 regulator-ramp-delay = <1000>;
175 regulator-always-on;
176 regulator-boot-on;
177 vin-supply = <&vcc5v0_sys>;
178 regulator-state-mem {
179 regulator-off-in-suspend;
183 rk808: pmic@1b {
186 interrupt-parent = <&gpio1>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pmic_int_l>;
190 rockchip,system-power-controller;
191 wakeup-source;
192 #clock-cells = <1>;
193 clock-output-names = "xin32k", "rk808-clkout2";
195 vcc1-supply = <&vcc5v0_sys>;
196 vcc2-supply = <&vcc5v0_sys>;
197 vcc3-supply = <&vcc5v0_sys>;
198 vcc4-supply = <&vcc5v0_sys>;
199 vcc6-supply = <&vcc5v0_sys>;
200 vcc7-supply = <&vcc5v0_sys>;
201 vcc8-supply = <&vcc3v3_sys>;
202 vcc9-supply = <&vcc5v0_sys>;
203 vcc10-supply = <&vcc5v0_sys>;
204 vcc11-supply = <&vcc5v0_sys>;
205 vcc12-supply = <&vcc3v3_sys>;
206 vddio-supply = <&vcc_1v8>;
210 regulator-name = "vdd_center";
211 regulator-min-microvolt = <750000>;
212 regulator-max-microvolt = <1350000>;
213 regulator-always-on;
214 regulator-boot-on;
215 regulator-state-mem {
216 regulator-off-in-suspend;
221 regulator-name = "vdd_cpu_l";
222 regulator-min-microvolt = <750000>;
223 regulator-max-microvolt = <1350000>;
224 regulator-always-on;
225 regulator-boot-on;
226 regulator-state-mem {
227 regulator-off-in-suspend;
232 regulator-name = "vcc_ddr";
233 regulator-always-on;
234 regulator-boot-on;
235 regulator-state-mem {
236 regulator-on-in-suspend;
241 regulator-name = "vcc_1v8";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
244 regulator-always-on;
245 regulator-boot-on;
246 regulator-state-mem {
247 regulator-on-in-suspend;
248 regulator-suspend-microvolt = <1800000>;
253 regulator-name = "vcc1v8_dvp";
254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <1800000>;
256 regulator-always-on;
257 regulator-boot-on;
258 regulator-state-mem {
259 regulator-on-in-suspend;
260 regulator-suspend-microvolt = <1800000>;
265 regulator-name = "vcca1v8_hdmi";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
268 regulator-always-on;
269 regulator-boot-on;
270 regulator-state-mem {
271 regulator-on-in-suspend;
272 regulator-suspend-microvolt = <1800000>;
277 regulator-name = "vcca_1v8";
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <1800000>;
280 regulator-always-on;
281 regulator-boot-on;
282 regulator-state-mem {
283 regulator-on-in-suspend;
284 regulator-suspend-microvolt = <1800000>;
289 regulator-name = "vcc_sd";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <3300000>;
292 regulator-always-on;
293 regulator-boot-on;
294 regulator-state-mem {
295 regulator-on-in-suspend;
296 regulator-suspend-microvolt = <3300000>;
301 regulator-name = "vcc3v0_sd";
302 regulator-min-microvolt = <3000000>;
303 regulator-max-microvolt = <3000000>;
304 regulator-always-on;
305 regulator-boot-on;
306 regulator-state-mem {
307 regulator-on-in-suspend;
308 regulator-suspend-microvolt = <3000000>;
313 regulator-name = "vcc_1v5";
314 regulator-min-microvolt = <1500000>;
315 regulator-max-microvolt = <1500000>;
316 regulator-always-on;
317 regulator-boot-on;
318 regulator-state-mem {
319 regulator-on-in-suspend;
320 regulator-suspend-microvolt = <1500000>;
325 regulator-name = "vcca0v9_hdmi";
326 regulator-min-microvolt = <900000>;
327 regulator-max-microvolt = <900000>;
328 regulator-always-on;
329 regulator-boot-on;
330 regulator-state-mem {
331 regulator-on-in-suspend;
332 regulator-suspend-microvolt = <900000>;
337 regulator-name = "vcc_3v0";
338 regulator-min-microvolt = <3000000>;
339 regulator-max-microvolt = <3000000>;
340 regulator-always-on;
341 regulator-boot-on;
342 regulator-state-mem {
343 regulator-on-in-suspend;
344 regulator-suspend-microvolt = <3000000>;
349 regulator-name = "vcc3v3_s3";
350 regulator-always-on;
351 regulator-boot-on;
352 regulator-state-mem {
353 regulator-on-in-suspend;
358 regulator-name = "vcc3v3_s0";
359 regulator-always-on;
360 regulator-boot-on;
361 regulator-state-mem {
362 regulator-on-in-suspend;
390 bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
391 audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
392 sdmmc-supply = <&vcc_sd>; /* sdmmc_gpio4b_ms */
393 gpio1830-supply = <&vcc_3v0>; /* gpio1833_gpio4cd_ms */
402 num-lanes = <4>;
403 pinctrl-names = "default";
404 pinctrl-0 = <&pcie_clkreqn_cpm>;
405 vpcie0v9-supply = <&vcc_0v9>;
406 vpcie1v8-supply = <&vcca_1v8>;
407 vpcie3v3-supply = <&vcc3v3_pcie>;
412 pmu1830-supply = <&vcc_1v8>;
418 bt_enable_h: bt-enable-h {
422 bt_host_wake_l: bt-host-wake-l {
426 bt_wake_l: bt-wake-l {
431 sdmmc {
432 sdmmc_bus1: sdmmc-bus1 {
434 <4 RK_PB0 1 &pcfg_pull_up_8ma>;
437 sdmmc_bus4: sdmmc-bus4 {
439 <4 RK_PB0 1 &pcfg_pull_up_8ma>,
440 <4 RK_PB1 1 &pcfg_pull_up_8ma>,
441 <4 RK_PB2 1 &pcfg_pull_up_8ma>,
442 <4 RK_PB3 1 &pcfg_pull_up_8ma>;
445 sdmmc_clk: sdmmc-clk {
447 <4 RK_PB4 1 &pcfg_pull_none_18ma>;
450 sdmmc_cmd: sdmmc-cmd {
452 <4 RK_PB5 1 &pcfg_pull_up_8ma>;
457 sdio0_bus4: sdio0-bus4 {
459 <2 RK_PC4 1 &pcfg_pull_up_20ma>,
460 <2 RK_PC5 1 &pcfg_pull_up_20ma>,
461 <2 RK_PC6 1 &pcfg_pull_up_20ma>,
462 <2 RK_PC7 1 &pcfg_pull_up_20ma>;
465 sdio0_cmd: sdio0-cmd {
467 <2 RK_PD0 1 &pcfg_pull_up_20ma>;
470 sdio0_clk: sdio0-clk {
472 <2 RK_PD1 1 &pcfg_pull_none_20ma>;
477 pmic_int_l: pmic-int-l {
479 <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
482 vsel1_pin: vsel1-pin {
484 <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
487 vsel2_pin: vsel2-pin {
489 <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
493 sdio-pwrseq {
494 wifi_enable_h: wifi-enable-h {
501 wifi_host_wake_l: wifi-host-wake-l {
516 bus-width = <4>;
517 clock-frequency = <50000000>;
518 cap-sdio-irq;
519 cap-sd-highspeed;
520 keep-power-in-suspend;
521 mmc-pwrseq = <&sdio_pwrseq>;
522 non-removable;
523 pinctrl-names = "default";
524 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
525 sd-uhs-sdr104;
526 #address-cells = <1>;
527 #size-cells = <0>;
530 brcmf: wifi@1 {
531 compatible = "brcm,bcm4329-fmac";
532 reg = <1>;
533 interrupt-parent = <&gpio0>;
535 interrupt-names = "host-wake";
536 pinctrl-names = "default";
537 pinctrl-0 = <&wifi_host_wake_l>;
542 bus-width = <8>;
543 mmc-hs400-1_8v;
544 mmc-hs400-enhanced-strobe;
545 non-removable;
549 &sdmmc {
550 bus-width = <4>;
551 cap-mmc-highspeed;
552 cap-sd-highspeed;
553 clock-frequency = <100000000>;
554 max-frequency = <100000000>;
555 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
556 disable-wp;
557 sd-uhs-sdr104;
558 vqmmc-supply = <&vcc_sd>;
559 card-detect-delay = <800>;
560 pinctrl-names = "default";
561 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
566 rockchip,hw-tshut-mode = <1>;
567 rockchip,hw-tshut-polarity = <1>;
568 rockchip,hw-tshut-temp = <110000>;
573 pinctrl-names = "default";
574 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
578 compatible = "brcm,bcm43438-bt";
579 clocks = <&rk808 1>;
580 clock-names = "ext_clock";
581 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
582 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
583 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
610 phy-supply = <&vcc5v0_host>;
615 phy-supply = <&vcc5v0_host>;