Lines Matching +full:gpio +full:- +full:beeper

1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Device Tree Include file for TQ-Systems MBa7 carrier board.
5 * Copyright (C) 2016 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/net/ti-dp83867.h>
20 /delete-property/ mmc2;
25 beeper {
26 compatible = "gpio-beeper";
31 stdout-path = &uart6;
34 gpio_buttons: gpio-keys {
35 compatible = "gpio-keys";
38 * NOTE: These buttons are attached to a GPIO-expander.
39 * Enabling wakeup-source, enables wakeup on all inputs.
43 button-0 {
48 wakeup-source;
51 button-1 {
56 wakeup-source;
59 button-2 {
64 wakeup-source;
68 gpio-leds {
69 compatible = "gpio-leds";
74 linux,default-trigger = "default-on";
80 linux,default-trigger = "heartbeat";
84 iio-hwmon {
85 compatible = "iio-hwmon";
86 io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
90 reg_sd1_vmmc: regulator-sd1-vmmc {
91 compatible = "regulator-fixed";
92 regulator-name = "VCC3V3_SD1";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 regulator-always-on;
98 reg_fec1_pwdn: regulator-fec1-pwdn {
99 compatible = "regulator-fixed";
100 regulator-name = "PWDN_FEC1";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
103 regulator-always-on;
104 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
105 enable-active-high;
108 reg_fec2_pwdn: regulator-fec2-pwdn {
109 compatible = "regulator-fixed";
110 regulator-name = "PWDN_FEC2";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
113 regulator-always-on;
114 gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>;
115 enable-active-high;
118 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
119 compatible = "regulator-fixed";
120 regulator-name = "VBUS_USBOTG1";
121 regulator-min-microvolt = <5000000>;
122 regulator-max-microvolt = <5000000>;
123 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
124 enable-active-high;
127 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
128 compatible = "regulator-fixed";
129 regulator-name = "VBUS_USBOTG2";
130 regulator-min-microvolt = <5000000>;
131 regulator-max-microvolt = <5000000>;
132 gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
133 enable-active-high;
136 reg_mpcie_1v5: regulator-mpcie-1v5 {
137 compatible = "regulator-fixed";
138 regulator-name = "VCC1V5_MPCIE";
139 regulator-min-microvolt = <1500000>;
140 regulator-max-microvolt = <1500000>;
141 gpio = <&pca9555 12 GPIO_ACTIVE_HIGH>;
142 enable-active-high;
143 regulator-always-on;
146 reg_mpcie_3v3: regulator-mpcie-3v3 {
147 compatible = "regulator-fixed";
148 regulator-name = "VCC3V3_MPCIE";
149 regulator-min-microvolt = <3300000>;
150 regulator-max-microvolt = <3300000>;
151 gpio = <&pca9555 10 GPIO_ACTIVE_HIGH>;
152 enable-active-high;
153 regulator-always-on;
156 reg_mba_12v0: regulator-mba-12v0 {
157 compatible = "regulator-fixed";
158 regulator-name = "VCC12V0_MBA7";
159 regulator-min-microvolt = <12000000>;
160 regulator-max-microvolt = <12000000>;
161 gpio = <&pca9555 11 GPIO_ACTIVE_HIGH>;
162 enable-active-high;
165 reg_lvds_transmitter: regulator-lvds-transmitter {
166 compatible = "regulator-fixed";
167 regulator-name = "#SHTDN_LVDS";
168 regulator-min-microvolt = <3300000>;
169 regulator-max-microvolt = <3300000>;
170 gpio = <&pca9555 1 GPIO_ACTIVE_HIGH>;
171 enable-active-high;
174 reg_vref_1v8: regulator-vref-1v8 {
175 compatible = "regulator-fixed";
176 regulator-name = "VCC1V8_REF";
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 regulator-always-on;
180 vin-supply = <&sw2_reg>;
183 reg_audio_3v3: regulator-audio-3v3 {
184 compatible = "regulator-fixed";
185 regulator-name = "VCC3V3_AUDIO";
186 regulator-min-microvolt = <3300000>;
187 regulator-max-microvolt = <3300000>;
188 regulator-always-on;
191 reg_vcc_3v3: regulator-vcc-3v3 {
192 compatible = "regulator-fixed";
193 regulator-name = "VCC3V3";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
196 regulator-always-on;
200 compatible = "fsl,imx-audio-tlv320aic32x4";
201 model = "imx-audio-tlv320aic32x4";
202 ssi-controller = <&sai1>;
203 audio-codec = <&tlv320aic32x4>;
204 audio-routing =
215 vref-supply = <&reg_vref_1v8>;
220 vref-supply = <&reg_vref_1v8>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_ecspi1>, <&pinctrl_ecspi1_ss0>;
227 cs-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>, <&gpio4 1 GPIO_ACTIVE_LOW>,
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_ecspi2>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&pinctrl_enet1>;
241 phy-mode = "rgmii-id";
242 phy-supply = <&reg_fec1_pwdn>;
243 phy-handle = <&ethphy1_0>;
244 fsl,magic-packet;
248 #address-cells = <1>;
249 #size-cells = <0>;
251 ethphy1_0: ethernet-phy@0 {
252 compatible = "ethernet-phy-ieee802.3-c22";
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_enet1_phy>;
256 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>;
257 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>;
258 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
259 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
260 reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>;
261 reset-assert-us = <1000>;
262 reset-deassert-us = <500>;
269 compatible = "fixed-partitions";
270 #address-cells = <1>;
271 #size-cells = <1>;
274 label = "U-Boot";
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_flexcan1>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_flexcan2>;
318 lm75: temperature-sensor@49 {
321 vs-supply = <&reg_vcc_3v3>;
326 clock-frequency = <100000>;
327 pinctrl-names = "default", "gpio";
328 pinctrl-0 = <&pinctrl_i2c2>;
329 pinctrl-1 = <&pinctrl_i2c2_recovery>;
330 scl-gpios = <&gpio4 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
331 sda-gpios = <&gpio4 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
334 tlv320aic32x4: audio-codec@18 {
338 clock-names = "mclk";
339 ldoin-supply = <&reg_audio_3v3>;
340 iov-supply = <&reg_audio_3v3>;
343 pca9555: gpio-expander@20 {
346 pinctrl-names = "default";
347 pinctrl-0 = <&pinctrl_pca9555>;
348 gpio-controller;
349 #gpio-cells = <2>;
350 interrupt-parent = <&gpio7>;
352 interrupt-controller;
353 #interrupt-cells = <2>;
354 vcc-supply = <&reg_vcc_3v3>;
359 clock-frequency = <100000>;
360 pinctrl-names = "default", "gpio";
361 pinctrl-0 = <&pinctrl_i2c3>;
362 pinctrl-1 = <&pinctrl_i2c3_recovery>;
363 scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
364 sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pinctrl_hog_mba7_1>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&pinctrl_pwm1>;
590 pinctrl-names = "default";
591 pinctrl-0 = <&pinctrl_sai1>;
592 assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>,
594 assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
595 assigned-clock-rates = <0>, <36864000>;
604 pinctrl-names = "default";
605 pinctrl-0 = <&pinctrl_uart3>;
606 assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>;
607 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
612 pinctrl-names = "default";
613 pinctrl-0 = <&pinctrl_uart4>;
614 assigned-clocks = <&clks IMX7D_UART4_ROOT_SRC>;
615 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
620 pinctrl-names = "default";
621 pinctrl-0 = <&pinctrl_uart5>;
622 assigned-clocks = <&clks IMX7D_UART5_ROOT_SRC>;
623 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&pinctrl_uart6>;
630 assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
631 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
636 pinctrl-names = "default";
637 pinctrl-0 = <&pinctrl_uart7>;
638 assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>;
639 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
640 uart-has-rtscts;
641 linux,rs485-enabled-at-boot-time;
642 rs485-rts-active-low;
643 rs485-rx-during-tx;
648 disable-over-current;
653 pinctrl-names = "default";
654 pinctrl-0 = <&pinctrl_usbotg1>;
655 vbus-supply = <&reg_usb_otg1_vbus>;
656 srp-disable;
657 hnp-disable;
658 adp-disable;
659 over-current-active-low;
665 pinctrl-names = "default", "state_100mhz", "state_200mhz";
666 pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>;
667 pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>;
668 pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>;
669 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
670 wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
671 vmmc-supply = <&reg_sd1_vmmc>;
672 bus-width = <4>;
673 no-1-8-v;
674 no-sdio;
675 no-mmc;
680 pinctrl-names = "default";
681 pinctrl-0 = <&pinctrl_wdog1>;
682 fsl,ext-reset-output;