Lines Matching +full:gpio +full:- +full:joystick +full:- +full:pins
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 #include "sun50i-h700-anbernic-rg35xx-plus.dts"
11 compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700";
13 adc-joystick {
14 compatible = "adc-joystick";
15 io-channels = <&adc_mux 0>,
19 pinctrl-0 = <&joy_mux_pin>;
20 pinctrl-names = "default";
21 poll-interval = <60>;
22 #address-cells = <1>;
23 #size-cells = <0>;
27 abs-flat = <32>;
28 abs-fuzz = <32>;
29 abs-range = <4096 0>;
35 abs-flat = <32>;
36 abs-fuzz = <32>;
37 abs-range = <0 4096>;
43 abs-flat = <32>;
44 abs-fuzz = <32>;
45 abs-range = <0 4096>;
51 abs-flat = <32>;
52 abs-fuzz = <32>;
53 abs-range = <4096 0>;
58 adc_mux: adc-mux {
59 compatible = "io-channel-mux";
61 #io-channel-cells = <1>;
62 io-channels = <&gpadc 0>;
63 io-channel-names = "parent";
64 mux-controls = <&gpio_mux>;
65 settle-time-us = <100>;
68 gpio_mux: mux-controller {
69 compatible = "gpio-mux";
70 mux-gpios = <&pio 8 1 GPIO_ACTIVE_LOW>,
72 #mux-control-cells = <0>;
75 reg_vcc3v8_usb: regulator-vcc3v8-usb {
76 compatible = "regulator-fixed";
77 enable-active-high;
78 gpio = <&pio 4 5 GPIO_ACTIVE_HIGH>; /* PE5 */
79 regulator-min-microvolt = <3800000>;
80 regulator-max-microvolt = <3800000>;
81 regulator-name = "vcc3v8-usb";
84 reg_vcc5v0_usb: regulator-vcc5v0-usb {
85 compatible = "regulator-fixed";
86 enable-active-high;
87 gpio = <&pio 8 7 GPIO_ACTIVE_HIGH>; /* PI7 */
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
90 regulator-name = "vcc5v0-usb";
91 vin-supply = <®_vcc3v8_usb>;
96 #address-cells = <1>;
97 #size-cells = <0>;
106 button-thumbl {
107 label = "GPIO Thumb Left";
109 linux,input-type = <EV_KEY>;
113 button-thumbr {
114 label = "GPIO Thumb Right";
116 linux,input-type = <EV_KEY>;
130 joy_mux_pin: joy-mux-pin {
131 pins = "PI0";
137 usb1_vbus-supply = <®_vcc5v0_usb>;