File Index
Files and directories
Sign in
FILE

tqma8xxs-mb-smarc-2.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/freescale/tqma8xxs-mb-smarc-2.dtsi DEVICETREE
  1// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
  2/*
  3 * Copyright (c) 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
  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 = <&reg_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 = <&reg_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 = <&reg_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 = <&reg_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 = <&reg_3v3>;
121	status = "okay";
122};
123
124&flexcan3 {
125	xceiver-supply = <&reg_3v3>;
126	status = "okay";
127};
128
129&i2c0 {
130	tlv320aic3x04: audio-codec@18 {
131		compatible = "ti,tlv320aic32x4";
132		reg = <0x18>;
133		clocks = <&mclkout0_lpcg 0>;
134		clock-names = "mclk";
135		iov-supply = <&reg_1v8>;
136		ldoin-supply = <&reg_3v3>;
137	};
138
139	eeprom2: eeprom@57 {
140		compatible = "atmel,24c32";
141		reg = <0x57>;
142		pagesize = <32>;
143		vcc-supply = <&reg_3v3>;
144	};
145};
146
147&lpspi1 {
148	status = "okay";
149};
150
151&lpuart0 {
152	status = "okay";
153};
154
155&lpuart3 {
156	status = "okay";
157};
158
159&reg_sdvmmc {
160	off-on-delay-us = <200000>;
161	status = "okay";
162};
163
164&usbotg1 {
165	pinctrl-names = "default";
166	pinctrl-0 = <&pinctrl_usbotg1>;
167	srp-disable;
168	hnp-disable;
169	adp-disable;
170	power-active-high;
171	over-current-active-low;
172	dr_mode = "otg";
173	status = "okay";
174};
175
176&usbotg3 {
177	status = "okay";
178};
179
180&usbotg3_cdns3 {
181	dr_mode = "host";
182	status = "okay";
183};
184
185&usb3_phy {
186	status = "okay";
187};
188
189&usbphy1 {
190	status = "okay";
191};
192
193&usdhc2 {
194	cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>;
195	wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>;
196	vmmc-supply = <&reg_sdvmmc>;
197	no-1-8-v;
198	no-mmc;
199	no-sdio;
200	status = "okay";
201};
~/ Read-only file preview.