Lines Matching +full:abs +full:- +full:flat

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
14 stdout-path = "serial2:1500000n8";
17 adc-joystick {
18 compatible = "adc-joystick";
19 io-channels = <&adc_mux 0>,
23 pinctrl-0 = <&joy_mux_en>;
24 pinctrl-names = "default";
25 poll-interval = <60>;
26 #address-cells = <1>;
27 #size-cells = <0>;
31 abs-flat = <32>;
32 abs-fuzz = <32>;
33 abs-range = <1023 15>;
39 abs-flat = <32>;
40 abs-fuzz = <32>;
41 abs-range = <15 1023>;
47 abs-flat = <32>;
48 abs-fuzz = <32>;
49 abs-range = <15 1023>;
55 abs-flat = <32>;
56 abs-fuzz = <32>;
57 abs-range = <1023 15>;
62 adc_keys: adc-keys {
63 compatible = "adc-keys";
64 io-channels = <&saradc 0>;
65 io-channel-names = "buttons";
66 keyup-threshold-microvolt = <1800000>;
67 poll-interval = <60>;
73 button-mode {
76 press-threshold-microvolt = <1750>;
80 adc_mux: adc-mux {
81 compatible = "io-channel-mux";
83 #io-channel-cells = <1>;
84 io-channels = <&saradc 3>;
85 io-channel-names = "parent";
86 mux-controls = <&gpio_mux>;
87 settle-time-us = <100>;
90 gpio_keys_control: gpio-keys-control {
91 compatible = "gpio-keys";
92 pinctrl-0 = <&btn_pins_ctrl>;
93 pinctrl-names = "default";
95 button-b {
101 button-down {
103 label = "DPAD-DOWN";
107 button-l1 {
113 button-l2 {
119 button-select {
125 button-start {
131 button-thumbl {
137 button-thumbr {
143 button-up {
145 label = "DPAD-UP";
149 button-x {
156 gpio_keys_vol: gpio-keys-vol {
157 compatible = "gpio-keys";
159 pinctrl-0 = <&btn_pins_vol>;
160 pinctrl-names = "default";
162 button-vol-down {
168 button-vol-up {
175 gpio_mux: mux-controller {
176 compatible = "gpio-mux";
177 mux-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>,
179 #mux-control-cells = <0>;
182 hdmi-con {
183 compatible = "hdmi-connector";
184 ddc-i2c-bus = <&i2c5>;
189 remote-endpoint = <&hdmi_out_con>;
194 leds: pwm-leds {
195 compatible = "pwm-leds";
197 green_led: led-0 {
199 default-state = "on";
201 max-brightness = <255>;
205 amber_led: led-1 {
208 max-brightness = <255>;
212 red_led: led-2 {
214 default-state = "off";
216 max-brightness = <255>;
221 sdio_pwrseq: sdio-pwrseq {
222 compatible = "mmc-pwrseq-simple";
224 clock-names = "ext_clock";
225 pinctrl-0 = <&wifi_enable_h>;
226 pinctrl-names = "default";
227 post-power-on-delay-ms = <200>;
228 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
231 vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 {
232 compatible = "regulator-fixed";
234 enable-active-high;
235 pinctrl-0 = <&vcc_lcd_h>;
236 pinctrl-names = "default";
237 regulator-boot-on;
238 regulator-min-microvolt = <3300000>;
239 regulator-max-microvolt = <3300000>;
240 regulator-name = "vcc3v3_lcd0_n";
241 vin-supply = <&vcc_3v3>;
242 regulator-state-mem {
243 regulator-off-in-suspend;
247 vcc_sys: regulator-vcc-sys {
248 compatible = "regulator-fixed";
249 regulator-always-on;
250 regulator-boot-on;
251 regulator-min-microvolt = <3800000>;
252 regulator-max-microvolt = <3800000>;
253 regulator-name = "vcc_sys";
256 vcc_wifi: regulator-vcc-wifi {
257 compatible = "regulator-fixed";
258 enable-active-high;
260 pinctrl-0 = <&vcc_wifi_h>;
261 pinctrl-names = "default";
262 regulator-always-on;
263 regulator-boot-on;
264 regulator-min-microvolt = <3300000>;
265 regulator-max-microvolt = <3300000>;
266 regulator-name = "vcc_wifi";
269 vibrator: pwm-vibrator {
270 compatible = "pwm-vibrator";
271 pwm-names = "enable";
281 cpu-supply = <&vdd_cpu>;
285 cpu-supply = <&vdd_cpu>;
289 cpu-supply = <&vdd_cpu>;
293 cpu-supply = <&vdd_cpu>;
297 mali-supply = <&vdd_gpu>;
302 ddc-i2c-bus = <&i2c5>;
303 pinctrl-0 = <&hdmitxm0_cec>;
304 pinctrl-names = "default";
310 remote-endpoint = <&vp0_out_hdmi>;
316 remote-endpoint = <&hdmi_con_in>;
330 interrupt-parent = <&gpio0>;
332 clock-output-names = "rk808-clkout1", "rk808-clkout2";
333 clock-names = "mclk";
335 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
336 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
337 #clock-cells = <1>;
338 #sound-dai-cells = <0>;
339 pinctrl-names = "default";
340 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
341 wakeup-source;
343 vcc1-supply = <&vcc_sys>;
344 vcc2-supply = <&vcc_sys>;
345 vcc3-supply = <&vcc_sys>;
346 vcc4-supply = <&vcc_sys>;
347 vcc5-supply = <&vcc_sys>;
348 vcc6-supply = <&vcc_sys>;
349 vcc7-supply = <&vcc_sys>;
350 vcc8-supply = <&vcc_sys>;
351 vcc9-supply = <&dcdc_boost>;
355 regulator-always-on;
356 regulator-boot-on;
357 regulator-min-microvolt = <500000>;
358 regulator-max-microvolt = <1350000>;
359 regulator-ramp-delay = <6001>;
360 regulator-initial-mode = <0x2>;
361 regulator-name = "vdd_logic";
362 regulator-state-mem {
363 regulator-off-in-suspend;
364 regulator-suspend-microvolt = <900000>;
369 regulator-always-on;
370 regulator-boot-on;
371 regulator-min-microvolt = <500000>;
372 regulator-max-microvolt = <1350000>;
373 regulator-ramp-delay = <6001>;
374 regulator-initial-mode = <0x2>;
375 regulator-name = "vdd_gpu";
376 regulator-state-mem {
377 regulator-off-in-suspend;
382 regulator-always-on;
383 regulator-boot-on;
384 regulator-initial-mode = <0x2>;
385 regulator-name = "vcc_ddr";
386 regulator-state-mem {
387 regulator-on-in-suspend;
392 regulator-always-on;
393 regulator-boot-on;
394 regulator-min-microvolt = <3300000>;
395 regulator-max-microvolt = <3300000>;
396 regulator-initial-mode = <0x2>;
397 regulator-name = "vcc_3v3";
398 regulator-state-mem {
399 regulator-on-in-suspend;
400 regulator-suspend-microvolt = <3300000>;
405 regulator-always-on;
406 regulator-boot-on;
407 regulator-min-microvolt = <1800000>;
408 regulator-max-microvolt = <1800000>;
409 regulator-name = "vcca1v8_pmu";
410 regulator-state-mem {
411 regulator-on-in-suspend;
412 regulator-suspend-microvolt = <1800000>;
417 regulator-always-on;
418 regulator-boot-on;
419 regulator-min-microvolt = <900000>;
420 regulator-max-microvolt = <900000>;
421 regulator-name = "vdda_0v9";
422 regulator-state-mem {
423 regulator-off-in-suspend;
428 regulator-always-on;
429 regulator-boot-on;
430 regulator-min-microvolt = <900000>;
431 regulator-max-microvolt = <900000>;
432 regulator-name = "vdda0v9_pmu";
433 regulator-state-mem {
434 regulator-on-in-suspend;
435 regulator-suspend-microvolt = <900000>;
440 regulator-always-on;
441 regulator-boot-on;
442 regulator-min-microvolt = <3300000>;
443 regulator-max-microvolt = <3300000>;
444 regulator-name = "vccio_acodec";
445 regulator-state-mem {
446 regulator-off-in-suspend;
451 regulator-always-on;
452 regulator-boot-on;
453 regulator-min-microvolt = <1800000>;
454 regulator-max-microvolt = <3300000>;
455 regulator-name = "vccio_sd";
456 regulator-state-mem {
457 regulator-off-in-suspend;
462 regulator-always-on;
463 regulator-boot-on;
464 regulator-min-microvolt = <3300000>;
465 regulator-max-microvolt = <3300000>;
466 regulator-name = "vcc3v3_pmu";
467 regulator-state-mem {
468 regulator-on-in-suspend;
469 regulator-suspend-microvolt = <3300000>;
474 regulator-always-on;
475 regulator-boot-on;
476 regulator-min-microvolt = <1800000>;
477 regulator-max-microvolt = <1800000>;
478 regulator-name = "vcc_1v8";
479 regulator-state-mem {
480 regulator-off-in-suspend;
485 regulator-always-on;
486 regulator-boot-on;
487 regulator-min-microvolt = <1800000>;
488 regulator-max-microvolt = <3300000>;
489 regulator-name = "vcc1v8_dvp";
490 regulator-state-mem {
491 regulator-off-in-suspend;
496 regulator-always-on;
497 regulator-boot-on;
498 regulator-min-microvolt = <2800000>;
499 regulator-max-microvolt = <2800000>;
500 regulator-name = "vcc2v8_dvp";
501 regulator-state-mem {
502 regulator-off-in-suspend;
507 regulator-always-on;
508 regulator-boot-on;
509 regulator-min-microvolt = <4700000>;
510 regulator-max-microvolt = <5400000>;
511 regulator-name = "boost";
512 regulator-state-mem {
513 regulator-off-in-suspend;
518 regulator-name = "otg_switch";
519 regulator-state-mem {
520 regulator-off-in-suspend;
529 fcs,suspend-voltage-selector = <1>;
530 regulator-always-on;
531 regulator-boot-on;
532 regulator-min-microvolt = <712500>;
533 regulator-max-microvolt = <1390000>;
534 regulator-name = "vdd_cpu";
535 regulator-ramp-delay = <2300>;
536 vin-supply = <&vcc_sys>;
537 regulator-state-mem {
538 regulator-off-in-suspend;
549 pinctrl-0 = <&i2c5m1_xfer>;
550 pinctrl-names = "default";
559 pinctrl-0 = <&i2s1m0_sclktx
563 pinctrl-names = "default";
564 rockchip,trcm-sync-tx-only;
569 gpio-btns {
570 btn_pins_ctrl: btn-pins-ctrl {
590 btn_pins_vol: btn-pins-vol {
597 joy-mux {
598 joy_mux_en: joy-mux-en {
605 pmic_int_l: pmic-int-l {
611 sdio-pwrseq {
612 wifi_enable_h: wifi-enable-h {
618 vcc3v3-lcd {
619 vcc_lcd_h: vcc-lcd-h {
625 vcc-wifi {
626 vcc_wifi_h: vcc-wifi-h {
635 pmuio1-supply = <&vcc3v3_pmu>;
636 pmuio2-supply = <&vcc3v3_pmu>;
637 vccio1-supply = <&vccio_acodec>;
638 vccio3-supply = <&vccio_sd>;
639 vccio4-supply = <&vcc_1v8>;
640 vccio5-supply = <&vcc_3v3>;
641 vccio6-supply = <&vcc1v8_dvp>;
642 vccio7-supply = <&vcc_3v3>;
646 pinctrl-0 = <&pwm0m1_pins>;
647 pinctrl-names = "default";
664 vref-supply = <&vcc_1v8>;
669 bus-width = <4>;
670 cap-sd-highspeed;
671 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
672 disable-wp;
673 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
674 pinctrl-names = "default";
675 sd-uhs-sdr104;
676 vmmc-supply = <&vcc_3v3>;
677 vqmmc-supply = <&vccio_sd>;
682 bus-width = <4>;
683 cap-sd-highspeed;
684 cd-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
685 disable-wp;
686 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk &sdmmc1_det>;
687 pinctrl-names = "default";
688 sd-uhs-sdr104;
689 vmmc-supply = <&vcc_3v3>;
690 vqmmc-supply = <&vcc1v8_dvp>;
695 bus-width = <4>;
696 cap-sd-highspeed;
697 cap-sdio-irq;
698 keep-power-in-suspend;
699 mmc-pwrseq = <&sdio_pwrseq>;
700 non-removable;
701 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
702 pinctrl-names = "default";
703 vmmc-supply = <&vcc_wifi>;
704 vqmmc-supply = <&vcca1v8_pmu>;
709 rockchip,hw-tshut-mode = <1>;
710 rockchip,hw-tshut-polarity = <0>;
715 pinctrl-0 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
716 pinctrl-names = "default";
717 uart-has-rtscts;
721 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
722 device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
723 enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
724 host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
739 phy-names = "usb2-phy";
752 phy-names = "usb2-phy", "usb3-phy";
774 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
775 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
786 remote-endpoint = <&hdmi_in_vp0>;