Commit Graph

1396762 Commits

Author SHA1 Message Date
Marek Vasut
d1da1068bc arm64: dts: imx8mp: Add missing LED enumerators for DH electronics i.MX8M Plus DHCOM on PDK2
The LED enumerators are missing, which prevents the LEDs from being
accurately told apart by label. Fill in the enumerators the same way
they are already present on PDK3.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:56 +08:00
Jan Petrous (OSS)
40c687a4f2 arm64: dts: freescale: Add GMAC Ethernet for S32G2 EVB and RDB2 and S32G3 RDB3
Add support for the Ethernet connection over GMAC controller connected to
the Micrel KSZ9031 Ethernet RGMII PHY located on the boards.

The mentioned GMAC controller is one of two network controllers
embedded on the NXP Automotive SoCs S32G2 and S32G3.

The supported boards:
 * EVB:  S32G-VNP-EVB with S32G2 SoC
 * RDB2: S32G-VNP-RDB2
 * RDB3: S32G-VNP-RDB3

Tested-by: Enric Balletbo i Serra <eballetb@redhat.com>
Signed-off-by: Jan Petrous (OSS) <jan.petrous@oss.nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:56 +08:00
Max Krummenacher
cb92737919 arm64: dts: imx8qm-apalis: add pwm used by the backlight
Add pwm node used by the backlight output pin BKL1_PWM and
reference it from the pwm-backlight node.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Markus Niebel
916e798303 arm64: dts: imx95-tqma9596sa-mb-smarc-2: add aliases for SPI
Add missing alias for SPI controllers.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Markus Niebel
f19950eb8a arm64: dts: imx95-tqma9596sa-mb-smarc-2: remove superfluous line
Remove empty line, no functional changes.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
dc4290f5fa arm64: dts: imx95-tqma9596sa-mb-smarc-2: mark LPUART1 as reserved
LPUART1 is not disabled, but used by system manager (SM) and should not
be used by Linux.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
2d226e5404 arm64: dts: imx95-tqma9596sa-mb-smarc-2: Add MicIn routing
MicIn is connected to IN3_L. Add routing including the Mic Bias.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Markus Niebel
c0a5960113 arm64: dts: imx95-tqma9596sa: add EEPROM pagesize
The special ID device of the EEPROMS needs pagesize, too.
Otherwise only slow byte write is possible.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
e0ac00be7a arm64: dts: imx95-tqma9596sa: whitespace fixes
Use tabs instead of spaces for indentation.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
b5a07fe96d arm64: dts: imx95-tqma9596sa: add gpio bus recovery for i2c
Add pinctrl group for GPIO based bus recovery.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
35eecf5d8c arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci
A sleep pin mux is not useful if it is the same as the normal pin mux.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
b997a3acdc arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c
A sleep pin mux is not useful if it is the same as the normal pin mux.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:55 +08:00
Alexander Stein
88b02dc673 arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for flexspi
A sleep pin mux is not useful if it is the same as the normal pin mux.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
0df2b380e5 arm64: dts: imx95-tqma9596sa: update pcie config
Fix pcie clock config and switch from deprecated reset-gpio to
reset-gpios.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
ab5b4a9158 arm64: dts: imx95-tqma9596sa: move pcie config to SOM
The muxing and other features are mostly determined by SOM, so add it
at this level.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
8b452dddd8 arm64: dts: imx95-tqma9596sa: move sai config to SOM
The muxing and other features are mostly determined by SOM, so add it
at this level.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Markus Niebel
16471a3234 arm64: dts: imx95-tqma9596sa: move USDHC2 config to SOM
The muxing and other features are mostly determined by SOM,
so add it at this level.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
68b7d5383b arm64: dts: imx95-tqma9596sa: move lpspi3 pinctrl to SOM
The muxing is determined by SOM, so add it at this level.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
438a4d0cd5 arm64: dts: imx95-tqma9596sa: move flexcan pinctrl to SOM
The muxing for flexcan is determined by SOM, so add it at this level.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
310b0aaa65 arm64: dts: imx95-tqma9596sa: increase flexspi slew rate
Switch to fast slew rate.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Alexander Stein
461be38025 arm64: dts: imx95-tqma9596sa: reduce maximum FlexSPI frequency to 66MHz
66 MHz is the maximum FlexPI clock frequency in normal/overdrive mode
when RXCLKSRC = 0 (Default)

Fixes: 91d1ff322c ("arm64: dt: imx95: Add TQMa95xxSA")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:54 +08:00
Markus Niebel
046cb64923 arm64: dts: imx95-tqma9596sa: fix TPM5 pinctrl node name
tpm4grp will be overwritten. Fix node name

Fixes: 91d1ff322c ("arm64: dt: imx95: Add TQMa95xxSA")
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-17 08:56:36 +08:00
Stefano Radaelli
5651eff270 arm64: dts: freescale: imx93-var-som: Add support for ADS7846 touchscreen
The VAR-SOM-MX93 integrates an ADS7846 resistive touchscreen controller.
The controller is physically located on the SOM, and its signals are
routed to the SOM pins, allowing carrier boards to make use of it.

This patch adds the ADS7846 node and the appropriate SPI controller.

Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 18:01:30 +08:00
Stefano Radaelli
c815711e27 arm64: dts: freescale: imx93-var-som: Add support for WM8904 audio codec
The VAR-SOM-MX93 can integrate the WM8904, a high-performance
ultra-low-power stereo codec optimized for portable audio applications.

This patch adds the WM8904 device to the appropriate I2C bus, enables
the SAI peripheral, and introduces the sound node to expose the
sound card to the system.

Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 18:01:30 +08:00
Stefano Radaelli
2e2a8aa9fc arm64: dts: freescale: imx93-var-som: Add PMIC support
The VAR-SOM-MX93 features Dual Freescale/NXP PCA9541 chip as a Power
Management Integrated circuit (PMIC).
The PMIC is programmable via the I2C interface and its associated
register map, and this patch adds its support.

Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 18:01:30 +08:00
Stefano Radaelli
5d0c788263 arm64: dts: freescale: imx93-var-som: Add WiFi and Bluetooth support
Add device tree nodes for the WiFi and Bluetooth module mounted on the
VAR-SOM-MX93. The module can be based on either the NXP IW612 or IW611
chipset, depending on the configuration chosen by the customer.

Regardless of the chipset used, WiFi communicates over SDIO and Bluetooth
over UART.

Signed-off-by: Stefano Radaelli <stefano.radaelli21@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 18:01:30 +08:00
Frank Li
d59ae05e3d arm64: dts: imx8qxp-mek: change space with tab
Change space with tab to align with code style.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Sherry Sun
5d82ec7472 arm64: dts: imx8qxp-mek: Add lpuart1 to support the M.2 PCIE9098 bluetooth
Add the lpuart1 dts node to support the PCIE9098 bluetooth on M.2
connector.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Joy Zou
b85104933a arm64: dts: imx8: add edma error interrupt support
Add edma error interrupt for i.MX8QM, i.MX8QXP and i.MX8DXL.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
0e2dbdcfad arm64: dts: imx8qxp-mek: add fec2 support
Add fec2 and related nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
f4dcaab01b arm64: dts: imx8qxp-mek: add phandle ocotp mac-address for fec
Add phandle to the OCOTP mac-address nodes so the FEC can obtain a fixed
MAC address specific to each board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
339cd3056b arm64: dts: imx8qxp-mek: add flexspi and flash
Add flexspi and flash node.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
00f69e5f6d arm64: dts: imx8qxp-mek: update usdhc1 clock to 400Mhz
Update usdhc1 clock to 400Mhz to support eMMC HS400.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
1c1e81ef39 arm64: dts: imx8qxp-mek: add state_100mhz and state_200mhz for usdhc
default, state_100mhz and state_200mhz use the same settings. But current
driver use these to indicate if sd3.0 support.

Add SD gpio pin group (Reset, CD, WP) for usdhc2.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:32 +08:00
Frank Li
6f90786d73 arm64: dts: imx8qxp: add wakeup source for power-key
Add wakeup source property for power-key.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:57:31 +08:00
Frank Li
a29a5a5596 arm64: dts: imx8qxp: add MAC address in ocotp
Add MAC address nodes in ocotp.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:56:55 +08:00
Frank Li
05a14dc3f6 arm64: dts: imx8qm-mek: replace space with tab
Replace space with tab.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:46:12 +08:00
Frank Li
9c70313efe arm64: dts: imx8qm-mek: add usbotg1 and related nodes
Add usbotg1 and related nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:53 +08:00
Frank Li
5c9f27cd7e arm64: dts: imx8qm-mek: add pmic thermal-zones
Add pmic thermal-zones.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:53 +08:00
Frank Li
70051810d0 arm64: dts: imx8qm: add label thermal_zones
Add label thermal_zones to prepare add pmic thermal zones.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:53 +08:00
Frank Li
a8eebe6195 arm64: dts: imx8qm-mek: add lpuart1 and bluetooth node
Add lpuart1 and bluetooth support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:53 +08:00
Frank Li
64b60a7280 arm64: dts: imx8qm-mek: assign double SD bus frequency for usdhc1
Assign double SD bus frequency to support SDR104 mode, where the operating
clock runs at 208 MHz.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:52 +08:00
Frank Li
2984af7932 arm64: dts: imx8qm-mek: add state_100mhz and state_200mhz for usdhc
default, state_100mhz and state_200mhz use the same settings. But current
driver use these to indicate if sd3.0 support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:45:52 +08:00
Primoz Fiser
09b33db32e arm64: dts: freescale: imx93-phyboard-nash: Add pwm-fan overlay
Add overlay to support PWM fan on the phyBOARD-Nash-i.MX93 board. Fan
can be connected to the FAN (X48) connector on the board and will be
controlled according to the following CPU temperature trips table:

 - bellow 50 degrees - fan is off (<1% duty cycle)
 - between 50 and 58 degrees - low fan speed (~35% duty cycle)
 - between 58 and 65 degrees - fan medium speed (~60% duty cycle)
 - above 65 degrees - fan at full speed (>99% duty cycle)

The output frequency of PWM signal is set to 25 kHz.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Reviewed-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:41:18 +08:00
Primoz Fiser
af21bfd1f7 arm64: dts: freescale: imx93-phyboard-nash: Add jtag overlay
Add overlay to enable JTAG pins on the board's JTAG (X41) connector.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:41:18 +08:00
Teresa Remmet
3b0bf06595 arm64: dts: imx8mm-phyboard-polis-peb-av-10: Fix audio codec reset pin ctl
Enable internal pull up of the active low audio codec reset pin.
Otherwise the audio codec does not reset properly and is not working.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:36:53 +08:00
Jan Remmet
f7a77fb14c arm64: dts: imx8mm-phyboard-polis-peb-av-10-ph128800t006
Add support for powertip,ph128800t006-zhc01 connected via peb-av-10

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:36:53 +08:00
Jan Remmet
4f03fd6d95 arm64: dts: imx8mm-phyboard-polis-peb-av-10: split display configuration
The PEB-AV-10 board can be used with different displays or in audio-only
mode.
Split the device tree overlays to reflect these use cases. To use the
board with the EDT ETML1010G3DRA display, the overlay
imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtbo must now be used
instead of imx8mm-phyboard-polis-peb-av-10.dtbo.

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:36:53 +08:00
Jan Remmet
c277c95959 arm64: dts: imx8mm-phyboard-polis-peb-av-10: reorder properties to match dts coding style
Sort properties. Rename regulator label to match schematics.

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:36:52 +08:00
Jan Remmet
4b73a1bd86 arm64: dts: imx8mm-phyboard-polis: move mipi bridge to som
sn65dsi83 is mounted on som. Add the static configuration there.
So it can be used by other boards too.
Use mipi_dsi_out from imx8mm.dtsi directly.

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-11-16 17:36:52 +08:00