Lines Matching +full:ti +full:- +full:dp83867

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/phy/phy-imx8-pcie.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include "imx8mp-tqma8mpql.dtsi"
16 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL";
17 compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
18 chassis-type = "embedded";
21 stdout-path = &uart4;
24 iio-hwmon {
25 compatible = "iio-hwmon";
26 io-channels = <&adc 0>, <&adc 1>;
42 compatible = "pwm-backlight";
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_backlight>;
46 brightness-levels = <0 4 8 16 32 64 128 255>;
47 default-brightness-level = <7>;
48 power-supply = <&reg_vcc_12v0>;
49 enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
53 clk_xtal25: clk-xtal25 {
54 compatible = "fixed-clock";
55 #clock-cells = <0>;
56 clock-frequency = <25000000>;
60 compatible = "gpio-usb-b-connector", "usb-b-connector";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_usbcon0>;
65 id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
69 remote-endpoint = <&usb3_dwc>;
74 fan0: pwm-fan {
75 compatible = "pwm-fan";
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_pwmfan>;
78 fan-supply = <&reg_pwm_fan>;
79 #cooling-cells = <2>;
80 /* typical 25 kHz -> 40.000 nsec */
82 cooling-levels = <0 32 64 128 196 240>;
83 pulses-per-revolution = <2>;
84 interrupt-parent = <&gpio5>;
89 gpio-keys {
90 compatible = "gpio-keys";
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_gpiobutton>;
95 switch-1 {
99 wakeup-source;
102 switch-2 {
106 wakeup-source;
110 gpio-leds {
111 compatible = "gpio-leds";
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_gpioled>;
115 led-0 {
118 function-enumerator = <0>;
120 linux,default-trigger = "default-on";
123 led-1 {
127 linux,default-trigger = "heartbeat";
130 led-2 {
133 function-enumerator = <1>;
138 hdmi-connector {
139 compatible = "hdmi-connector";
145 remote-endpoint = <&hdmi_tx_out>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_lvdsdisplay>;
157 power-supply = <&reg_vcc_3v3>;
158 enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
163 reg_pwm_fan: regulator-pwm-fan {
164 compatible = "regulator-fixed";
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_regpwmfan>;
167 regulator-name = "FAN_PWR";
168 regulator-min-microvolt = <12000000>;
169 regulator-max-microvolt = <12000000>;
171 enable-active-high;
172 vin-supply = <&reg_vcc_12v0>;
175 reg_usdhc2_vmmc: regulator-usdhc2 {
176 compatible = "regulator-fixed";
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
179 regulator-name = "VSD_3V3";
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
183 enable-active-high;
184 startup-delay-us = <100>;
185 off-on-delay-us = <12000>;
188 reg_vcc_12v0: regulator-12v0 {
189 compatible = "regulator-fixed";
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_reg12v0>;
192 regulator-name = "VCC_12V0";
193 regulator-min-microvolt = <12000000>;
194 regulator-max-microvolt = <12000000>;
196 enable-active-high;
199 reg_vcc_1v8: regulator-1v8 {
200 compatible = "regulator-fixed";
201 regulator-name = "VCC_1V8";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
206 reg_vcc_3v3: regulator-3v3 {
207 compatible = "regulator-fixed";
208 regulator-name = "VCC_3V3";
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
213 reg_vcc_5v0: regulator-5v0 {
214 compatible = "regulator-fixed";
215 regulator-name = "VCC_5V0";
216 regulator-min-microvolt = <5000000>;
217 regulator-max-microvolt = <5000000>;
220 reserved-memory {
221 #address-cells = <2>;
222 #size-cells = <2>;
227 compatible = "shared-dma-pool";
230 alloc-ranges = <0 0x40000000 0 0xB0000000>;
231 linux,cma-default;
236 compatible = "fsl,imx-audio-tlv320aic32x4";
237 model = "tqm-tlv320aic32";
238 audio-asrc = <&easrc>;
239 audio-cpu = <&sai3>;
240 audio-codec = <&tlv320aic3x04>;
243 thermal-zones {
244 soc-thermal {
246 soc_active0: trip-active0 {
252 soc_active1: trip-active1 {
258 soc_active2: trip-active2 {
265 cooling-maps {
268 cooling-device = <&fan0 1 1>;
273 cooling-device = <&fan0 2 2>;
278 cooling-device = <&fan0 3 3>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&pinctrl_ecspi1>;
288 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_ecspi2>;
295 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
300 pinctrl-names = "default";
301 pinctrl-0 = <&pinctrl_ecspi3>;
302 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
309 spi-max-frequency = <1800000>;
310 vref-supply = <&reg_vcc_3v3>;
311 #io-channel-cells = <1>;
316 pinctrl-names = "default";
317 pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>;
318 phy-mode = "rgmii-id";
319 phy-handle = <&ethphy3>;
323 compatible = "snps,dwmac-mdio";
324 #address-cells = <1>;
325 #size-cells = <0>;
327 ethphy3: ethernet-phy@3 {
328 compatible = "ethernet-phy-ieee802.3-c22";
330 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
331 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
332 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
333 ti,dp83867-rxctrl-strap-quirk;
334 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
335 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
336 reset-assert-us = <500000>;
337 reset-deassert-us = <50000>;
338 enet-phy-lane-no-swap;
339 interrupt-parent = <&gpio4>;
346 pinctrl-names = "default";
347 pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>;
348 phy-mode = "rgmii-id";
349 phy-handle = <&ethphy0>;
350 fsl,magic-packet;
354 #address-cells = <1>;
355 #size-cells = <0>;
357 ethphy0: ethernet-phy@0 {
358 compatible = "ethernet-phy-ieee802.3-c22";
360 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
361 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
362 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
363 ti,dp83867-rxctrl-strap-quirk;
364 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
365 reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
366 reset-assert-us = <500000>;
367 reset-deassert-us = <50000>;
368 enet-phy-lane-no-swap;
369 interrupt-parent = <&gpio4>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&pinctrl_flexcan1>;
378 xceiver-supply = <&reg_vcc_3v3>;
383 pinctrl-names = "default";
384 pinctrl-0 = <&pinctrl_flexcan2>;
385 xceiver-supply = <&reg_vcc_3v3>;
390 pinctrl-names = "default";
391 pinctrl-0 = <&pinctrl_gpio1>;
393 gpio-line-names = "GPO1", "GPO0", "", "GPO3",
404 pinctrl-names = "default";
405 pinctrl-0 = <&pinctrl_hoggpio2>;
407 gpio-line-names = "", "", "", "",
416 perst-hog {
417 gpio-hog;
419 output-high;
420 line-name = "PERST#";
423 clkreq-hog {
424 gpio-hog;
427 line-name = "CLKREQ#";
430 pewake-hog {
431 gpio-hog;
434 line-name = "PEWAKE#";
439 gpio-line-names = "", "", "", "",
450 pinctrl-names = "default";
451 pinctrl-0 = <&pinctrl_gpio4>;
453 gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#",
462 pcie-refclkreq-hog {
463 gpio-hog;
465 output-high;
466 line-name = "PCIE_REFCLK_OE#";
471 gpio-line-names = "", "", "", "LED2",
486 pinctrl-names = "default";
487 pinctrl-0 = <&pinctrl_hdmi>;
493 remote-endpoint = <&hdmi_connector_in>;
504 clock-frequency = <384000>;
505 pinctrl-names = "default", "gpio";
506 pinctrl-0 = <&pinctrl_i2c2>;
507 pinctrl-1 = <&pinctrl_i2c2_gpio>;
508 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
509 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
512 tlv320aic3x04: audio-codec@18 {
513 compatible = "ti,tlv320aic32x4";
514 pinctrl-names = "default";
515 pinctrl-0 = <&pinctrl_tlv320aic3x04>;
517 clock-names = "mclk";
519 reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
520 iov-supply = <&reg_vcc_1v8>;
521 ldoin-supply = <&reg_vcc_3v3>;
524 se97_1c: temperature-sensor@1c {
525 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
533 vcc-supply = <&reg_vcc_3v3>;
536 pcieclk: clock-generator@6a {
540 #clock-cells = <1>;
545 clock-frequency = <384000>;
546 pinctrl-names = "default", "gpio";
547 pinctrl-0 = <&pinctrl_i2c4>;
548 pinctrl-1 = <&pinctrl_i2c4_gpio>;
549 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
550 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
555 clock-frequency = <384000>;
556 pinctrl-names = "default", "gpio";
557 pinctrl-0 = <&pinctrl_i2c6>;
558 pinctrl-1 = <&pinctrl_i2c6_gpio>;
559 scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
560 sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&pinctrl_pcf85063>;
572 interrupt-parent = <&gpio4>;
577 fsl,clkreq-unsupported;
578 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
580 clock-names = "ref";
588 clock-names = "pcie", "pcie_bus", "pcie_aux";
589 assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>;
590 assigned-clock-rates = <10000000>;
591 assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&pinctrl_pwm2>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&pinctrl_pwm3>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&pinctrl_sai3>;
610 assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
611 assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
612 assigned-clock-rates = <12288000>;
613 fsl,sai-mclk-direction-output;
622 pinctrl-names = "default";
623 pinctrl-0 = <&pinctrl_uart1>;
624 assigned-clocks = <&clk IMX8MP_CLK_UART1>;
625 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&pinctrl_uart2>;
632 assigned-clocks = <&clk IMX8MP_CLK_UART2>;
633 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
638 pinctrl-names = "default";
639 pinctrl-0 = <&pinctrl_uart3>;
640 assigned-clocks = <&clk IMX8MP_CLK_UART3>;
641 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
647 pinctrl-names = "default";
648 pinctrl-0 = <&pinctrl_uart4>;
653 pinctrl-names = "default";
654 pinctrl-0 = <&pinctrl_usb0>;
655 fsl,over-current-active-low;
660 fsl,disable-port-power-control;
661 fsl,permanently-attached;
666 vbus-supply = <&reg_vcc_5v0>;
671 vbus-supply = <&reg_vcc_5v0>;
677 hnp-disable;
678 srp-disable;
679 adp-disable;
681 usb-role-switch;
682 role-switch-default-mode = "peripheral";
687 remote-endpoint = <&usb_dr_connector>;
694 #address-cells = <1>;
695 #size-cells = <0>;
696 pinctrl-names = "default";
697 pinctrl-0 = <&pinctrl_usbhub>;
703 peer-hub = <&hub_3_0>;
704 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
705 vdd-supply = <&reg_vcc_3v3>;
711 peer-hub = <&hub_2_0>;
712 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
713 vdd-supply = <&reg_vcc_3v3>;
718 pinctrl-names = "default", "state_100mhz", "state_200mhz";
719 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
720 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
721 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
722 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
723 vmmc-supply = <&reg_usdhc2_vmmc>;
724 no-mmc;
725 no-sdio;
726 disable-wp;
727 bus-width = <4>;
873 pinctrl_i2c2_gpio: i2c2-gpiogrp {
883 pinctrl_i2c4_gpio: i2c4-gpiogrp {
893 pinctrl_i2c6_gpio: i2c6-gpiogrp {
990 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
1000 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
1010 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {