Commit Graph

1335520 Commits

Author SHA1 Message Date
Ahmad Fatoum
255fbd9eab arm64: dts: imx8mp: Add optional nominal drive mode DTSI
Unlike the i.MX8MM and i.MX8MN SoCs added earlier, the device tree for
the i.MX8MP configures some clocks at frequencies that are only validated
for overdrive mode, i.e. when VDD_SOC is 950 mV.

Boards may want to run their SoC at the lower voltage of 850 mV though
to reduce heat generation and power usage. For this to work, clock rates
need to adhere to the limits of the nominal drive mode.

Add an optional DTSI file which can be included by various boards to run
in this mode.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-03-11 09:36:41 +08:00
Lucas Stach
9f7595b3e5 arm64: dts: imx8mp: configure GPU and NPU clocks to overdrive rate
A lot of other clocks on the i.MX8MP, including the DRAM set up by the
bootloader are already running at overdrive clock rates. While this is a
deviation from the configuration of other i.MX8M* family SoCs, overdrive
is the default for most i.MX8MP boards and only some special purpose
boards will choose to run the SoC at nominal drive rates. Up the GPU and
NPU clock rates to their overdrive level to be consistent with other
clocks set up in the dtsi.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-03-11 09:27:21 +08:00
Mathew McBride
556d6be6f2 arm64: dts: freescale: ten64: add usb hub definition
A device tree binding for the Microchip USB5744 hub controller
was added in commit 02be19e914 ("dt-bindings: usb: Add support
for Microchip usb5744 hub controller").

U-Boot will consume this binding in order to perform the
necessary actions to enable the USB hub ports over I2C.
(We previously used our own out-of-tree driver for
this task)

The Ten64 board does not have any switchable supplies
for the voltage rails utilized by the USB5744, so a
pair of dummy supplies have been added to facilitate
operation with U-Boot's hub driver.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-03-11 09:23:58 +08:00
Teresa Remmet
9e87325a9c arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash
There are SoM variants with no SPI NOR flash populated. Add overlay to be
able to support this.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:01 +08:00
Teresa Remmet
f432f54377 arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay
There are SoM variants with no eth phy populated. Add overlay to be
able to support this.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:01 +08:00
Dominik Haller
7b77622900 arm64: dts: imx8mm-phycore-som: Add overlay for rproc
Adds a devicetree overlay containing reserved memory regions used
for intercore communication between A53 and M4 cores.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:01 +08:00
Janine Hagemann
481bc9d5e3 arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01
Add support for the PEB-EVAL-01 expansion board for
phyBOARD-Polis-i.MX8MM.

Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Teresa Remmet
1811697151 arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10
PEB-AV-10 is an Audio/Video extension module which extends
phyBOARD-Polis i.MX8MM.
With MIPI DSI to LVDS bridge already populated on SoM the PEB-AV-10 adds
support for:
- connecting 10" display,
- audio with TLV320AIC and
- EEPROM.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Yashwanth Varakala
f8fab2dc48 arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for bluetooth
Assign the missing regulator to the bluetooth node. Absence of
this regulator triggers the warning message from kernel as driver
uses a fallback dummy regulator when there is no regulator assigned.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Yannic Moog
1fcb3dc134 arm64: dts: imx8mm: move bulk of rtc properties to carrierboards
Move properties from SoM's dtsi to carrierboard's dts as they are
actually defined by the carrier board design.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Andrej Picej
111073fc28 arm64: dts: imx8mm-phygate-tauri-l: Set RTC as wakeup-source
RV-3028 RTC can be used to wakeup the system on phyGATE-Tauri-L-i.MX8MM,
mark the device as wakeup source.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Andrej Picej
ce23d2a808 arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source
RV-3028 RTC can be used to wakeup the system on phyBOARD-Polis-i.MX8MM,
mark the device as wakeup source.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Yannic Moog
c290eb8afc arm64: dts: imx8mm-phyboard-polis: add RTC description
Add RTC description.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Yannic Moog
d1f974697d arm64: dts: imx8mm-phycore-som: add descriptions to nodes
Add missing EEPROM and RTC descriptions. Also use eMMC with
lower-case "e".

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Yashwanth Varakala
62606c2505 arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds bridge
Add a missing voltage regulator of 1.8v to the sn65dsi83
(dsi_lvds bridge) node. Due to the absence of this regulator, a fallback
dummy regulator is used and that triggers a warning message from the
kernel. Assigning the appropriate regulator avoids the warning.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Teresa Remmet
6b03a7aeea arm64: dts: imx8mm-phycore-som: Remove magic-packet property
Remove device tree property "fsl,magic-packet" as WoL is not working
on the SoM and so not required. This also saves a significant amount of
power during suspend as the ethernet phy is not powered down otherwise.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Andrej Picej
81c665eb17 arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source
Not using pull-up on the host wake-up line triggers the wake up
immediately after device enters suspend. Fix this by enabling internal
pull-up and setting interrupt triggering on the falling edge.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Teresa Remmet
b6af6a5af6 arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend
LDO3 is also used as switch for enabling VDD_3V3_S and need to
be kept on during suspend. Disabling this can lead to an unwanted
reset during resume.

Set LDO3 to 2,5V as the voltage should be fix.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:33:00 +08:00
Francesco Dolcini
4b38222c94 arm64: dts: freescale: imx8mm-verdin: Remove LVDS panel and backlight
Remove LVDS panel and backlight nodes from the Verdin iMX8M Mini SoM
dtsi file, those two hardware components are not part of the SoM,
therefore they should not be present in this file.

This is solving a dtb checker warning about panel-lvds compatible.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Rafael Beims
f5b5aec097 arm64: dts: colibri-imx8x: Add missing gpio-line-names
Add missing gpio-line-names for SODIMM_79 and SODIMM_97

Signed-off-by: Rafael Beims <rafael.beims@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Larisa Grigore
9bf72db233 arm64: dts: s32g: add the eDMA nodes
Add the two eDMA nodes in the device tree in order to enable the probing
of the S32G2/S32G3 eDMA driver.

Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Frank Li
1ecc4dbf6a arm64: dts: imx95: add PCIe's msi-map and iommu-map property
Add PCIe's msi-map and iommu-map property because i.MX95 support smmu and
its.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Frank Li
c95fc1e1f6 arm64: dts: imx8q: add PCIe EP overlay file for i.MX8QXP mek board
Add PCIe EP overlay file for i.MX8QXP mek board to let PCI work as endpoint
mode.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Frank Li
d03743c565 arm64: dts: imx8q: add PCIe EP for i.MX8QM and i.MX8QXP
Add PCIe EP support for i.MX8QM and i.MX8QXP.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Frank Li
b09435bc5e arm64: dts: imx8-ss-hsio: fix indentation in pcie node
Fix indentation in pcie node.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Alexander Stein
b458959540 arm64: dts: freescale: tqma8mqnl: Add vcc-supply for spi-nor
(Q)SPI NOR flash is supplied by 1.8V. Add the corresponding supply.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Alexander Stein
ea6bd2e5ec arm64: dts: freescale: tqma8mqml: Add vcc-supply for spi-nor
(Q)SPI NOR flash is supplied by 1.8V. Add the corresponding supply.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Alexander Stein
fd5186372d arm64: dts: freescale: tqma8mq: Add vcc-supply for spi-nor
(Q)SPI NOR flash is supplied by 1.8V. Add the corresponding supply.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Alexander Stein
aabe17aec3 arm64: dts: freescale: tqma8mpql: Add vcc-supply for spi-nor
(Q)SPI NOR flash is supplied by 1.8V. Add the corresponding supply.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:59 +08:00
Stefan Eichenberger
2e662a2c37 arm64: dts: imx8-apalis: add clock configuration for 44.1 kHz hdmi audio
Currently, HDMI audio cannot play sound at a 44.1 kHz sample rate due to
a clock frequency mismatch. This update resolves the issue by allowing
the sai driver to change the clock parent to AUDIO_PLL_1 when the sample
rate is 44.1 kHz. It also ensures that AUDIO_PLL_1 operates at the
correct frequency for this configuration.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Ciprian Marian Costea
3a3eefecbf arm64: dts: s32g399a-rdb3: Add INA231 sensor entry over I2C4
Add INA231 current sensor for S32G399A-RDB3 boards.

Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Ciprian Marian Costea
81a97afe7c arm64: dts: s32g: add common 'S32G-EVB' and 'S32G-RDB' board support
Create common part, s32gxxa-evb.dtsi and s32gxxa-rdb.dtsi, for S32G2/S32G3
RDB2\3 and EVB G2/G3 boards to avoid copy duplicate part in boards dts
file. Prepare to add other modules such as FlexCAN, DSPI easily in the
future.

Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Ciprian Marian Costea
b2194a4cf1 arm64: dts: s32g: add I2C[0..2] support for s32g2 and s32g3
Add I2C[0..2] for S32G2 and S32G3 SoCs.

Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Chancel Liu
dc5fb736fb arm64: dts: imx8qxp-mek: Complete WM8960 power supplies
WM8960 has the following power supplies:
- AVDD
- DBVDD
- DCVDD
- SPKVDD1
- SPKVDD2

Add new audio regulators to reflect the schematic and complete missed
power supplies.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Chancel Liu
9bad194613 arm64: dts: imx8qm-mek: Complete WM8960 power supplies
WM8960 has the following power supplies:
- AVDD
- DBVDD
- DCVDD
- SPKVDD1
- SPKVDD2

Add new audio regulators to reflect the schematic and complete missed
power supplies.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Chancel Liu
ca0d7229e4 arm64: dts: imx8dxl-evk: Complete WM8960 power supplies
WM8960 has the following power supplies:
- AVDD
- DBVDD
- DCVDD
- SPKVDD1
- SPKVDD2

Add new audio regulators to reflect the schematic and complete missed
power supplies.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Chancel Liu
0373fa645c arm64: dts: imx8mp-evk: Complete WM8960 power supplies
WM8960 has the following power supplies:
- AVDD
- DBVDD
- DCVDD
- SPKVDD1
- SPKVDD2

Add new audio regulators to reflect the schematic and complete missed
power supplies.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Alexander Stein
a3bfd9e811 arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases
In mainboard schematics ENET1 is eqos and ENET2 is fec.
This is reversed to standard aliases using base addresses for ordering.
Adjust aliases for all mainboards accordingly.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Alexander Stein
db55b909e1 arm64: dts: mba93xxca: Do not assert power-down pins
Change the output to inactive (output-low) for active-low pins, resulting
in high-voltage of power-down pins. Thus this enables the attached
devices.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Alexander Stein
584b427f42 arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes
Sort the entries alphabetically.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:58 +08:00
Alexander Stein
c63a0bfd11 arm64: dts: mba8xx: Add PCIe support
Add PCIe support for TQMa8Xx on MBa8Xx board.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Alexander Stein
c58128a8a8 arm64: dts: tqma8xx: Remove GPU TODO
Since commit 6196fe7775 ("arm64: dts: imx8qxp: add GPU nodes") GPUs
are supported.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Alexander Stein
11dcabb083 arm64: dts: tqma8xx: enable jpeg encode and decode
Enable jpeg encode and decode.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Alexander Stein
c3d79d64c0 arm64: dts: tqma8xx: Add vcc-supply for spi-nor
(Q)SPI NOR flash is supplied by 1.8V. Add the corresponding supply.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Alexander Stein
f9893c3460 arm64: dts: imx8-ss-hsio: Wire up DMA IRQ for PCIe
IRQ mapping is already present. Add the missing DMA interrupt.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Fabio Estevam
aadfff7b13 arm64: dts: imx8mn-bsh-smm-s2pro: Remove invalid audio codec clock
According to ti,tlv320dac3100.yaml, 'clocks' is not a valid property.

Remove it to fix the following dt-schema warning:

Unevaluated properties are not allowed ('clocks' was unexpected)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Oleksij Rempel
587098514a arm64: dts: imx8mp-skov: increase I2C clock frequency for RTC
The NXP PCF85063TP RTC is capable of 400 kHz of SCL clock frequency,
so use that instead of the current 100 kHz.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Oleksij Rempel
bce3edf81c arm64: dts: imx8mp-skov: fix phy-mode
Use rgmii-rxid instead of rgmii-txid. It should have no effect here,
because we have a fixed-link, but rxid reflects the board design.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Oleksij Rempel
fc8efdf8fa arm64: dts: imx8mp-skov: describe mains fail detection
The main 24V regulator will toggle GPIO4_IO23 to signal imminent voltage
loss. Reflect this in the DT, so the OS can take appropriate action when
this happens.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00
Ahmad Fatoum
4252ede53d arm64: dts: imx8mp-skov: configure uart1 for RS485
uart1 TX, RX and RTS signals go off the base board and to a RS485
transceiver. Describe this in the device tree.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-25 08:32:57 +08:00