Lines Matching +full:gpio1 +full:- +full:output +full:- +full:enable
1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
15 #include "imx93-tqma9352.dtsi"
18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit";
19 compatible = "tq,imx93-tqma9352-mba93xxca",
20 "tq,imx93-tqma9352", "fsl,imx93";
21 chassis-type = "embedded";
24 stdout-path = &lpuart1;
36 compatible = "pwm-backlight";
38 brightness-levels = <0 4 8 16 32 64 128 255>;
39 default-brightness-level = <7>;
40 power-supply = <®_12v0>;
41 enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>;
45 fan0: pwm-fan {
46 compatible = "pwm-fan";
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_pwmfan>;
49 fan-supply = <®_pwm_fan>;
50 #cooling-cells = <2>;
51 /* typical 25 kHz -> 40.000 nsec */
53 cooling-levels = <0 32 64 128 196 240>;
54 pulses-per-revolution = <2>;
55 interrupt-parent = <&gpio2>;
60 gpio-keys {
61 compatible = "gpio-keys";
64 switch-a {
68 wakeup-source;
71 switch-b {
75 wakeup-source;
79 gpio-leds {
80 compatible = "gpio-leds";
82 led-1 {
86 linux,default-trigger = "default-on";
89 led-2 {
93 linux,default-trigger = "heartbeat";
97 iio-hwmon {
98 compatible = "iio-hwmon";
99 io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>;
102 reg_3v3: regulator-3v3 {
103 compatible = "regulator-fixed";
104 regulator-name = "V_3V3_MB";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
109 reg_5v0: regulator-5v0 {
110 compatible = "regulator-fixed";
111 regulator-name = "V_5V0_MB";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
116 reg_12v0: regulator-12v0 {
117 compatible = "regulator-fixed";
118 regulator-name = "V_12V";
119 regulator-min-microvolt = <12000000>;
120 regulator-max-microvolt = <12000000>;
122 enable-active-high;
125 reg_mpcie_1v5: regulator-mpcie-1v5 {
126 compatible = "regulator-fixed";
127 regulator-name = "V_1V5_MPCIE";
128 regulator-min-microvolt = <1500000>;
129 regulator-max-microvolt = <1500000>;
131 enable-active-high;
134 reg_mpcie_3v3: regulator-mpcie-3v3 {
135 compatible = "regulator-fixed";
136 regulator-name = "V_3V3_MPCIE";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
140 enable-active-high;
143 reg_pwm_fan: regulator-pwm-fan {
144 compatible = "regulator-fixed";
145 regulator-name = "FAN_PWR";
146 regulator-min-microvolt = <12000000>;
147 regulator-max-microvolt = <12000000>;
149 enable-active-high;
150 vin-supply = <®_12v0>;
153 thermal-zones {
154 cpu-thermal {
156 cpu_active0: trip-active0 {
162 cpu_active1: trip-active1 {
168 cpu_active2: trip-active2 {
175 cooling-maps {
178 cooling-device = <&fan0 1 1>;
183 cooling-device = <&fan0 2 2>;
188 cooling-device = <&fan0 3 3>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&pinctrl_eqos>;
202 phy-mode = "rgmii-id";
203 phy-handle = <ðphy_eqos>;
207 compatible = "snps,dwmac-mdio";
208 #address-cells = <1>;
209 #size-cells = <0>;
211 ethphy_eqos: ethernet-phy@0 {
212 compatible = "ethernet-phy-ieee802.3-c22";
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_eqos_phy>;
216 reset-gpios = <&expander1 0 GPIO_ACTIVE_LOW>;
217 reset-assert-us = <500000>;
218 reset-deassert-us = <50000>;
219 interrupt-parent = <&gpio3>;
221 enet-phy-lane-no-swap;
222 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
223 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
224 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
225 ti,dp83867-rxctrl-strap-quirk;
226 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_fec>;
234 phy-mode = "rgmii-id";
235 phy-handle = <ðphy_fec>;
236 fsl,magic-packet;
240 #address-cells = <1>;
241 #size-cells = <0>;
242 clock-frequency = <5000000>;
244 ethphy_fec: ethernet-phy@0 {
245 compatible = "ethernet-phy-ieee802.3-c22";
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_fec_phy>;
249 reset-gpios = <&expander1 1 GPIO_ACTIVE_LOW>;
250 reset-assert-us = <500000>;
251 reset-deassert-us = <50000>;
252 interrupt-parent = <&gpio3>;
254 enet-phy-lane-no-swap;
255 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
256 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
257 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
258 ti,dp83867-rxctrl-strap-quirk;
259 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
265 pinctrl-names = "default";
266 pinctrl-0 = <&pinctrl_flexcan1>;
267 xceiver-supply = <®_3v3>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctrl_flexcan2>;
274 xceiver-supply = <®_3v3>;
278 &gpio1 {
279 gpio-line-names =
289 expander-irq-hog {
290 gpio-hog;
293 line-name = "PEX_INT#";
296 tcpc-irq-hog {
297 gpio-hog;
300 line-name = "USB_C_ALERT#";
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_gpio2>;
308 gpio-line-names =
320 gpio-line-names =
332 gpio-line-names =
344 #address-cells = <1>;
345 #size-cells = <0>;
346 clock-frequency = <400000>;
347 pinctrl-names = "default", "sleep";
348 pinctrl-0 = <&pinctrl_lpi2c3>;
349 pinctrl-1 = <&pinctrl_lpi2c3>;
352 temperature-sensor@1c {
353 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
357 ptn5110: usb-typec@50 {
360 pinctrl-names = "default";
361 pinctrl-0 = <&pinctrl_typec>;
362 interrupt-parent = <&gpio1>;
366 compatible = "usb-c-connector";
368 power-role = "dual";
369 data-role = "dual";
370 try-power-role = "sink";
371 typec-power-opmode = "default";
372 pd-disable;
373 self-powered;
377 remote-endpoint = <&typec_hs>;
387 vcc-supply = <®_3v3>;
393 pinctrl-names = "default";
394 pinctrl-0 = <&pinctrl_pexp_irq>;
395 gpio-controller;
396 #gpio-cells = <2>;
397 interrupt-controller;
398 #interrupt-cells = <2>;
399 interrupt-parent = <&gpio1>;
401 vcc-supply = <®_3v3>;
402 gpio-line-names = "FAN_PWR_EN", "MPCIE_WAKE#",
407 mpcie-wake-hog {
408 gpio-hog;
411 line-name = "MPCIE_WAKE#";
416 * reset signal. The output-low states, the signal is
419 mpcie_rst_hog: mpcie-rst-hog {
420 gpio-hog;
422 output-low;
423 line-name = "MPCIE_PERST#";
428 * as disable signal. The output-low states, the signal is
431 mpcie_wdisable_hog: mpcie-wdisable-hog {
432 gpio-hog;
434 output-low;
435 line-name = "MPCIE_WDISABLE#";
442 gpio-controller;
443 #gpio-cells = <2>;
444 vcc-supply = <®_3v3>;
445 gpio-line-names = "ENET1_RESET#", "ENET2_RESET#",
452 * as power down signal. The output-high states, the signal
455 wlan-pd-hog {
456 gpio-hog;
458 output-high;
459 line-name = "WLAN_PD#";
464 * as disable signal. The output-high states, the signal
467 wlan-wdisable-hog {
468 gpio-hog;
470 output-high;
471 line-name = "WLAN_W_DISABLE#";
476 * as reset signal. The output-high states, the signal
479 wlan-perst-hog {
480 gpio-hog;
482 output-high;
483 line-name = "WLAN_PERST#";
490 gpio-controller;
491 #gpio-cells = <2>;
492 vcc-supply = <®_3v3>;
493 gpio-line-names = "LCD_RESET#", "LCD_PWR_EN",
501 #address-cells = <1>;
502 #size-cells = <0>;
503 clock-frequency = <400000>;
504 pinctrl-names = "default", "sleep";
505 pinctrl-0 = <&pinctrl_lpi2c5>;
506 pinctrl-1 = <&pinctrl_lpi2c5>;
511 pinctrl-names = "default", "sleep";
512 pinctrl-0 = <&pinctrl_lpspi6>;
513 pinctrl-1 = <&pinctrl_lpspi6>;
518 pinctrl-names = "default";
519 pinctrl-0 = <&pinctrl_uart1>;
524 pinctrl-names = "default";
525 pinctrl-0 = <&pinctrl_uart2>;
526 linux,rs485-enabled-at-boot-time;
532 pinctrl-names = "default";
533 pinctrl-0 = <&pinctrl_uart3>;
538 pinctrl-names = "default";
539 pinctrl-0 = <&pinctrl_uart6>;
544 pinctrl-names = "default";
545 pinctrl-0 = <&pinctrl_uart8>;
551 pinctrl-names = "default";
552 pinctrl-0 = <&pinctrl_pcf85063>;
553 interrupt-parent = <&gpio1>;
559 pinctrl-names = "default";
560 pinctrl-0 = <&pinctrl_temp_sensor_som>;
561 interrupt-parent = <&gpio1>;
566 pinctrl-names = "default";
567 pinctrl-0 = <&pinctrl_tpm5>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&pinctrl_tpm6>;
578 hnp-disable;
579 srp-disable;
580 adp-disable;
581 usb-role-switch;
582 disable-over-current;
583 samsung,picophy-pre-emp-curr-control = <3>;
584 samsung,picophy-dc-vol-level-adjust = <7>;
589 remote-endpoint = <&typec_con_hs>;
596 #address-cells = <1>;
597 #size-cells = <0>;
598 disable-over-current;
599 samsung,picophy-pre-emp-curr-control = <3>;
600 samsung,picophy-dc-vol-level-adjust = <7>;
603 hub_2_0: usb-hub@1 {
606 reset-gpios = <&expander1 2 GPIO_ACTIVE_LOW>;
607 vdd-supply = <®_3v3>;
612 pinctrl-names = "default", "state_100mhz", "state_200mhz";
613 pinctrl-0 = <&pinctrl_usdhc2_hs>, <&pinctrl_usdhc2_gpio>;
614 pinctrl-1 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
615 pinctrl-2 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
616 cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
617 vmmc-supply = <®_usdhc2_vmmc>;
618 bus-width = <4>;
619 no-sdio;
620 no-mmc;
621 disable-wp;
793 pinctrl_tc9595: tc9595-grp {
873 /* enable SION for data and cmd pad due to ERR052021 */
890 /* enable SION for data and cmd pad due to ERR052021 */