Lines Matching +full:switch +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am3517-som.dtsi"
9 #include "am3517-evm-ui.dtsi"
10 #include <dt-bindings/input/input.h>
14 compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3";
21 stdout-path = &uart3;
30 compatible = "regulator-fixed";
31 regulator-name = "vmmc_fixed";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
36 gpio-keys {
37 compatible = "gpio-keys-polled";
38 poll-interval = <100>;
40 button-user {
43 gpios = <&tca6416 5 GPIO_ACTIVE_LOW>;
46 switch-1 {
47 label = "User Switch 1";
49 gpios = <&tca6416 8 GPIO_ACTIVE_LOW>;
52 switch-2 {
53 label = "User Switch 2";
55 gpios = <&tca6416 9 GPIO_ACTIVE_LOW>;
58 switch-3 {
59 label = "User Switch 3";
61 gpios = <&tca6416 10 GPIO_ACTIVE_LOW>;
64 switch-4 {
65 label = "User Switch 4";
67 gpios = <&tca6416 11 GPIO_ACTIVE_LOW>;
70 switch-5 {
71 label = "User Switch 5";
73 gpios = <&tca6416 12 GPIO_ACTIVE_LOW>;
76 switch-6 {
77 label = "User Switch 6";
79 gpios = <&tca6416 13 GPIO_ACTIVE_LOW>;
82 switch-7 {
83 label = "User Switch 7";
85 gpios = <&tca6416 14 GPIO_ACTIVE_LOW>;
88 switch-8 {
89 label = "User Switch 8";
91 gpios = <&tca6416 15 GPIO_ACTIVE_LOW>;
95 gpio-leds {
96 compatible = "gpio-leds";
98 pinctrl-names = "default";
99 pinctrl-0 = <&leds_pins>;
103 gpios = <&tca6416 7 GPIO_ACTIVE_LOW>;
104 default-state = "on";
109 gpios = <&tca6416 6 GPIO_ACTIVE_LOW>;
110 default-state = "on";
115 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
116 linux,default-trigger = "mmc0"; /* SD/MMC card activity */
121 gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
122 linux,default-trigger = "heartbeat";
129 compatible = "newhaven,nhd-4.3-480272ef-atxl";
132 enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; /* gpio176, lcd INI */
133 vcc-supply = <&vdd_io_reg>;
137 remote-endpoint = <&dpi_out>;
143 compatible = "pwm-backlight";
144 pinctrl-names = "default";
145 power-supply = <&vdd_io_reg>;
146 pinctrl-0 = <&backlight_pins>;
148 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
149 default-brightness-level = <7>;
150 enable-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* gpio_182 */
153 pwm11: pwm-11 {
154 compatible = "ti,omap-dmtimer-pwm";
155 pinctrl-names = "default";
156 pinctrl-0 = <&pwm_pins>;
158 #pwm-cells = <3>;
159 ti,clock-source = <0x01>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&hsusb1_rst_pins>;
166 compatible = "usb-nop-xceiv";
167 reset-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; /* gpio_57 */
168 #phy-cells = <0>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&ethernet_pins>;
175 phy-mode = "rmii";
176 phy-handle = <&ethphy0>;
181 #address-cells = <1>;
182 #size-cells = <0>;
185 ethphy0: ethernet-phy@0 {
186 pinctrl-names = "default";
187 pinctrl-0 = <&enet_phy_pins>;
188 compatible = "ethernet-phy-ieee802.3-c22";
190 interrupt-parent = <&gpio2>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&dss_dpi_pins>;
201 vdds_dsi-supply = <&vdd_io_reg>;
202 vdda_video-supply = <&vdd_io_reg>;
206 remote-endpoint = <&lcd_in>;
207 data-lines = <16>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&i2c2_pins>;
215 clock-frequency = <400000>;
220 gpio-controller;
221 #gpio-cells = <2>;
222 vcc-supply = <&vdd_io_reg>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&i2c3_pins>;
229 clock-frequency = <400000>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&mmc1_pins>;
236 vmmc-supply = <&vmmc_fixed>;
237 bus-width = <4>;
238 wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
239 cd-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>; /* gpio_127 */
247 pinctrl-names = "default";
248 pinctrl-0 = <&hsusb1_pins>;
249 port1-mode = "ehci-phy";
258 ethernet_pins: ethernet-pins {
259 pinctrl-single,pins = <
273 enet_phy_pins: ethernet-phy-pins {
274 pinctrl-single,pins = <
279 i2c2_pins: i2c2-pins {
280 pinctrl-single,pins = <
286 i2c3_pins: i2c3-pins {
287 pinctrl-single,pins = <
293 mmc1_pins: mmc1-pins {
294 pinctrl-single,pins = <
306 pwm_pins: pwm-pins {
307 pinctrl-single,pins = <
312 backlight_pins: backlight-pins {
313 pinctrl-single,pins = <
318 dss_dpi_pins: dss-dpi-pins {
319 pinctrl-single,pins = <
344 hsusb1_rst_pins: hsusb1-rst-pins {
345 pinctrl-single,pins = <
353 hsusb1_pins: hsusb1-pins {
354 pinctrl-single,pins = <
372 leds_pins: leds-pins {
373 pinctrl-single,pins = <