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>
14 #include <dt-bindings/usb/pd.h>
15 #include "imx93-tqma9352.dtsi"
18 model = "TQ-Systems i.MX93 TQMa93xxLA on MBa93xxLA SBC";
19 compatible = "tq,imx93-tqma9352-mba93xxla",
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 = <&reg_12v0>;
41 enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>;
45 clk_dp: clk-dp {
46 compatible = "fixed-clock";
47 #clock-cells = <0>;
48 clock-frequency = <26000000>;
51 gpio-keys {
52 compatible = "gpio-keys";
55 switch-a {
59 wakeup-source;
62 switch-b {
66 wakeup-source;
70 gpio-leds {
71 compatible = "gpio-leds";
73 led-1 {
77 linux,default-trigger = "default-on";
80 led-2 {
84 linux,default-trigger = "heartbeat";
88 iio-hwmon {
89 compatible = "iio-hwmon";
90 io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>;
93 reg_3v3: regulator-3v3 {
94 compatible = "regulator-fixed";
95 regulator-name = "V_3V3_MB";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
100 reg_3v8: regulator-3v8 {
101 compatible = "regulator-fixed";
102 regulator-name = "V_3V8";
103 regulator-min-microvolt = <3800000>;
104 regulator-max-microvolt = <3800000>;
106 enable-active-high;
108 regulator-always-on;
111 reg_5v0: regulator-5v0 {
112 compatible = "regulator-fixed";
113 regulator-name = "V_5V0_MB";
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
118 reg_12v0: regulator-12v0 {
119 compatible = "regulator-fixed";
120 regulator-name = "V_12V";
121 regulator-min-microvolt = <12000000>;
122 regulator-max-microvolt = <12000000>;
124 enable-active-high;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_eqos>;
135 phy-mode = "rgmii-id";
136 phy-handle = <&ethphy_eqos>;
140 compatible = "snps,dwmac-mdio";
141 #address-cells = <1>;
142 #size-cells = <0>;
144 ethphy_eqos: ethernet-phy@0 {
145 compatible = "ethernet-phy-ieee802.3-c22";
147 pinctrl-names = "default";
148 pinctrl-0 = <&pinctrl_eqos_phy>;
149 interrupt-parent = <&gpio3>;
151 reset-gpios = <&expander1 0 GPIO_ACTIVE_LOW>;
152 reset-assert-us = <500000>;
153 reset-deassert-us = <50000>;
154 enet-phy-lane-no-swap;
155 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
156 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
157 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
158 ti,dp83867-rxctrl-strap-quirk;
159 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_fec>;
167 phy-mode = "rgmii-id";
168 phy-handle = <&ethphy_fec>;
169 fsl,magic-packet;
173 #address-cells = <1>;
174 #size-cells = <0>;
175 clock-frequency = <5000000>;
177 ethphy_fec: ethernet-phy@0 {
178 compatible = "ethernet-phy-ieee802.3-c22";
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_fec_phy>;
182 interrupt-parent = <&gpio3>;
184 reset-gpios = <&expander1 1 GPIO_ACTIVE_LOW>;
185 reset-assert-us = <500000>;
186 reset-deassert-us = <50000>;
187 enet-phy-lane-no-swap;
188 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
189 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
190 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
191 ti,dp83867-rxctrl-strap-quirk;
192 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_flexcan1>;
200 xceiver-supply = <&reg_3v3>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&pinctrl_flexcan2>;
207 xceiver-supply = <&reg_3v3>;
211 &gpio1 {
212 gpio-line-names =
222 expander-irq-hog {
223 gpio-hog;
226 line-name = "PEX_INT#";
229 rtc-irq-hog {
230 gpio-hog;
233 line-name = "RTC_EVENT#";
238 pinctrl-names = "default";
239 pinctrl-0 = <&pinctrl_gpio2>;
241 gpio-line-names =
253 gpio-line-names =
263 ethphy-eqos-irq-hog {
264 gpio-hog;
267 line-name = "ENET1_INT#";
270 ethphy-fec-irq-hog {
271 gpio-hog;
274 line-name = "ENET2_INT#";
279 gpio-line-names =
289 dp-int-hog {
290 gpio-hog;
293 line-name = "DP_INT";
298 #address-cells = <1>;
299 #size-cells = <0>;
300 clock-frequency = <400000>;
301 pinctrl-names = "default", "sleep";
302 pinctrl-0 = <&pinctrl_lpi2c3>;
303 pinctrl-1 = <&pinctrl_lpi2c3>;
306 temperature-sensor@1c {
307 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
311 ptn5110: usb-typec@50 {
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_typec>;
316 interrupt-parent = <&gpio1>;
320 compatible = "usb-c-connector";
322 power-role = "dual";
323 data-role = "dual";
324 try-power-role = "sink";
325 typec-power-opmode = "default";
326 pd-disable;
327 self-powered;
331 remote-endpoint = <&typec_hs>;
341 vcc-supply = <&reg_3v3>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&pinctrl_pexp_irq>;
349 gpio-controller;
350 #gpio-cells = <2>;
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 interrupt-parent = <&gpio1>;
355 vcc-supply = <&reg_3v3>;
356 gpio-line-names = "3V8_EN", "",
364 * The output-low states, the signal is
367 iot_wdisable_hog: iot-wdisable-hog {
368 gpio-hog;
370 output-low;
371 line-name = "IOT_W_DISABLE";
378 gpio-controller;
379 #gpio-cells = <2>;
380 vcc-supply = <&reg_3v3>;
381 gpio-line-names = "ENET1_RESET#", "ENET2_RESET#",
388 * as power down signal. The output-low states, the signal
391 wlan-pd-hog {
392 gpio-hog;
394 output-low;
395 line-name = "WLAN_PD#";
400 * as disable signal. The output-low states, the signal
403 wlan-wdisable-hog {
404 gpio-hog;
406 output-low;
407 line-name = "WLAN_W_DISABLE#";
412 * as reset signal. The output-low states, the signal
415 wlan-perst-hog {
416 gpio-hog;
418 output-low;
419 line-name = "WLAN_PERST#";
426 gpio-controller;
427 #gpio-cells = <2>;
428 vcc-supply = <&reg_3v3>;
429 gpio-line-names = "LCD_RESET#", "LCD_PWR_EN",
437 #address-cells = <1>;
438 #size-cells = <0>;
439 clock-frequency = <400000>;
440 pinctrl-names = "default", "sleep";
441 pinctrl-0 = <&pinctrl_lpi2c5>;
442 pinctrl-1 = <&pinctrl_lpi2c5>;
445 dp_bridge: dp-bridge@f {
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_tc9595>;
450 clock-names = "ref";
452 reset-gpios = <&expander2 3 GPIO_ACTIVE_HIGH>;
453 interrupt-parent = <&gpio4>;
455 toshiba,hpd-pin = <0>;
459 #address-cells = <1>;
460 #size-cells = <0>;
466 data-lanes = <1 2 3 4>;
474 pinctrl-names = "default";
475 pinctrl-0 = <&pinctrl_lpspi6>, <&pinctrl_lpspi6_cs>;
476 cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&pinctrl_uart1>;
487 pinctrl-names = "default";
488 pinctrl-0 = <&pinctrl_uart2>;
489 linux,rs485-enabled-at-boot-time;
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_uart3>;
501 pinctrl-names = "default";
502 pinctrl-0 = <&pinctrl_uart6>;
507 pinctrl-names = "default";
508 pinctrl-0 = <&pinctrl_uart8>;
514 pinctrl-names = "default";
515 pinctrl-0 = <&pinctrl_pcf85063>;
516 interrupt-parent = <&gpio1>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&pinctrl_temp_sensor_som>;
524 interrupt-parent = <&gpio1>;
529 pinctrl-names = "default";
530 pinctrl-0 = <&pinctrl_tpm5>;
535 hnp-disable;
536 srp-disable;
537 adp-disable;
538 usb-role-switch;
539 disable-over-current;
540 samsung,picophy-pre-emp-curr-control = <3>;
541 samsung,picophy-dc-vol-level-adjust = <7>;
546 remote-endpoint = <&typec_con_hs>;
553 #address-cells = <1>;
554 #size-cells = <0>;
555 disable-over-current;
556 samsung,picophy-pre-emp-curr-control = <3>;
557 samsung,picophy-dc-vol-level-adjust = <7>;
560 hub_2_0: usb-hub@1 {
563 reset-gpios = <&expander1 2 GPIO_ACTIVE_LOW>;
564 vdd-supply = <&reg_3v3>;
569 pinctrl-names = "default", "state_100mhz", "state_200mhz";
570 pinctrl-0 = <&pinctrl_usdhc2_hs>, <&pinctrl_usdhc2_gpio>;
571 pinctrl-1 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
572 pinctrl-2 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
573 cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
574 vmmc-supply = <&reg_usdhc2_vmmc>;
575 bus-width = <4>;
576 no-sdio;
577 no-mmc;
578 disable-wp;
755 pinctrl_tc9595: tc9595-grp {
835 /* enable SION for data and cmd pad due to ERR052021 */
852 /* enable SION for data and cmd pad due to ERR052021 */