Lines Matching +full:keypad +full:- +full:wakeup

1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car H1 (R8A77790) Marzen board
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
26 stdout-path = "serial0:115200n8";
34 fixedregulator3v3: regulator-3v3 {
35 compatible = "regulator-fixed";
36 regulator-name = "fixed-3.3V";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
39 regulator-boot-on;
40 regulator-always-on;
43 vccq_sdhi0: regulator-vccq-sdhi0 {
44 compatible = "regulator-gpio";
46 regulator-name = "SDHI0 VccQ";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <3300000>;
51 gpios-states = <1>;
55 keypad-0 {
56 compatible = "gpio-keys";
58 pinctrl-0 = <&keypad0_pins>;
59 pinctrl-names = "default";
61 key-1 {
62 interrupts-extended = <&gpio0 17 IRQ_TYPE_EDGE_FALLING>;
64 label = "SW1-1";
65 wakeup-source;
66 debounce-interval = <20>;
68 key-2 {
69 interrupts-extended = <&gpio0 18 IRQ_TYPE_EDGE_FALLING>;
71 label = "SW1-2";
72 wakeup-source;
73 debounce-interval = <20>;
77 keypad-1 {
78 compatible = "gpio-keys-polled";
79 poll-interval = <50>;
81 pinctrl-0 = <&keypad1_pins>;
82 pinctrl-names = "default";
84 key-3 {
87 label = "SW1-3";
88 debounce-interval = <20>;
90 key-4 {
93 label = "SW1-4";
94 debounce-interval = <20>;
99 compatible = "gpio-leds";
111 vga-encoder {
115 #address-cells = <1>;
116 #size-cells = <0>;
121 remote-endpoint = <&du_out_rgb0>;
127 remote-endpoint = <&vga_in>;
134 compatible = "vga-connector";
138 remote-endpoint = <&vga_enc_out>;
143 lvds-encoder {
147 #address-cells = <1>;
148 #size-cells = <0>;
153 remote-endpoint = <&du_out_rgb1>;
164 x3_clk: x3-clock {
165 compatible = "fixed-clock";
166 #clock-cells = <0>;
167 clock-frequency = <65000000>;
172 pinctrl-0 = <&du_pins>;
173 pinctrl-names = "default";
177 clock-names = "du.0", "dclkin.0";
182 remote-endpoint = <&vga_enc_in>;
187 remote-endpoint = <&lvds_enc_in>;
194 keypad0-hog {
195 gpio-hog;
204 clock-frequency = <100000>;
212 clock-frequency = <31250000>;
217 compatible = "cfi-flash";
219 pinctrl-0 = <&flash_pins>;
220 pinctrl-names = "default";
221 bank-width = <2>;
224 compatible = "fixed-partitions";
225 #address-cells = <1>;
226 #size-cells = <1>;
231 read-only;
234 label = "uboot-env";
236 read-only;
248 pinctrl-0 = <&ethernet_pins>;
249 pinctrl-names = "default";
251 phy-mode = "mii";
252 interrupts-extended = <&irqpin0 1 IRQ_TYPE_EDGE_FALLING>;
253 smsc,irq-push-pull;
254 reg-io-width = <4>;
255 vddvario-supply = <&fixedregulator3v3>;
256 vdd33a-supply = <&fixedregulator3v3>;
265 pinctrl-0 = <&scif_clk_pins>;
266 pinctrl-names = "default";
320 keypad0_pins: keypad-0 {
322 bias-pull-up;
324 keypad1_pins: keypad-1 {
326 bias-pull-up;
335 pinctrl-0 = <&scif2_pins>;
336 pinctrl-names = "default";
342 pinctrl-0 = <&scif4_pins>;
343 pinctrl-names = "default";
349 clock-frequency = <14745600>;
353 pinctrl-0 = <&sdhi0_pins>;
354 pinctrl-names = "default";
356 vmmc-supply = <&fixedregulator3v3>;
357 vqmmc-supply = <&vccq_sdhi0>;
358 bus-width = <4>;
363 pinctrl-0 = <&hspi0_pins>;
364 pinctrl-names = "default";