Lines Matching +full:gpio +full:- +full:ir +full:- +full:receiver

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/soc/rockchip,vop2.h>
15 model = "Hardkernel ODROID-M1";
16 compatible = "hardkernel,odroid-m1", "rockchip,rk3568";
29 stdout-path = "serial2:1500000n8";
32 dc_12v: regulator-dc-12v {
33 compatible = "regulator-fixed";
34 regulator-name = "dc_12v";
35 regulator-always-on;
36 regulator-boot-on;
37 regulator-min-microvolt = <12000000>;
38 regulator-max-microvolt = <12000000>;
41 hdmi-con {
42 compatible = "hdmi-connector";
47 remote-endpoint = <&hdmi_out_con>;
52 ir-receiver {
53 compatible = "gpio-ir-receiver";
55 pinctrl-names = "default";
56 pinctrl-0 = <&ir_receiver_pin>;
60 compatible = "gpio-leds";
62 led_power: led-0 {
66 default-state = "keep";
67 linux,default-trigger = "default-on";
68 pinctrl-names = "default";
69 pinctrl-0 = <&led_power_pin>;
71 led_work: led-1 {
75 linux,default-trigger = "heartbeat";
76 pinctrl-names = "default";
77 pinctrl-0 = <&led_work_pin>;
81 rk809-sound {
82 compatible = "simple-audio-card";
83 pinctrl-names = "default";
84 pinctrl-0 = <&hp_det_pin>;
85 simple-audio-card,name = "Analog RK817";
86 simple-audio-card,format = "i2s";
87 simple-audio-card,hp-det-gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
88 simple-audio-card,mclk-fs = <256>;
89 simple-audio-card,widgets =
92 simple-audio-card,routing =
97 simple-audio-card,cpu {
98 sound-dai = <&i2s1_8ch>;
101 simple-audio-card,codec {
102 sound-dai = <&rk809>;
106 vcc3v3_pcie: regulator-vcc3v3-pcie {
107 compatible = "regulator-fixed";
108 regulator-name = "vcc3v3_pcie";
109 enable-active-high;
110 gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&vcc3v3_pcie_en_pin>;
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
115 startup-delay-us = <5000>;
116 vin-supply = <&vcc3v3_sys>;
119 vcc3v3_sys: regulator-vcc3v3-sys {
120 compatible = "regulator-fixed";
121 regulator-name = "vcc3v3_sys";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <3300000>;
125 regulator-max-microvolt = <3300000>;
126 vin-supply = <&dc_12v>;
129 vcc5v0_sys: regulator-vcc5v0-sys {
130 compatible = "regulator-fixed";
131 regulator-name = "vcc5v0_sys";
132 regulator-always-on;
133 regulator-boot-on;
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5000000>;
136 vin-supply = <&dc_12v>;
139 vcc5v0_usb_host: regulator-vcc5v0-usb-host {
140 compatible = "regulator-fixed";
141 regulator-name = "vcc5v0_usb_host";
142 enable-active-high;
143 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&vcc5v0_usb_host_en_pin>;
146 regulator-min-microvolt = <5000000>;
147 regulator-max-microvolt = <5000000>;
148 vin-supply = <&vcc5v0_sys>;
151 vcc5v0_usb_otg: regulator-vcc5v0-usb-otg {
152 compatible = "regulator-fixed";
153 regulator-name = "vcc5v0_usb_otg";
154 enable-active-high;
155 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&vcc5v0_usb_otg_en_pin>;
158 regulator-min-microvolt = <5000000>;
159 regulator-max-microvolt = <5000000>;
160 vin-supply = <&vcc5v0_sys>;
166 phy-supply = <&vcc5v0_usb_host>;
172 phy-supply = <&vcc5v0_usb_otg>;
182 cpu-supply = <&vdd_cpu>;
186 cpu-supply = <&vdd_cpu>;
190 cpu-supply = <&vdd_cpu>;
194 cpu-supply = <&vdd_cpu>;
198 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
199 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>;
200 assigned-clock-rates = <0>, <125000000>;
202 phy-handle = <&rgmii_phy0>;
203 phy-mode = "rgmii";
204 phy-supply = <&vcc3v3_sys>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&gmac0_miim
218 mali-supply = <&vdd_gpu>;
223 avdd-0v9-supply = <&vdda0v9_image>;
224 avdd-1v8-supply = <&vcca1v8_image>;
230 remote-endpoint = <&vp0_out_hdmi>;
236 remote-endpoint = <&hdmi_con_in>;
250 fcs,suspend-voltage-selector = <1>;
251 regulator-name = "vdd_cpu";
252 regulator-always-on;
253 regulator-boot-on;
254 regulator-min-microvolt = <800000>;
255 regulator-max-microvolt = <1150000>;
256 regulator-ramp-delay = <2300>;
257 vin-supply = <&vcc3v3_sys>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
267 interrupt-parent = <&gpio0>;
269 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
270 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
271 #clock-cells = <1>;
272 clock-names = "mclk";
274 pinctrl-names = "default";
275 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
276 system-power-controller;
277 #sound-dai-cells = <0>;
278 vcc1-supply = <&vcc3v3_sys>;
279 vcc2-supply = <&vcc3v3_sys>;
280 vcc3-supply = <&vcc3v3_sys>;
281 vcc4-supply = <&vcc3v3_sys>;
282 vcc5-supply = <&vcc3v3_sys>;
283 vcc6-supply = <&vcc3v3_sys>;
284 vcc7-supply = <&vcc3v3_sys>;
285 vcc8-supply = <&vcc3v3_sys>;
286 vcc9-supply = <&vcc3v3_sys>;
287 wakeup-source;
291 regulator-name = "vdd_logic";
292 regulator-always-on;
293 regulator-boot-on;
294 regulator-initial-mode = <0x2>;
295 regulator-min-microvolt = <500000>;
296 regulator-max-microvolt = <1350000>;
297 regulator-ramp-delay = <6001>;
299 regulator-state-mem {
300 regulator-off-in-suspend;
305 regulator-name = "vdd_gpu";
306 regulator-always-on;
307 regulator-initial-mode = <0x2>;
308 regulator-min-microvolt = <500000>;
309 regulator-max-microvolt = <1350000>;
310 regulator-ramp-delay = <6001>;
312 regulator-state-mem {
313 regulator-off-in-suspend;
318 regulator-name = "vcc_ddr";
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-initial-mode = <0x2>;
323 regulator-state-mem {
324 regulator-on-in-suspend;
329 regulator-name = "vdd_npu";
330 regulator-initial-mode = <0x2>;
331 regulator-min-microvolt = <500000>;
332 regulator-max-microvolt = <1350000>;
333 regulator-ramp-delay = <6001>;
335 regulator-state-mem {
336 regulator-off-in-suspend;
341 regulator-name = "vcc_1v8";
342 regulator-always-on;
343 regulator-boot-on;
344 regulator-min-microvolt = <1800000>;
345 regulator-max-microvolt = <1800000>;
347 regulator-state-mem {
348 regulator-off-in-suspend;
353 regulator-name = "vdda0v9_image";
354 regulator-always-on;
355 regulator-min-microvolt = <900000>;
356 regulator-max-microvolt = <900000>;
358 regulator-state-mem {
359 regulator-off-in-suspend;
364 regulator-name = "vdda_0v9";
365 regulator-always-on;
366 regulator-boot-on;
367 regulator-min-microvolt = <900000>;
368 regulator-max-microvolt = <900000>;
370 regulator-state-mem {
371 regulator-off-in-suspend;
376 regulator-name = "vdda0v9_pmu";
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-min-microvolt = <900000>;
380 regulator-max-microvolt = <900000>;
382 regulator-state-mem {
383 regulator-on-in-suspend;
384 regulator-suspend-microvolt = <900000>;
389 regulator-name = "vccio_acodec";
390 regulator-always-on;
391 regulator-boot-on;
392 regulator-min-microvolt = <3300000>;
393 regulator-max-microvolt = <3300000>;
395 regulator-state-mem {
396 regulator-off-in-suspend;
401 regulator-name = "vccio_sd";
402 regulator-min-microvolt = <1800000>;
403 regulator-max-microvolt = <3300000>;
405 regulator-state-mem {
406 regulator-off-in-suspend;
411 regulator-name = "vcc3v3_pmu";
412 regulator-always-on;
413 regulator-boot-on;
414 regulator-min-microvolt = <3300000>;
415 regulator-max-microvolt = <3300000>;
417 regulator-state-mem {
418 regulator-on-in-suspend;
419 regulator-suspend-microvolt = <3300000>;
424 regulator-name = "vcca_1v8";
425 regulator-always-on;
426 regulator-boot-on;
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
430 regulator-state-mem {
431 regulator-off-in-suspend;
436 regulator-name = "vcca1v8_pmu";
437 regulator-always-on;
438 regulator-boot-on;
439 regulator-min-microvolt = <1800000>;
440 regulator-max-microvolt = <1800000>;
442 regulator-state-mem {
443 regulator-on-in-suspend;
444 regulator-suspend-microvolt = <1800000>;
449 regulator-name = "vcca1v8_image";
450 regulator-always-on;
451 regulator-min-microvolt = <1800000>;
452 regulator-max-microvolt = <1800000>;
454 regulator-state-mem {
455 regulator-off-in-suspend;
460 regulator-name = "vcc_3v3";
461 regulator-always-on;
462 regulator-boot-on;
464 regulator-state-mem {
465 regulator-off-in-suspend;
470 regulator-name = "vcc3v3_sd";
472 regulator-state-mem {
473 regulator-off-in-suspend;
485 rockchip,trcm-sync-tx-only;
490 rgmii_phy0: ethernet-phy@0 {
491 compatible = "ethernet-phy-ieee802.3-c22";
493 reset-assert-us = <20000>;
494 reset-deassert-us = <100000>;
495 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pcie_reset_pin>;
506 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
507 vpcie3v3-supply = <&vcc3v3_pcie>;
513 fspi_dual_io_pins: fspi-dual-io-pins {
526 ir-receiver {
527 ir_receiver_pin: ir-receiver-pin {
534 led_power_pin: led-power-pin {
537 led_work_pin: led-work-pin {
543 pcie_reset_pin: pcie-reset-pin {
546 vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin {
552 pmic_int_l: pmic-int-l {
558 hp_det_pin: hp-det-pin {
564 vcc5v0_usb_host_en_pin: vcc5v0-usb-host-en-pin {
567 vcc5v0_usb_otg_en_pin: vcc5v0-usb-dr-en-pin {
574 pmuio1-supply = <&vcc3v3_pmu>;
575 pmuio2-supply = <&vcc3v3_pmu>;
576 vccio1-supply = <&vccio_acodec>;
577 vccio2-supply = <&vcc_1v8>;
578 vccio3-supply = <&vccio_sd>;
579 vccio4-supply = <&vcc_1v8>;
580 vccio5-supply = <&vcc_3v3>;
581 vccio6-supply = <&vcc_3v3>;
582 vccio7-supply = <&vcc_3v3>;
587 vref-supply = <&vcca_1v8>;
596 bus-width = <8>;
597 max-frequency = <200000000>;
598 non-removable;
599 pinctrl-names = "default";
600 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe &emmc_rstnout>;
601 vmmc-supply = <&vcc_3v3>;
602 vqmmc-supply = <&vcc_1v8>;
607 bus-width = <4>;
608 cap-sd-highspeed;
609 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
610 disable-wp;
611 pinctrl-names = "default";
612 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
613 sd-uhs-sdr50;
614 vmmc-supply = <&vcc3v3_sd>;
615 vqmmc-supply = <&vccio_sd>;
621 pinctrl-0 = <&fspi_dual_io_pins>;
622 pinctrl-names = "default";
623 #address-cells = <1>;
624 #size-cells = <0>;
628 compatible = "jedec,spi-nor";
630 spi-max-frequency = <100000000>;
631 spi-rx-bus-width = <2>;
632 spi-tx-bus-width = <1>;
635 compatible = "fixed-partitions";
636 #address-cells = <1>;
637 #size-cells = <1>;
644 label = "U-Boot Env";
648 label = "U-Boot";
664 rockchip,hw-tshut-mode = <1>;
665 rockchip,hw-tshut-polarity = <0>;
703 phy-supply = <&vcc5v0_usb_host>;
708 phy-supply = <&vcc5v0_usb_otg>;
717 phy-supply = <&vcc5v0_usb_host>;
722 phy-supply = <&vcc5v0_usb_host>;
727 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
728 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
739 remote-endpoint = <&hdmi_in_vp0>;