mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

This adds support for TQMa8XQPS and TQMa8XDPS modules on MB-SMARC-2 board. As the only difference is the mounted SoC, both module and baseboard files are shared. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
194 lines
3.4 KiB
Text
194 lines
3.4 KiB
Text
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
|
|
/*
|
|
* Copyright (c) 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
|
|
* D-82229 Seefeld, Germany.
|
|
* Author: Alexander Stein
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
rtc0 = &rtc1;
|
|
rtc1 = &rtc;
|
|
};
|
|
|
|
backlight_lvds0: backlight-lvds0 {
|
|
compatible = "pwm-backlight";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_backlight_lvds0>;
|
|
/* PWM support still missing */
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <7>;
|
|
power-supply = <®_12v0>;
|
|
enable-gpios = <&lsio_gpio1 2 GPIO_ACTIVE_HIGH>;
|
|
status = "disabled";
|
|
};
|
|
|
|
backlight_lvds1: backlight-lvds1 {
|
|
compatible = "pwm-backlight";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_backlight_lvds1>;
|
|
/* PWM support still missing */
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <7>;
|
|
power-supply = <®_12v0>;
|
|
enable-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_HIGH>;
|
|
status = "disabled";
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = &lpuart0;
|
|
};
|
|
|
|
panel_lvds0: panel-lvds0 {
|
|
/*
|
|
* Display is not fixed, so compatible has to be added from
|
|
* DT
|
|
*/
|
|
backlight = <&backlight_lvds0>;
|
|
power-supply = <®_lvds0>;
|
|
status = "disabled";
|
|
|
|
port {
|
|
panel_in_lvds0: endpoint {
|
|
};
|
|
};
|
|
};
|
|
|
|
panel_lvds1: panel-lvds1 {
|
|
/*
|
|
* Display is not fixed, so compatible has to be added from
|
|
* DT
|
|
*/
|
|
backlight = <&backlight_lvds1>;
|
|
power-supply = <®_lvds1>;
|
|
status = "disabled";
|
|
|
|
port {
|
|
panel_in_lvds1: endpoint {
|
|
};
|
|
};
|
|
};
|
|
|
|
reg_1v8: regulator-1v8 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "1V8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_3v3: regulator-3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "3V3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_12v0: regulator-12v0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "12V0";
|
|
regulator-min-microvolt = <12000000>;
|
|
regulator-max-microvolt = <12000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
sound {
|
|
compatible = "fsl,imx-audio-tlv320aic32x4";
|
|
model = "tqm-tlv320aic32";
|
|
ssi-controller = <&sai1>;
|
|
audio-codec = <&tlv320aic3x04>;
|
|
};
|
|
};
|
|
|
|
&fec1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&fec2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&flexcan2 {
|
|
xceiver-supply = <®_3v3>;
|
|
status = "okay";
|
|
};
|
|
|
|
&flexcan3 {
|
|
xceiver-supply = <®_3v3>;
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c0 {
|
|
tlv320aic3x04: audio-codec@18 {
|
|
compatible = "ti,tlv320aic32x4";
|
|
reg = <0x18>;
|
|
clocks = <&mclkout0_lpcg 0>;
|
|
clock-names = "mclk";
|
|
iov-supply = <®_1v8>;
|
|
ldoin-supply = <®_3v3>;
|
|
};
|
|
|
|
eeprom2: eeprom@57 {
|
|
compatible = "atmel,24c32";
|
|
reg = <0x57>;
|
|
pagesize = <32>;
|
|
vcc-supply = <®_3v3>;
|
|
};
|
|
};
|
|
|
|
&lpspi1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&lpuart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&lpuart3 {
|
|
status = "okay";
|
|
};
|
|
|
|
®_sdvmmc {
|
|
off-on-delay-us = <200000>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usbotg1>;
|
|
srp-disable;
|
|
hnp-disable;
|
|
adp-disable;
|
|
power-active-high;
|
|
over-current-active-low;
|
|
dr_mode = "otg";
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg3_cdns3 {
|
|
dr_mode = "host";
|
|
status = "okay";
|
|
};
|
|
|
|
&usb3_phy {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphy1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usdhc2 {
|
|
cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>;
|
|
wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>;
|
|
vmmc-supply = <®_sdvmmc>;
|
|
no-1-8-v;
|
|
no-mmc;
|
|
no-sdio;
|
|
status = "okay";
|
|
};
|