Lines Matching +full:button +full:-

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include "sun8i-v3s.dtsi"
6 #include "sunxi-common-regulators.dtsi"
10 compatible = "anbernic,rg-nano", "allwinner,sun8i-v3s";
19 compatible = "pwm-backlight";
20 brightness-levels = <0 1 2 3 8 14 21 32 46 60 80 100>;
21 default-brightness-level = <11>;
22 power-supply = <&reg_vcc5v0>;
27 stdout-path = "serial0:115200n8";
30 gpio_keys: gpio-keys {
31 compatible = "gpio-keys";
33 button-a {
35 label = "BTN-A";
39 button-b {
41 label = "BTN-B";
45 button-down {
47 label = "DPAD-DOWN";
51 button-left {
53 label = "DPAD-LEFT";
57 button-right {
59 label = "DPAD-RIGHT";
63 button-se {
65 label = "BTN-SELECT";
69 button-st {
71 label = "BTN-START";
75 button-tl {
77 label = "BTN-L";
81 button-tr {
83 label = "BTN-R";
87 button-up {
89 label = "DPAD-UP";
93 button-x {
95 label = "BTN-X";
99 button-y {
101 label = "BTN-Y";
108 allwinner,audio-routing = "Speaker", "HP",
111 allwinner,pa-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PF6 */
125 gpio-controller;
126 #gpio-cells = <2>;
127 #interrupt-cells = <2>;
128 interrupt-controller;
129 interrupt-parent = <&pio>;
131 vcc-supply = <&reg_vcc3v3>;
136 interrupt-parent = <&pio>;
153 broken-cd;
154 bus-width = <4>;
155 disable-wp;
156 vmmc-supply = <&reg_vcc3v3>;
157 vqmmc-supply = <&reg_vcc3v3>;
166 vcc-pb-supply = <&reg_vcc3v3>;
167 vcc-pc-supply = <&reg_vcc3v3>;
168 vcc-pf-supply = <&reg_vcc3v3>;
169 vcc-pg-supply = <&reg_vcc3v3>;
171 spi0_no_miso_pins: spi0-no-miso-pins {
178 pinctrl-0 = <&pwm0_pin>;
179 pinctrl-names = "default";
183 /* DCDC2 wired into vdd-cpu, vdd-sys, and vdd-ephy. */
185 regulator-always-on;
186 regulator-max-microvolt = <1250000>;
187 regulator-min-microvolt = <1250000>;
188 regulator-name = "vdd-cpu";
193 regulator-always-on;
194 regulator-max-microvolt = <3300000>;
195 regulator-min-microvolt = <3300000>;
196 regulator-name = "vcc-io";
199 /* LDO1 wired into RTC, voltage is hard-wired at 3.3v. */
201 regulator-always-on;
202 regulator-name = "vcc-rtc";
205 /* LDO2 wired into VCC-PLL and audio codec. */
207 regulator-always-on;
208 regulator-max-microvolt = <3000000>;
209 regulator-min-microvolt = <3000000>;
210 regulator-name = "vcc-pll";
224 /delete-property/ clocks;
228 pinctrl-0 = <&spi0_no_miso_pins>;
229 pinctrl-names = "default";
233 compatible = "saef,sftc154b", "panel-mipi-dbi-spi";
236 dc-gpios = <&pio 2 0 GPIO_ACTIVE_HIGH>; /* PC0 */
237 reset-gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */
238 spi-max-frequency = <100000000>;
240 height-mm = <39>;
241 width-mm = <39>;
243 /* Set hb-porch to compensate for non-visible area */
244 panel-timing {
247 hback-porch = <80>;
248 vback-porch = <0>;
249 clock-frequency = <0>;
250 hfront-porch = <0>;
251 hsync-len = <0>;
252 vfront-porch = <0>;
253 vsync-len = <0>;
259 pinctrl-0 = <&uart0_pb_pins>;
260 pinctrl-names = "default";
274 usb0_id_det-gpios = <&pio 6 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PG5 */