Lines Matching +full:right +full:- +full:gpios

4  * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "iNet-9F Rev 03";
52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
62 gpio-keys {
63 compatible = "gpio-keys-polled";
64 poll-interval = <20>;
66 event-left-joystick-left {
69 linux,input-type = <EV_ABS>;
70 linux,input-value = <0xffffffff>; /* -1 */
71 gpios = <&pio 0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA6 */
74 event-left-joystick-right {
75 label = "Left Joystick Right";
77 linux,input-type = <EV_ABS>;
78 linux,input-value = <1>;
79 gpios = <&pio 0 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA5 */
82 event-left-joystick-up {
85 linux,input-type = <EV_ABS>;
86 linux,input-value = <0xffffffff>; /* -1 */
87 gpios = <&pio 0 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA8 */
90 event-left-joystick-down {
93 linux,input-type = <EV_ABS>;
94 linux,input-value = <1>;
95 gpios = <&pio 0 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA9 */
98 event-right-joystick-left {
99 label = "Right Joystick Left";
101 linux,input-type = <EV_ABS>;
102 linux,input-value = <0xffffffff>; /* -1 */
103 gpios = <&pio 0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA1 */
106 event-right-joystick-right {
107 label = "Right Joystick Right";
109 linux,input-type = <EV_ABS>;
110 linux,input-value = <1>;
111 gpios = <&pio 0 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA0 */
114 event-right-joystick-up {
115 label = "Right Joystick Up";
117 linux,input-type = <EV_ABS>;
118 linux,input-value = <0xffffffff>; /* -1 */
119 gpios = <&pio 0 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA3 */
122 event-right-joystick-down {
123 label = "Right Joystick Down";
125 linux,input-type = <EV_ABS>;
126 linux,input-value = <1>;
127 gpios = <&pio 0 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA4 */
130 event-dpad-left {
133 linux,input-type = <EV_ABS>;
134 linux,input-value = <0xffffffff>; /* -1 */
135 gpios = <&pio 7 23 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH23 */
138 event-dpad-right {
139 label = "DPad Right";
141 linux,input-type = <EV_ABS>;
142 linux,input-value = <1>;
143 gpios = <&pio 7 24 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH24 */
146 event-dpad-up {
149 linux,input-type = <EV_ABS>;
150 linux,input-value = <0xffffffff>; /* -1 */
151 gpios = <&pio 7 25 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH25 */
154 event-dpad-down {
157 linux,input-type = <EV_ABS>;
158 linux,input-value = <1>;
159 gpios = <&pio 7 26 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH26 */
162 event-x {
165 gpios = <&pio 0 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA16 */
168 event-y {
171 gpios = <&pio 0 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA14 */
174 event-a {
177 gpios = <&pio 0 17 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA17 */
180 event-b {
183 gpios = <&pio 0 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA15 */
186 event-select {
189 gpios = <&pio 0 11 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA11 */
192 event-start {
195 gpios = <&pio 0 12 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA12 */
198 event-top-left {
201 gpios = <&pio 7 22 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH22 */
204 event-top-right {
205 label = "Top Right Button";
207 gpios = <&pio 0 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA13 */
213 cpu-supply = <&reg_dcdc2>;
238 interrupt-parent = <&pio>;
247 compatible = "edt,edt-ft5406";
249 interrupt-parent = <&pio>;
251 touchscreen-size-x = <800>;
252 touchscreen-size-y = <480>;
257 vref-supply = <&reg_ldo2>;
260 button-200 {
267 button-600 {
274 button-800 {
281 button-1000 {
288 button-1200 {
297 vmmc-supply = <&reg_vcc3v3>;
298 bus-width = <4>;
299 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
308 regulator-always-on;
309 regulator-min-microvolt = <1000000>;
310 regulator-max-microvolt = <1400000>;
311 regulator-name = "vdd-cpu";
315 regulator-always-on;
316 regulator-min-microvolt = <1250000>;
317 regulator-max-microvolt = <1250000>;
318 regulator-name = "vdd-int-dll";
322 regulator-name = "vdd-rtc";
326 regulator-always-on;
327 regulator-min-microvolt = <3000000>;
328 regulator-max-microvolt = <3000000>;
329 regulator-name = "avcc";
341 pinctrl-names = "default";
342 pinctrl-0 = <&uart0_pb_pins>;
352 usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
353 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
354 usb0_vbus-supply = <&reg_usb0_vbus>;
355 usb2_vbus-supply = <&reg_usb2_vbus>;