| 1 |
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2018-2025 TQ-Systems GmbH <[email protected]>, |
| 4 |
* D-82229 Seefeld, Germany. |
| 5 |
* Author: Alexander Stein |
| 6 |
*/ |
| 7 |
|
| 8 |
/ { |
| 9 |
aliases { |
| 10 |
rtc0 = &rtc1; |
| 11 |
rtc1 = &rtc; |
| 12 |
}; |
| 13 |
|
| 14 |
backlight_lvds0: backlight-lvds0 { |
| 15 |
compatible = "pwm-backlight"; |
| 16 |
pinctrl-names = "default"; |
| 17 |
pinctrl-0 = <&pinctrl_backlight_lvds0>; |
| 18 |
/* PWM support still missing */ |
| 19 |
brightness-levels = <0 4 8 16 32 64 128 255>; |
| 20 |
default-brightness-level = <7>; |
| 21 |
power-supply = <®_12v0>; |
| 22 |
enable-gpios = <&lsio_gpio1 2 GPIO_ACTIVE_HIGH>; |
| 23 |
status = "disabled"; |
| 24 |
}; |
| 25 |
|
| 26 |
backlight_lvds1: backlight-lvds1 { |
| 27 |
compatible = "pwm-backlight"; |
| 28 |
pinctrl-names = "default"; |
| 29 |
pinctrl-0 = <&pinctrl_backlight_lvds1>; |
| 30 |
/* PWM support still missing */ |
| 31 |
brightness-levels = <0 4 8 16 32 64 128 255>; |
| 32 |
default-brightness-level = <7>; |
| 33 |
power-supply = <®_12v0>; |
| 34 |
enable-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_HIGH>; |
| 35 |
status = "disabled"; |
| 36 |
}; |
| 37 |
|
| 38 |
chosen { |
| 39 |
stdout-path = &lpuart0; |
| 40 |
}; |
| 41 |
|
| 42 |
panel_lvds0: panel-lvds0 { |
| 43 |
/* |
| 44 |
* Display is not fixed, so compatible has to be added from |
| 45 |
* DT |
| 46 |
*/ |
| 47 |
backlight = <&backlight_lvds0>; |
| 48 |
power-supply = <®_lvds0>; |
| 49 |
status = "disabled"; |
| 50 |
|
| 51 |
port { |
| 52 |
panel_in_lvds0: endpoint { |
| 53 |
}; |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
panel_lvds1: panel-lvds1 { |
| 58 |
/* |
| 59 |
* Display is not fixed, so compatible has to be added from |
| 60 |
* DT |
| 61 |
*/ |
| 62 |
backlight = <&backlight_lvds1>; |
| 63 |
power-supply = <®_lvds1>; |
| 64 |
status = "disabled"; |
| 65 |
|
| 66 |
port { |
| 67 |
panel_in_lvds1: endpoint { |
| 68 |
}; |
| 69 |
}; |
| 70 |
}; |
| 71 |
|
| 72 |
reg_1v8: regulator-1v8 { |
| 73 |
compatible = "regulator-fixed"; |
| 74 |
regulator-name = "1V8"; |
| 75 |
regulator-min-microvolt = <1800000>; |
| 76 |
regulator-max-microvolt = <1800000>; |
| 77 |
regulator-always-on; |
| 78 |
}; |
| 79 |
|
| 80 |
reg_3v3: regulator-3v3 { |
| 81 |
compatible = "regulator-fixed"; |
| 82 |
regulator-name = "3V3"; |
| 83 |
regulator-min-microvolt = <3300000>; |
| 84 |
regulator-max-microvolt = <3300000>; |
| 85 |
regulator-always-on; |
| 86 |
}; |
| 87 |
|
| 88 |
reg_12v0: regulator-12v0 { |
| 89 |
compatible = "regulator-fixed"; |
| 90 |
regulator-name = "12V0"; |
| 91 |
regulator-min-microvolt = <12000000>; |
| 92 |
regulator-max-microvolt = <12000000>; |
| 93 |
regulator-always-on; |
| 94 |
}; |
| 95 |
|
| 96 |
sound { |
| 97 |
compatible = "fsl,imx-audio-tlv320aic32x4"; |
| 98 |
model = "tqm-tlv320aic32"; |
| 99 |
ssi-controller = <&sai1>; |
| 100 |
audio-codec = <&tlv320aic3x04>; |
| 101 |
audio-routing = |
| 102 |
"IN3_L", "Mic Jack", |
| 103 |
"Mic Jack", "Mic Bias", |
| 104 |
"IN1_L", "Line In Jack", |
| 105 |
"IN1_R", "Line In Jack", |
| 106 |
"Line Out Jack", "LOL", |
| 107 |
"Line Out Jack", "LOR"; |
| 108 |
}; |
| 109 |
}; |
| 110 |
|
| 111 |
&fec1 { |
| 112 |
status = "okay"; |
| 113 |
}; |
| 114 |
|
| 115 |
&fec2 { |
| 116 |
status = "okay"; |
| 117 |
}; |
| 118 |
|
| 119 |
&flexcan2 { |
| 120 |
xceiver-supply = <®_3v3>; |
| 121 |
status = "okay"; |
| 122 |
}; |
| 123 |
|
| 124 |
&flexcan3 { |
| 125 |
xceiver-supply = <®_3v3>; |
| 126 |
status = "okay"; |
| 127 |
}; |
| 128 |
|
| 129 |
&hsio_phy { |
| 130 |
fsl,hsio-cfg = "pciea-x2-pcieb"; |
| 131 |
fsl,refclk-pad-mode = "input"; |
| 132 |
status = "okay"; |
| 133 |
}; |
| 134 |
|
| 135 |
&i2c0 { |
| 136 |
tlv320aic3x04: audio-codec@18 { |
| 137 |
compatible = "ti,tlv320aic32x4"; |
| 138 |
reg = <0x18>; |
| 139 |
clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; |
| 140 |
clock-names = "mclk"; |
| 141 |
iov-supply = <®_1v8>; |
| 142 |
ldoin-supply = <®_3v3>; |
| 143 |
}; |
| 144 |
|
| 145 |
eeprom2: eeprom@57 { |
| 146 |
compatible = "atmel,24c32"; |
| 147 |
reg = <0x57>; |
| 148 |
pagesize = <32>; |
| 149 |
vcc-supply = <®_3v3>; |
| 150 |
}; |
| 151 |
}; |
| 152 |
|
| 153 |
&lpspi1 { |
| 154 |
status = "okay"; |
| 155 |
}; |
| 156 |
|
| 157 |
&lpuart0 { |
| 158 |
status = "okay"; |
| 159 |
}; |
| 160 |
|
| 161 |
&lpuart3 { |
| 162 |
status = "okay"; |
| 163 |
}; |
| 164 |
|
| 165 |
&pcieb { |
| 166 |
status = "okay"; |
| 167 |
}; |
| 168 |
|
| 169 |
®_sdvmmc { |
| 170 |
off-on-delay-us = <200000>; |
| 171 |
status = "okay"; |
| 172 |
}; |
| 173 |
|
| 174 |
&usbotg1 { |
| 175 |
pinctrl-names = "default"; |
| 176 |
pinctrl-0 = <&pinctrl_usbotg1>; |
| 177 |
srp-disable; |
| 178 |
hnp-disable; |
| 179 |
adp-disable; |
| 180 |
power-active-high; |
| 181 |
over-current-active-low; |
| 182 |
dr_mode = "otg"; |
| 183 |
status = "okay"; |
| 184 |
}; |
| 185 |
|
| 186 |
&usbotg3 { |
| 187 |
status = "okay"; |
| 188 |
}; |
| 189 |
|
| 190 |
&usbotg3_cdns3 { |
| 191 |
dr_mode = "host"; |
| 192 |
status = "okay"; |
| 193 |
}; |
| 194 |
|
| 195 |
&usb3_phy { |
| 196 |
status = "okay"; |
| 197 |
}; |
| 198 |
|
| 199 |
&usbphy1 { |
| 200 |
status = "okay"; |
| 201 |
}; |
| 202 |
|
| 203 |
&usdhc2 { |
| 204 |
cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>; |
| 205 |
wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>; |
| 206 |
vmmc-supply = <®_sdvmmc>; |
| 207 |
no-1-8-v; |
| 208 |
no-mmc; |
| 209 |
no-sdio; |
| 210 |
status = "okay"; |
| 211 |
}; |