Lines Matching +full:gpio2 +full:- +full:output +full:- +full:enable
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright (c) 2023-2024 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
9 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 #include <dt-bindings/pwm/pwm.h>
15 #include "imx8mp-tqma8mpql.dtsi"
18 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MP-RAS314";
19 compatible = "tq,imx8mp-tqma8mpql-mba8mp-ras314", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
20 chassis-type = "embedded";
23 stdout-path = &uart4;
36 compatible = "pwm-backlight";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_backlight>;
40 brightness-levels = <0 4 8 16 32 64 128 255>;
41 default-brightness-level = <7>;
42 power-supply = <®_vcc_12v0>;
43 enable-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_lvdsdisplay>;
55 power-supply = <®_vcc_3v3>;
56 enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
61 gpio-leds {
62 compatible = "gpio-leds";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_gpioled>;
66 led-1 {
69 function-enumerator = <0>;
73 led-2 {
76 function-enumerator = <1>;
81 hdmi-connector {
82 compatible = "hdmi-connector";
88 remote-endpoint = <&hdmi_tx_out>;
93 reg_usdhc2_vmmc: regulator-usdhc2 {
94 compatible = "regulator-fixed";
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
97 regulator-name = "VSD_3V3";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
101 enable-active-high;
102 startup-delay-us = <100>;
103 off-on-delay-us = <12000>;
106 reg_vcc_3v3: regulator-3v3 {
107 compatible = "regulator-fixed";
108 regulator-name = "V_3V3";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
113 reg_vcc_5v0: regulator-5v0 {
114 compatible = "regulator-fixed";
115 regulator-name = "V_5V0";
116 regulator-min-microvolt = <5000000>;
117 regulator-max-microvolt = <5000000>;
120 reg_vcc_12v0: regulator-12v0 {
121 compatible = "regulator-fixed";
122 regulator-name = "V_12V";
123 regulator-min-microvolt = <12000000>;
124 regulator-max-microvolt = <12000000>;
127 reserved-memory {
128 #address-cells = <2>;
129 #size-cells = <2>;
134 compatible = "shared-dma-pool";
137 alloc-ranges = <0 0x40000000 0 0xB0000000>;
138 linux,cma-default;
143 compatible = "rfkill-gpio";
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_rfkill>;
146 label = "rfkill-pcie-wlan";
147 radio-type = "wlan";
148 shutdown-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
152 compatible = "fsl,imx-audio-tlv320aic32x4";
153 model = "tq-mba8mp-ras314";
154 audio-cpu = <&sai5>;
155 audio-codec = <&tlv320aic3x04>;
156 audio-routing =
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_ecspi3>;
167 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>, <&gpio1 6 GPIO_ACTIVE_LOW>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&pinctrl_eqos>;
174 phy-mode = "rgmii-id";
175 phy-handle = <ðphy3>;
179 compatible = "snps,dwmac-mdio";
180 #address-cells = <1>;
181 #size-cells = <0>;
183 ethphy3: ethernet-phy@3 {
184 compatible = "ethernet-phy-ieee802.3-c22";
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_eqos_phy>;
188 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
189 reset-assert-us = <500000>;
190 reset-deassert-us = <50000>;
191 enet-phy-lane-no-swap;
192 interrupt-parent = <&gpio4>;
194 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
195 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
196 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
197 ti,dp83867-rxctrl-strap-quirk;
198 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_fec>;
206 phy-mode = "rgmii-id";
207 phy-handle = <ðphy0>;
208 fsl,magic-packet;
212 #address-cells = <1>;
213 #size-cells = <0>;
215 ethphy0: ethernet-phy@0 {
216 compatible = "ethernet-phy-ieee802.3-c22";
218 pinctrl-names = "default";
219 pinctrl-0 = <&pinctrl_fec_phy>;
220 reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
221 reset-assert-us = <500000>;
222 reset-deassert-us = <50000>;
223 enet-phy-lane-no-swap;
224 interrupt-parent = <&gpio4>;
226 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
227 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
228 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
229 ti,dp83867-rxctrl-strap-quirk;
230 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_gpio1>;
239 gpio-line-names = "WIFI_PMIC_EN", "LVDS_RESET#", "", "",
248 wifi-pmic-en-hog {
249 gpio-hog;
251 output-high;
252 line-name = "WIFI_PMIC_EN";
256 &gpio2 {
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_gpio2>;
260 gpio-line-names = "GPIO22", "GPIO23", "GPIO24", "GPIO25",
271 pinctrl-names = "default";
272 pinctrl-0 = <&pinctrl_gpio3>;
274 gpio-line-names = "", "", "", "",
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_gpio4>;
288 gpio-line-names = "", "", "", "",
297 pewake-hog {
298 gpio-hog;
301 line-name = "PCIE_WAKE#";
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_gpio5>, <&pinctrl_gpt1_gpio>,
310 gpio-line-names = "", "GPIO18", "", "GPIO3",
311 "GPIO2", "GPIO21", "", "",
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_gpt1>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_gpt2>;
333 pinctrl-names = "default";
334 pinctrl-0 = <&pinctrl_gpt3>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_hdmi>;
350 remote-endpoint = <&hdmi_connector_in>;
362 clock-frequency = <384000>;
363 pinctrl-names = "default", "gpio";
364 pinctrl-0 = <&pinctrl_i2c2>;
365 pinctrl-1 = <&pinctrl_i2c2_gpio>;
366 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
367 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
373 clock-frequency = <384000>;
374 pinctrl-names = "default", "gpio";
375 pinctrl-0 = <&pinctrl_i2c3>;
376 pinctrl-1 = <&pinctrl_i2c3_gpio>;
377 scl-gpios = <&gpio2 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
378 sda-gpios = <&gpio2 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
383 clock-frequency = <384000>;
384 pinctrl-names = "default", "gpio";
385 pinctrl-0 = <&pinctrl_i2c4>;
386 pinctrl-1 = <&pinctrl_i2c4_gpio>;
387 scl-gpios = <&gpio5 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
388 sda-gpios = <&gpio5 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
391 tlv320aic3x04: audio-codec@18 {
393 pinctrl-names = "default";
394 pinctrl-0 = <&pinctrl_tlv320aic3x04>;
396 clock-names = "mclk";
398 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
399 iov-supply = <®_vcc_3v3>;
400 ldoin-supply = <®_vcc_3v3>;
406 clock-frequency = <384000>;
407 pinctrl-names = "default", "gpio";
408 pinctrl-0 = <&pinctrl_i2c5>;
409 pinctrl-1 = <&pinctrl_i2c5_gpio>;
410 scl-gpios = <&gpio5 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
411 sda-gpios = <&gpio5 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
417 clock-frequency = <384000>;
418 pinctrl-names = "default", "gpio";
419 pinctrl-0 = <&pinctrl_i2c6>;
420 pinctrl-1 = <&pinctrl_i2c6_gpio>;
421 scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
422 sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
431 /* RTC_EVENT# is connected on MBa8MP-RAS314 */
432 pinctrl-names = "default";
433 pinctrl-0 = <&pinctrl_pcf85063>;
434 interrupt-parent = <&gpio3>;
440 clock-names = "ref";
441 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&pinctrl_pcie>;
448 reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&pinctrl_pwm2>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_pwm3>;
465 pinctrl-names = "default";
466 pinctrl-0 = <&pinctrl_pwm4>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&pinctrl_sai5>;
473 assigned-clocks = <&clk IMX8MP_CLK_SAI5>;
474 assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
475 assigned-clock-rates = <12288000>;
476 fsl,sai-mclk-direction-output;
486 pinctrl-names = "default";
487 pinctrl-0 = <&pinctrl_uart1>;
488 uart-has-rtscts;
489 assigned-clocks = <&clk IMX8MP_CLK_UART1>;
490 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_uart2>;
497 uart-has-rtscts;
498 assigned-clocks = <&clk IMX8MP_CLK_UART2>;
499 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
503 compatible = "nxp,88w8987-bt";
508 pinctrl-names = "default";
509 pinctrl-0 = <&pinctrl_uart3>;
510 assigned-clocks = <&clk IMX8MP_CLK_UART3>;
511 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
517 pinctrl-names = "default";
518 pinctrl-0 = <&pinctrl_uart4>;
523 fsl,disable-port-power-control;
528 fsl,disable-port-power-control;
529 fsl,permanently-attached;
534 vbus-supply = <®_vcc_5v0>;
539 vbus-supply = <®_vcc_5v0>;
550 #address-cells = <1>;
551 #size-cells = <0>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&pinctrl_usbhub>;
559 peer-hub = <&hub_3_0>;
560 reset-gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
561 vdd-supply = <®_vcc_3v3>;
567 peer-hub = <&hub_2_0>;
568 reset-gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
569 vdd-supply = <®_vcc_3v3>;
573 /* X1 SD card on GPIO22-GPIO27 */
575 pinctrl-names = "default";
576 pinctrl-0 = <&pinctrl_usdhc1>;
577 disable-wp;
578 bus-width = <4>;
583 pinctrl-names = "default", "state_100mhz", "state_200mhz";
584 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
585 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
586 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
587 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
588 vmmc-supply = <®_usdhc2_vmmc>;
589 no-mmc;
590 no-sdio;
591 disable-wp;
592 bus-width = <4>;
735 pinctrl_i2c2_gpio: i2c2-gpiogrp {
745 pinctrl_i2c3_gpio: i2c3-gpiogrp {
755 pinctrl_i2c4_gpio: i2c4-gpiogrp {
765 pinctrl_i2c5_gpio: i2c5-gpiogrp {
775 pinctrl_i2c6_gpio: i2c6-gpiogrp {
883 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
893 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
903 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {