Lines Matching +full:suspend +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/soc/rockchip,vop2.h>
12 model = "Hardkernel ODROID-M1S";
13 compatible = "hardkernel,odroid-m1s", "rockchip,rk3566";
22 stdout-path = "serial2:1500000n8";
25 hdmi-con {
26 compatible = "hdmi-connector";
31 remote-endpoint = <&hdmi_out_con>;
37 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pwr_led>, <&sys_led>;
41 led_pwr: led-0 {
43 default-state = "on";
45 gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "default-on";
49 led_sys: led-1 {
51 default-state = "on";
53 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
54 linux,default-trigger = "heartbeat";
58 vcc3v3_lcd: regulator-3v3-vcc-lcd {
59 compatible = "regulator-fixed";
60 enable-active-high;
61 gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&lcd_pwren>;
64 regulator-name = "vcc3v3_lcd";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
67 vin-supply = <&vcc3v3_sys>;
70 vcc3v3_pcie: regulator-3v3-vcc-pcie {
71 compatible = "regulator-fixed";
72 enable-active-high;
73 gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pcie_pwren>;
76 regulator-name = "vcc3v3_pcie";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 vin-supply = <&vcc3v3_sys>;
82 vcc3v3_sys: regulator-3v3-vcc-sys {
83 compatible = "regulator-fixed";
84 regulator-name = "vcc3v3_sys";
85 regulator-always-on;
86 regulator-boot-on;
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
89 vin-supply = <&vcc5v0_sys>;
92 vcc5v0_sys: regulator-5v0-vcc-sys {
93 compatible = "regulator-fixed";
94 regulator-name = "vcc5v0_sys";
95 regulator-always-on;
96 regulator-boot-on;
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
101 vcc5v0_usb2_host: regulator-5v0-vcc-usb2-host {
102 compatible = "regulator-fixed";
103 enable-active-high;
104 gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&usb2_host_pwren>;
107 regulator-name = "vcc5v0_usb2_host";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
110 vin-supply = <&vcc5v0_sys>;
113 vcc5v0_usb2_otg: regulator-5v0-vcc-usb2-otg {
114 compatible = "regulator-fixed";
115 enable-active-high;
116 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&usb2_otg_pwren>;
119 regulator-name = "vcc5v0_usb2_otg";
120 regulator-min-microvolt = <5000000>;
121 regulator-max-microvolt = <5000000>;
122 vin-supply = <&vcc5v0_sys>;
125 vcc5v0_usb3_host: regulator-5v0-vcc-usb3-host {
126 compatible = "regulator-fixed";
127 enable-active-high;
128 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&usb3_host_pwren>;
131 regulator-name = "vcc5v0_usb3_host";
132 regulator-min-microvolt = <5000000>;
133 regulator-max-microvolt = <5000000>;
134 vin-supply = <&vcc5v0_sys>;
138 compatible = "simple-audio-card";
139 simple-audio-card,format = "i2s";
140 simple-audio-card,name = "Analog RK809";
141 simple-audio-card,mclk-fs = <256>;
143 simple-audio-card,cpu {
144 sound-dai = <&i2s1_8ch>;
147 simple-audio-card,codec {
148 sound-dai = <&rk809>;
162 cpu-supply = <&vdd_cpu>;
166 cpu-supply = <&vdd_cpu>;
170 cpu-supply = <&vdd_cpu>;
174 cpu-supply = <&vdd_cpu>;
178 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
179 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
181 phy-handle = <&rgmii_phy1>;
182 phy-mode = "rgmii-id";
183 phy-supply = <&vcc_3v3>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&gmac1m1_miim
195 mali-supply = <&vdd_gpu>;
200 avdd-0v9-supply = <&vdda0v9_image>;
201 avdd-1v8-supply = <&vcca1v8_image>;
207 remote-endpoint = <&vp0_out_hdmi>;
213 remote-endpoint = <&hdmi_con_in>;
227 fcs,suspend-voltage-selector = <1>;
228 regulator-name = "vdd_cpu";
229 regulator-always-on;
230 regulator-boot-on;
231 regulator-min-microvolt = <712500>;
232 regulator-max-microvolt = <1390000>;
233 regulator-ramp-delay = <2300>;
234 vin-supply = <&vcc3v3_sys>;
236 regulator-state-mem {
237 regulator-off-in-suspend;
244 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
245 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
246 #clock-cells = <1>;
248 clock-names = "mclk";
249 clock-output-names = "rk809-clkout1", "rk809-clkout2";
250 interrupt-parent = <&gpio0>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>;
254 #sound-dai-cells = <0>;
255 system-power-controller;
256 wakeup-source;
258 vcc1-supply = <&vcc3v3_sys>;
259 vcc2-supply = <&vcc3v3_sys>;
260 vcc3-supply = <&vcc3v3_sys>;
261 vcc4-supply = <&vcc3v3_sys>;
262 vcc5-supply = <&vcc3v3_sys>;
263 vcc6-supply = <&vcc3v3_sys>;
264 vcc7-supply = <&vcc3v3_sys>;
265 vcc8-supply = <&vcc3v3_sys>;
266 vcc9-supply = <&vcc3v3_sys>;
270 regulator-name = "vdd_logic";
271 regulator-always-on;
272 regulator-boot-on;
273 regulator-initial-mode = <0x2>;
274 regulator-min-microvolt = <500000>;
275 regulator-max-microvolt = <1350000>;
276 regulator-ramp-delay = <6001>;
278 regulator-state-mem {
279 regulator-off-in-suspend;
284 regulator-name = "vdd_gpu";
285 regulator-always-on;
286 regulator-boot-on;
287 regulator-initial-mode = <0x2>;
288 regulator-min-microvolt = <500000>;
289 regulator-max-microvolt = <1350000>;
290 regulator-ramp-delay = <6001>;
292 regulator-state-mem {
293 regulator-off-in-suspend;
298 regulator-name = "vcc_ddr";
299 regulator-always-on;
300 regulator-boot-on;
301 regulator-initial-mode = <0x2>;
303 regulator-state-mem {
304 regulator-on-in-suspend;
309 regulator-name = "vdd_npu";
310 regulator-initial-mode = <0x2>;
311 regulator-min-microvolt = <500000>;
312 regulator-max-microvolt = <1350000>;
313 regulator-ramp-delay = <6001>;
315 regulator-state-mem {
316 regulator-off-in-suspend;
321 regulator-name = "vcc_1v8";
322 regulator-always-on;
323 regulator-boot-on;
324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <1800000>;
327 regulator-state-mem {
328 regulator-off-in-suspend;
333 regulator-name = "vdda0v9_image";
334 regulator-min-microvolt = <900000>;
335 regulator-max-microvolt = <900000>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
343 regulator-name = "vdda_0v9";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <900000>;
347 regulator-max-microvolt = <900000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "vdda0v9_pmu";
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <900000>;
359 regulator-max-microvolt = <900000>;
361 regulator-state-mem {
362 regulator-on-in-suspend;
363 regulator-suspend-microvolt = <900000>;
368 regulator-name = "vccio_acodec";
369 regulator-always-on;
370 regulator-boot-on;
371 regulator-min-microvolt = <3300000>;
372 regulator-max-microvolt = <3300000>;
374 regulator-state-mem {
375 regulator-off-in-suspend;
380 regulator-name = "vccio_sd";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <3300000>;
384 regulator-state-mem {
385 regulator-off-in-suspend;
390 regulator-name = "vcc3v3_pmu";
391 regulator-always-on;
392 regulator-boot-on;
393 regulator-min-microvolt = <3300000>;
394 regulator-max-microvolt = <3300000>;
396 regulator-state-mem {
397 regulator-on-in-suspend;
398 regulator-suspend-microvolt = <3300000>;
403 regulator-name = "vcca_1v8";
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
409 regulator-state-mem {
410 regulator-off-in-suspend;
415 regulator-name = "vcca1v8_pmu";
416 regulator-always-on;
417 regulator-boot-on;
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
421 regulator-state-mem {
422 regulator-on-in-suspend;
423 regulator-suspend-microvolt = <1800000>;
428 regulator-name = "vcca1v8_image";
429 regulator-min-microvolt = <1800000>;
430 regulator-max-microvolt = <1800000>;
432 regulator-state-mem {
433 regulator-off-in-suspend;
438 regulator-name = "vcc_3v3";
439 regulator-always-on;
440 regulator-boot-on;
442 regulator-state-mem {
443 regulator-off-in-suspend;
448 regulator-name = "vcc3v3_sd";
450 regulator-state-mem {
451 regulator-off-in-suspend;
463 pinctrl-names = "default";
464 pinctrl-0 = <&i2s1m0_sclktx
468 rockchip,trcm-sync-tx-only;
473 rgmii_phy1: ethernet-phy@1 {
474 compatible = "ethernet-phy-ieee802.3-c22";
476 reset-assert-us = <20000>;
477 reset-deassert-us = <100000>;
478 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&pcie20_pins>;
485 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
486 vpcie3v3-supply = <&vcc3v3_pcie>;
492 lcd_pwren: lcd-pwren {
498 pwr_led: pwr-led {
502 sys_led: sys-led {
508 pcie20_pins: pcie20-pins {
515 pcie_pwren: pcie-pwren {
521 pmic_int: pmic-int {
527 usb2_host_pwren: usb2-host-pwren {
531 usb2_otg_pwren: usb2-otg-pwren {
535 usb3_host_pwren: usb3-host-pwren {
542 pmuio1-supply = <&vcc3v3_pmu>;
543 pmuio2-supply = <&vcc3v3_pmu>;
544 vccio1-supply = <&vccio_acodec>;
545 vccio2-supply = <&vcc_1v8>;
546 vccio3-supply = <&vccio_sd>;
547 vccio4-supply = <&vcc_3v3>;
548 vccio5-supply = <&vcc_3v3>;
549 vccio6-supply = <&vcc_3v3>;
550 vccio7-supply = <&vcc_3v3>;
555 vref-supply = <&vcca_1v8>;
560 bus-width = <8>;
561 cap-mmc-highspeed;
562 max-frequency = <200000000>;
563 mmc-hs200-1_8v;
564 no-sd;
565 no-sdio;
566 non-removable;
567 pinctrl-names = "default";
568 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe &emmc_rstnout>;
569 vmmc-supply = <&vcc_3v3>;
570 vqmmc-supply = <&vcc_1v8>;
575 bus-width = <4>;
576 cap-sd-highspeed;
577 disable-wp;
578 pinctrl-names = "default";
579 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
580 sd-uhs-sdr50;
581 vmmc-supply = <&vcc3v3_sd>;
582 vqmmc-supply = <&vccio_sd>;
587 rockchip,hw-tshut-mode = <1>;
588 rockchip,hw-tshut-polarity = <0>;
625 phy-supply = <&vcc5v0_usb3_host>;
630 phy-supply = <&vcc5v0_usb2_otg>;
639 phy-supply = <&vcc5v0_usb2_host>;
644 phy-supply = <&vcc5v0_usb2_host>;
649 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
650 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
661 remote-endpoint = <&hdmi_in_vp0>;