Lines Matching +full:right +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-g12b-s922x.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b";
17 model = "Hardkernel ODROID-GO-Ultra";
24 adc-joystick-left {
25 compatible = "adc-joystick";
26 io-channels = <&saradc 2>, <&saradc 3>;
27 poll-interval = <10>;
28 #address-cells = <1>;
29 #size-cells = <0>;
34 abs-range = <3150 950>;
35 abs-fuzz = <32>;
36 abs-flat = <64>;
41 abs-range = <700 2900>;
42 abs-fuzz = <32>;
43 abs-flat = <64>;
47 adc-joystick-right {
48 compatible = "adc-joystick";
49 io-channels = <&saradc 0>, <&saradc 1>;
50 poll-interval = <10>;
51 #address-cells = <1>;
52 #size-cells = <0>;
57 abs-range = <3150 950>;
58 abs-fuzz = <32>;
59 abs-flat = <64>;
64 abs-range = <800 3000>;
65 abs-fuzz = <32>;
66 abs-flat = <64>;
71 stdout-path = "serial0:115200n8";
74 codec_clk: codec-clk {
75 compatible = "fixed-clock";
76 clock-frequency = <12288000>;
77 clock-output-names = "codec_clk";
78 #clock-cells = <0>;
81 gpio-keys {
82 compatible = "gpio-keys-polled";
83 poll-interval = <10>;
84 pinctrl-0 = <&keypad_gpio_pins>;
85 pinctrl-names = "default";
87 volume-up-button {
88 label = "VOLUME-UP";
90 gpios = <&gpio GPIOX_8 GPIO_ACTIVE_LOW>;
92 volume-down-button {
93 label = "VOLUME-DOWN";
95 gpios = <&gpio GPIOX_9 GPIO_ACTIVE_LOW>;
97 dpad-up-button {
98 label = "DPAD-UP";
100 gpios = <&gpio GPIOX_0 GPIO_ACTIVE_LOW>;
102 dpad-down-button {
103 label = "DPAD-DOWN";
105 gpios = <&gpio GPIOX_1 GPIO_ACTIVE_LOW>;
107 dpad-left-button {
108 label = "DPAD-LEFT";
110 gpios = <&gpio GPIOX_2 GPIO_ACTIVE_LOW>;
112 dpad-right-button {
113 label = "DPAD-RIGHT";
115 gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
117 a-button {
120 gpios = <&gpio GPIOX_4 GPIO_ACTIVE_LOW>;
122 b-button {
125 gpios = <&gpio GPIOX_5 GPIO_ACTIVE_LOW>;
127 y-button {
130 gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
132 x-button {
135 gpios = <&gpio GPIOX_7 GPIO_ACTIVE_LOW>;
137 f1-button {
140 gpios = <&gpio GPIOX_17 GPIO_ACTIVE_LOW>;
142 f2-button {
145 gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
147 f3-button {
150 gpios = <&gpio GPIOX_11 GPIO_ACTIVE_LOW>;
152 f4-button {
155 gpios = <&gpio GPIOX_12 GPIO_ACTIVE_LOW>;
157 f5-button {
160 gpios = <&gpio GPIOX_13 GPIO_ACTIVE_LOW>;
162 f6-button {
165 gpios = <&gpio GPIOX_16 GPIO_ACTIVE_LOW>;
167 top-left-button {
170 gpios = <&gpio GPIOX_14 GPIO_ACTIVE_LOW>;
172 top-left2-button {
175 gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>;
177 top-right-button {
178 label = "TOP Right";
180 gpios = <&gpio GPIOX_15 GPIO_ACTIVE_LOW>;
182 top-right2-button {
183 label = "TOP Right 2";
185 gpios = <&gpio GPIOX_18 GPIO_ACTIVE_LOW>;
194 emmc_pwrseq: emmc-pwrseq {
195 compatible = "mmc-pwrseq-emmc";
196 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
200 compatible = "gpio-leds";
202 led-blue {
204 gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
205 linux,default-trigger = "heartbeat";
209 vdd_sys: regulator-vdd-sys {
210 compatible = "regulator-fixed";
211 regulator-name = "VDD_SYS";
212 regulator-min-microvolt = <3800000>;
213 regulator-max-microvolt = <3800000>;
214 regulator-always-on;
218 compatible = "amlogic,axg-sound-card";
220 audio-widgets = "Microphone", "Mic Jack",
223 audio-aux-devs = <&tdmout_b>, <&tdmin_b>, <&speaker_amp>;
224 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
241 assigned-clocks = <&clkc CLKID_MPLL2>,
244 assigned-clock-parents = <0>, <0>, <0>;
245 assigned-clock-rates = <294912000>,
249 dai-link-0 {
250 sound-dai = <&frddr_a>;
253 dai-link-1 {
254 sound-dai = <&toddr_a>;
257 dai-link-2 {
258 sound-dai = <&tdmif_b>;
259 dai-format = "i2s";
260 dai-tdm-slot-tx-mask-0 = <1 1>;
261 mclk-fs = <256>;
263 codec-0 {
264 sound-dai = <&rk817>;
269 speaker_amp: speaker-amplifier {
270 compatible = "simple-audio-amplifier";
271 sound-name-prefix = "Speaker Amplifier";
272 VCC-supply = <&hp_5v>;
281 cpu-supply = <&vddcpu_b>;
282 operating-points-v2 = <&cpu_opp_table_0>;
284 clock-latency = <50000>;
288 cpu-supply = <&vddcpu_b>;
289 operating-points-v2 = <&cpu_opp_table_0>;
291 clock-latency = <50000>;
295 cpu-supply = <&vddcpu_a>;
296 operating-points-v2 = <&cpub_opp_table_1>;
298 clock-latency = <50000>;
302 cpu-supply = <&vddcpu_a>;
303 operating-points-v2 = <&cpub_opp_table_1>;
305 clock-latency = <50000>;
309 cpu-supply = <&vddcpu_a>;
310 operating-points-v2 = <&cpub_opp_table_1>;
312 clock-latency = <50000>;
316 cpu-supply = <&vddcpu_a>;
317 operating-points-v2 = <&cpub_opp_table_1>;
319 clock-latency = <50000>;
324 opp-1000000000 {
325 opp-microvolt = <737500>;
327 opp-1200000000 {
328 opp-microvolt = <737500>;
330 opp-1398000000 {
331 opp-microvolt = <762500>;
333 opp-1512000000 {
334 opp-microvolt = <800000>;
336 opp-1608000000 {
337 opp-microvolt = <837500>;
339 opp-1704000000 {
340 opp-microvolt = <862500>;
342 opp-1896000000 {
343 opp-microvolt = <987500>;
345 opp-1992000000 {
346 opp-microvolt = <1012500>;
352 opp-1000000000 {
353 opp-microvolt = <775000>;
355 opp-1200000000 {
356 opp-microvolt = <775000>;
358 opp-1398000000 {
359 opp-microvolt = <800000>;
361 opp-1512000000 {
362 opp-microvolt = <825000>;
364 opp-1608000000 {
365 opp-microvolt = <862500>;
367 opp-1704000000 {
368 opp-microvolt = <900000>;
370 opp-1800000000 {
371 opp-microvolt = <987500>;
373 opp-1908000000 {
374 opp-microvolt = <1025000>;
380 pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
381 pinctrl-names = "default";
386 interrupt-parent = <&gpio_intc>;
388 #clock-cells = <1>;
390 vcc1-supply = <&vdd_sys>;
391 vcc2-supply = <&vdd_sys>;
392 vcc3-supply = <&vdd_sys>;
393 vcc4-supply = <&vdd_sys>;
394 vcc6-supply = <&vdd_sys>;
395 vcc7-supply = <&vcc_2v3>;
396 vcc8-supply = <&vcc_2v3>;
397 vcc9-supply = <&vddao_3v3>;
398 boost-supply = <&vdd_sys>;
402 regulator-name = "vddcpu_a";
403 regulator-always-on;
404 regulator-boot-on;
405 regulator-min-microvolt = <775000>;
406 regulator-max-microvolt = <1025000>;
407 regulator-ramp-delay = <6001>;
408 regulator-state-mem {
409 regulator-on-in-suspend;
410 regulator-suspend-microvolt = <775000>;
415 regulator-name = "vdd_ee";
416 regulator-always-on;
417 regulator-boot-on;
418 regulator-min-microvolt = <875000>;
419 regulator-max-microvolt = <1250000>;
420 regulator-ramp-delay = <6001>;
421 regulator-state-mem {
422 regulator-on-in-suspend;
423 regulator-suspend-microvolt = <875000>;
428 regulator-name = "vddq_1v1";
429 regulator-always-on;
430 regulator-boot-on;
431 regulator-state-mem {
432 regulator-on-in-suspend;
437 regulator-always-on;
438 regulator-boot-on;
439 regulator-min-microvolt = <3300000>;
440 regulator-max-microvolt = <3300000>;
441 regulator-name = "vddao_3v3";
442 regulator-state-mem {
443 regulator-on-in-suspend;
444 regulator-suspend-microvolt = <3300000>;
449 regulator-always-on;
450 regulator-boot-on;
451 regulator-name = "hp_5v";
452 regulator-min-microvolt = <5000000>;
453 regulator-max-microvolt = <5000000>;
454 regulator-state-mem {
455 regulator-off-in-suspend;
460 regulator-always-on;
461 regulator-boot-on;
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
464 regulator-name = "vddio_ao1v8";
465 regulator-state-mem {
466 regulator-on-in-suspend;
467 regulator-suspend-microvolt = <1800000>;
472 regulator-always-on;
473 regulator-boot-on;
474 regulator-min-microvolt = <1800000>;
475 regulator-max-microvolt = <1800000>;
476 regulator-name = "vddq_1v8";
477 regulator-state-mem {
478 regulator-on-in-suspend;
479 regulator-suspend-microvolt = <1800000>;
484 regulator-always-on;
485 regulator-boot-on;
486 regulator-min-microvolt = <1800000>;
487 regulator-max-microvolt = <3300000>;
488 regulator-name = "vddio_c";
489 regulator-state-mem {
490 regulator-on-in-suspend;
491 regulator-suspend-microvolt = <3300000>;
496 regulator-name = "vcc_sd";
497 regulator-always-on;
498 regulator-boot-on;
499 regulator-min-microvolt = <3300000>;
500 regulator-max-microvolt = <3300000>;
501 regulator-state-mem {
502 regulator-on-in-suspend;
507 regulator-name = "otg_switch";
508 regulator-state-mem {
509 regulator-off-in-suspend;
518 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
519 pinctrl-names = "default";
524 interrupt-parent = <&gpio_intc>;
528 vcc1-supply = <&vdd_sys>;
529 vcc2-supply = <&vdd_sys>;
530 vcc3-supply = <&vdd_sys>;
531 vcc4-supply = <&vdd_sys>;
532 vcc5-supply = <&vdd_sys>;
533 vcc6-supply = <&vdd_sys>;
534 vcc7-supply = <&vdd_sys>;
535 vcc8-supply = <&vdd_sys>;
536 vcc9-supply = <&rk817_boost>;
538 #sound-dai-cells = <0>;
540 clock-names = "mclk";
542 #clock-cells = <1>;
546 regulator-always-on;
547 regulator-boot-on;
548 regulator-min-microvolt = <737500>;
549 regulator-max-microvolt = <1012500>;
550 regulator-ramp-delay = <6001>;
551 regulator-initial-mode = <0x2>;
552 regulator-name = "vddcpu_b";
553 regulator-state-mem {
554 regulator-on-in-suspend;
555 regulator-suspend-microvolt = <1000000>;
560 regulator-always-on;
561 regulator-boot-on;
562 regulator-min-microvolt = <2300000>;
563 regulator-max-microvolt = <2400000>;
564 regulator-initial-mode = <0x2>;
565 regulator-name = "vcc_2v3";
566 regulator-state-mem {
567 regulator-on-in-suspend;
572 regulator-always-on;
573 regulator-boot-on;
574 regulator-min-microvolt = <3300000>;
575 regulator-max-microvolt = <3300000>;
576 regulator-name = "vdd_codec";
577 regulator-state-mem {
578 regulator-off-in-suspend;
583 regulator-min-microvolt = <3300000>;
584 regulator-max-microvolt = <3300000>;
585 regulator-name = "vcc_lcd";
586 regulator-state-mem {
587 regulator-off-in-suspend;
592 regulator-always-on;
593 regulator-boot-on;
594 regulator-min-microvolt = <5000000>;
595 regulator-max-microvolt = <5400000>;
596 regulator-name = "rk817_boost";
597 regulator-state-mem {
598 regulator-off-in-suspend;
603 regulator-name = "usb_host";
604 regulator-min-microvolt = <5000000>;
605 regulator-max-microvolt = <5000000>;
606 regulator-state-mem {
607 regulator-off-in-suspend;
627 keypad_gpio_pins: keypad-gpio-state {
635 bias-pull-up;
636 output-disable;
643 vref-supply = <&vddio_ao1v8>;
649 pinctrl-0 = <&sdcard_c_pins>;
650 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
651 pinctrl-names = "default", "clk-gate";
653 bus-width = <4>;
654 cap-sd-highspeed;
655 max-frequency = <50000000>;
656 disable-wp;
658 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
659 vmmc-supply = <&vcc_sd>;
660 vqmmc-supply = <&vddio_c>;
667 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
668 pinctrl-1 = <&emmc_clk_gate_pins>;
669 pinctrl-names = "default", "clk-gate";
671 bus-width = <8>;
672 cap-mmc-highspeed;
673 mmc-ddr-1_8v;
674 mmc-hs200-1_8v;
675 max-frequency = <200000000>;
676 disable-wp;
678 mmc-pwrseq = <&emmc_pwrseq>;
679 vmmc-supply = <&vcc_sd>;
680 vqmmc-supply = <&vddio_ao1v8>;
685 pinctrl-0 = <&tdm_b_dout0_pins>, <&tdm_b_fs_pins>, <&tdm_b_sclk_pins>, <&tdm_b_din1_pins>;
686 pinctrl-names = "default";
689 assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD1>,
691 assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_B_SCLK>,
693 assigned-clock-rates = <0>, <0>;
710 pinctrl-0 = <&uart_ao_a_pins>;
711 pinctrl-names = "default";
725 phy-supply = <&usb_host>;