Lines Matching +full:button +full:-
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
25 compatible = "simple-battery";
26 constant-charge-current-max-microamp = <1024000>;
27 voltage-max-design-microvolt = <4200000>;
31 stdout-path = "serial0:115200n8";
34 gpio_keys_gamepad: gpio-keys-gamepad {
35 compatible = "gpio-keys";
37 button-a {
38 label = "Action-Pad A";
40 linux,input-type = <EV_KEY>;
44 button-b {
45 label = "Action-Pad B";
47 linux,input-type = <EV_KEY>;
51 button-down {
52 label = "D-Pad Down";
54 linux,input-type = <EV_KEY>;
58 button-l1 {
61 linux,input-type = <EV_KEY>;
65 button-l2 {
68 linux,input-type = <EV_KEY>;
72 button-left {
73 label = "D-Pad left";
75 linux,input-type = <EV_KEY>;
79 button-menu {
82 linux,input-type = <EV_KEY>;
86 button-r1 {
89 linux,input-type = <EV_KEY>;
93 button-r2 {
96 linux,input-type = <EV_KEY>;
100 button-right {
101 label = "D-Pad Right";
103 linux,input-type = <EV_KEY>;
107 button-select {
110 linux,input-type = <EV_KEY>;
113 button-start {
116 linux,input-type = <EV_KEY>;
120 button-up {
121 label = "D-Pad Up";
123 linux,input-type = <EV_KEY>;
127 button-x {
128 label = "Action-Pad X";
130 linux,input-type = <EV_KEY>;
134 button-y {
137 linux,input-type = <EV_KEY>;
142 gpio-keys-volume {
143 compatible = "gpio-keys";
146 button-vol-up {
149 linux,input-type = <EV_KEY>;
153 button-vol-down {
156 linux,input-type = <EV_KEY>;
162 compatible = "gpio-leds";
164 led-0 {
168 default-state = "on";
172 reg_vcc5v: regulator-vcc5v { /* USB-C power input */
173 compatible = "regulator-fixed";
174 regulator-name = "vcc-5v";
175 regulator-min-microvolt = <5000000>;
176 regulator-max-microvolt = <5000000>;
181 cpu-supply = <®_dcdc1>;
189 vmmc-supply = <®_cldo3>;
190 disable-wp;
191 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
192 bus-width = <4>;
201 vcc-pa-supply = <®_cldo3>;
202 vcc-pc-supply = <®_cldo3>;
203 vcc-pe-supply = <®_cldo3>;
204 vcc-pf-supply = <®_cldo3>;
205 vcc-pg-supply = <®_aldo4>;
206 vcc-ph-supply = <®_cldo3>;
207 vcc-pi-supply = <®_cldo3>;
214 compatible = "x-powers,axp717";
216 interrupt-controller;
217 #interrupt-cells = <1>;
218 interrupt-parent = <&nmi_intc>;
221 vin1-supply = <®_vcc5v>;
222 vin2-supply = <®_vcc5v>;
223 vin3-supply = <®_vcc5v>;
224 vin4-supply = <®_vcc5v>;
227 compatible = "x-powers,axp717-adc";
228 #io-channel-cells = <1>;
231 battery_power: battery-power {
232 compatible = "x-powers,axp717-battery-power-supply";
233 monitored-battery = <&battery>;
238 regulator-always-on;
239 regulator-min-microvolt = <900000>;
240 regulator-max-microvolt = <1160000>;
241 regulator-name = "vdd-cpu";
245 regulator-always-on;
246 regulator-min-microvolt = <940000>;
247 regulator-max-microvolt = <940000>;
248 regulator-name = "vdd-gpu-sys";
252 regulator-always-on;
253 regulator-min-microvolt = <1100000>;
254 regulator-max-microvolt = <1100000>;
255 regulator-name = "vdd-dram";
259 /* 1.8v - unused */
263 /* 1.8v - unused */
267 /* 1.8v - unused */
271 regulator-min-microvolt = <1800000>;
272 regulator-max-microvolt = <1800000>;
273 regulator-name = "vcc-pg";
277 /* 1.8v - unused */
281 regulator-always-on;
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
284 regulator-name = "vcc-pll";
288 /* 2.8v - unused */
292 /* 1.2v - unused */
296 /* 3.3v - audio codec - not yet implemented */
300 /* 3.3v - unused */
304 regulator-always-on;
305 regulator-min-microvolt = <3300000>;
306 regulator-max-microvolt = <3300000>;
307 regulator-name = "vcc-io";
311 regulator-min-microvolt = <3300000>;
312 regulator-max-microvolt = <3300000>;
313 regulator-name = "vcc-wifi";
317 regulator-min-microvolt = <5000000>;
318 regulator-max-microvolt = <5200000>;
319 regulator-name = "boost";
327 usb_power: usb-power {
328 compatible = "x-powers,axp717-usb-power-supply";
329 input-current-limit-microamp = <1500000>;
335 pinctrl-names = "default";
336 pinctrl-0 = <&uart0_ph_pins>;
340 /* the AXP717 has USB type-C role switch functionality, not yet described by the binding */
342 dr_mode = "peripheral"; /* USB type-C receptable */