Lines Matching +full:gpio2 +full:- +full:output +full:- +full:enable

1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2014-2022 Toradex
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
14 #include "imx6qdl-apalis.dtsi"
18 compatible = "toradex,apalis_imx6q-ixora-v1.2", "toradex,apalis_imx6q",
30 stdout-path = "serial0:115200n8";
34 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_leds_ixora>;
39 led4-green {
44 led4-red {
49 led5-green {
50 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
54 led5-red {
55 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
60 reg_3v3_vmmc: regulator-3v3-vmmc {
61 compatible = "regulator-fixed";
62 enable-active-high;
63 gpio = <&gpio2 0 GPIO_ACTIVE_HIGH>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_enable_3v3_vmmc>;
66 regulator-max-microvolt = <3300000>;
67 regulator-min-microvolt = <3300000>;
68 regulator-name = "3v3_vmmc";
69 startup-delay-us = <100>;
72 reg_can1_supply: regulator-can1-supply {
73 compatible = "regulator-fixed";
74 enable-active-high;
75 gpio = <&gpio2 3 GPIO_ACTIVE_HIGH>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_enable_can1_power>;
78 regulator-name = "can1_supply";
81 reg_can2_supply: regulator-can2-supply {
82 compatible = "regulator-fixed";
83 enable-active-high;
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_enable_can2_power>;
87 regulator-name = "can2_supply";
92 xceiver-supply = <&reg_can1_supply>;
97 xceiver-supply = <&reg_can2_supply>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&pinctrl_uart24_forceoff>;
106 * uart-2-4-on-x21-enable-hog enables the UART transceiver for Apalis
108 * the GPIO to output-low, if one wants to control the transceiver
111 uart-2-4-on-x21-enable-hog {
112 gpio-hog;
114 output-high;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_reset_moci>;
146 /* active-high meaning opposite of regular PERST# active-low polarity */
147 reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
148 reset-gpio-active-high;
205 vbus-supply = <&reg_usb_host_vbus>;
210 vbus-supply = <&reg_usb_otg_vbus>;
216 pinctrl-names = "default", "sleep";
217 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_mmc_cd>;
218 pinctrl-1 = <&pinctrl_usdhc1_4bit_sleep &pinctrl_mmc_cd_sleep>;
219 bus-width = <4>;
220 cap-power-off-card;
221 vmmc-supply = <&reg_3v3_vmmc>;
266 pinctrl_usdhc1_4bit_sleep: usdhc1-4bitslpgrp {