Lines Matching +full:imx8mp +full:- +full:reset
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2021-2022 TQ-Systems GmbH
4 * Author: Alexander Stein <alexander.stein@tq-group.com>
7 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/net/ti-dp83867.h>
11 #include <dt-bindings/pwm/pwm.h>
12 #include "imx8mp-tqma8mpql.dtsi"
15 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL";
16 compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
19 stdout-path = &uart4;
22 iio-hwmon {
23 compatible = "iio-hwmon";
24 io-channels = <&adc 0>, <&adc 1>;
40 compatible = "pwm-backlight";
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_backlight>;
44 brightness-levels = <0 4 8 16 32 64 128 255>;
45 default-brightness-level = <7>;
46 power-supply = <®_vcc_12v0>;
47 enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
51 gpio-keys {
52 compatible = "gpio-keys";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_gpiobutton>;
57 switch-1 {
63 switch-2 {
70 gpio-leds {
71 compatible = "gpio-leds";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_gpioled>;
75 led-0 {
78 function-enumerator = <0>;
80 linux,default-trigger = "default-on";
83 led-1 {
87 linux,default-trigger = "heartbeat";
90 led-2 {
93 function-enumerator = <1>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_lvdsdisplay>;
105 power-supply = <®_vcc_3v3>;
106 enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
111 reg_usdhc2_vmmc: regulator-usdhc2 {
112 compatible = "regulator-fixed";
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
115 regulator-name = "VSD_3V3";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
119 enable-active-high;
120 startup-delay-us = <100>;
121 off-on-delay-us = <12000>;
124 reg_vcc_12v0: regulator-12v0 {
125 compatible = "regulator-fixed";
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_reg12v0>;
128 regulator-name = "VCC_12V0";
129 regulator-min-microvolt = <12000000>;
130 regulator-max-microvolt = <12000000>;
132 enable-active-high;
135 reg_vcc_3v3: regulator-3v3 {
136 compatible = "regulator-fixed";
137 regulator-name = "VCC_3V3";
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
142 reg_vcc_5v0: regulator-5v0 {
143 compatible = "regulator-fixed";
144 regulator-name = "VCC_5V0";
145 regulator-min-microvolt = <5000000>;
146 regulator-max-microvolt = <5000000>;
149 reserved-memory {
150 #address-cells = <2>;
151 #size-cells = <2>;
155 no-map;
161 compatible = "shared-dma-pool";
164 alloc-ranges = <0 0x40000000 0 0xB0000000>;
165 linux,cma-default;
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_ecspi1>;
173 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_ecspi2>;
180 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_ecspi3>;
187 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
194 spi-max-frequency = <1800000>;
195 vref-supply = <®_vcc_3v3>;
196 #io-channel-cells = <1>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>;
203 phy-mode = "rgmii-id";
204 phy-handle = <ðphy3>;
208 compatible = "snps,dwmac-mdio";
209 #address-cells = <1>;
210 #size-cells = <0>;
212 ethphy3: ethernet-phy@3 {
213 compatible = "ethernet-phy-ieee802.3-c22";
215 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
216 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
217 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
218 ti,dp83867-rxctrl-strap-quirk;
219 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
220 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
221 reset-assert-us = <500000>;
222 reset-deassert-us = <50000>;
223 enet-phy-lane-no-swap;
224 interrupt-parent = <&gpio4>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>;
233 phy-mode = "rgmii-id";
234 phy-handle = <ðphy0>;
235 fsl,magic-packet;
239 #address-cells = <1>;
240 #size-cells = <0>;
242 ethphy0: ethernet-phy@0 {
243 compatible = "ethernet-phy-ieee802.3-c22";
245 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
246 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
247 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
248 ti,dp83867-rxctrl-strap-quirk;
249 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
250 reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
251 reset-assert-us = <500000>;
252 reset-deassert-us = <50000>;
253 enet-phy-lane-no-swap;
254 interrupt-parent = <&gpio4>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_flexcan1>;
263 xceiver-supply = <®_vcc_3v3>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&pinctrl_flexcan2>;
270 xceiver-supply = <®_vcc_3v3>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&pinctrl_gpio1>;
278 gpio-line-names = "GPO1", "GPO0", "", "GPO3",
289 pinctrl-names = "default";
290 pinctrl-0 = <&pinctrl_hoggpio2>;
292 gpio-line-names = "", "", "", "",
301 perst-hog {
302 gpio-hog;
304 output-high;
305 line-name = "PERST#";
308 clkreq-hog {
309 gpio-hog;
312 line-name = "CLKREQ#";
315 pewake-hog {
316 gpio-hog;
319 line-name = "PEWAKE#";
324 gpio-line-names = "", "", "", "",
335 pinctrl-names = "default";
336 pinctrl-0 = <&pinctrl_gpio4>;
338 gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#",
349 gpio-line-names = "", "", "", "LED2",
360 clock-frequency = <384000>;
361 pinctrl-names = "default", "gpio";
362 pinctrl-0 = <&pinctrl_i2c2>;
363 pinctrl-1 = <&pinctrl_i2c2_gpio>;
364 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
365 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
369 se97_1c: temperature-sensor-eeprom@1c {
370 compatible = "nxp,se97", "jedec,jc-42.4-temp";
378 vcc-supply = <®_vcc_3v3>;
383 clock-frequency = <384000>;
384 pinctrl-names = "default", "gpio";
385 pinctrl-0 = <&pinctrl_i2c4>;
386 pinctrl-1 = <&pinctrl_i2c4_gpio>;
387 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
388 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
393 clock-frequency = <384000>;
394 pinctrl-names = "default", "gpio";
395 pinctrl-0 = <&pinctrl_i2c6>;
396 pinctrl-1 = <&pinctrl_i2c6_gpio>;
397 scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
398 sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&pinctrl_pcf85063>;
406 interrupt-parent = <&gpio4>;
411 pinctrl-names = "default";
412 pinctrl-0 = <&pinctrl_pwm2>;
417 pinctrl-names = "default";
418 pinctrl-0 = <&pinctrl_pwm3>;
427 pinctrl-names = "default";
428 pinctrl-0 = <&pinctrl_uart1>;
429 assigned-clocks = <&clk IMX8MP_CLK_UART1>;
430 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&pinctrl_uart2>;
437 assigned-clocks = <&clk IMX8MP_CLK_UART2>;
438 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&pinctrl_uart3>;
445 assigned-clocks = <&clk IMX8MP_CLK_UART3>;
446 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&pinctrl_uart4>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&pinctrl_usb0>;
460 fsl,over-current-active-low;
465 vbus-supply = <®_vcc_5v0>;
471 hnp-disable;
472 srp-disable;
473 adp-disable;
475 usb-role-switch;
476 role-switch-default-mode = "peripheral";
480 compatible = "gpio-usb-b-connector", "usb-b-connector";
483 pinctrl-names = "default";
484 pinctrl-0 = <&pinctrl_usbcon0>;
485 id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
490 pinctrl-names = "default", "state_100mhz", "state_200mhz";
491 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
492 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
493 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
494 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
495 vmmc-supply = <®_usdhc2_vmmc>;
496 no-mmc;
497 no-sdio;
498 disable-wp;
499 bus-width = <4>;
645 pinctrl_i2c2_gpio: i2c2-gpiogrp {
655 pinctrl_i2c4_gpio: i2c4-gpiogrp {
665 pinctrl_i2c6_gpio: i2c6-gpiogrp {
733 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
743 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
753 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {