]> www.infradead.org Git - linux.git/log
linux.git
13 months agoarm64: dts: imx8mp: Remove 'snps,rx-sched-sp'
Fabio Estevam [Mon, 1 Jul 2024 20:54:58 +0000 (17:54 -0300)]
arm64: dts: imx8mp: Remove 'snps,rx-sched-sp'

According to nxp,dwmac-imx.yaml, 'snps,rx-sched-sp' is not a valid
property.

Remove it from the imx8mp board devicetree files to avoid
dt-schema warnings:

... 'snps,tx-sched-sp' does not match any of the regexes

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mm-verdin: add TPM device
Vitor Soares [Fri, 28 Jun 2024 09:07:51 +0000 (10:07 +0100)]
arm64: dts: imx8mm-verdin: add TPM device

Add TPM device found on Verdin iMX8M Mini PID4 0090 variant.

While adding the node, rename `pinctrl_pmic_tpm_ena` to
`pinctrl_tpm_spi_cs`.

Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-evk: Add audio XCVR sound card
Shengjiu Wang [Thu, 27 Jun 2024 09:53:01 +0000 (17:53 +0800)]
arm64: dts: imx8mp-evk: Add audio XCVR sound card

Add audio XCVR sound card, which supports SPDIF TX & RX,
eARC RX, ARC RX functions.

HDMI_HPD is shared with the HDMI module so use pinctrl_hog.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Add audio XCVR device node
Shengjiu Wang [Thu, 27 Jun 2024 09:53:00 +0000 (17:53 +0800)]
arm64: dts: imx8mp: Add audio XCVR device node

XCVR (Audio Transceiver) is a on-chip functional module found
on i.MX8MP. It supports HDMI2.1 eARC, HDMI1.4 ARC and SPDIF.

The reset controller is provided by the audio block control driver.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM...
Marek Vasut [Thu, 27 Jun 2024 23:30:09 +0000 (01:30 +0200)]
arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200

The production DH i.MX8MP DHCOM SoM rev.200 uses updated PHY MDIO addresses
for the Fast ethernet PHYs. Update the base SoM DT to cater for this change.
Prototype rev.100 SoM was never publicly available and was manufactured in
limited series, anything currently available is rev.200 or newer, so it is
safe to update the DT this way.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Do not reconfigure Audio PLL2 on DH i.MX8M Plus DHCOM SoM
Marek Vasut [Tue, 25 Jun 2024 12:11:09 +0000 (14:11 +0200)]
arm64: dts: imx8mp: Do not reconfigure Audio PLL2 on DH i.MX8M Plus DHCOM SoM

The DH i.MX8M Plus DHCOM SoM uses Audio PLL2 to supply clock to CLKOUT2
output. Those clock are used to supply on-SoM TC9595 DSI-to-(e)DP bridge
with RefClk and must not be reconfigured, otherwise the bridge cannot
work correctly. Stop reconfiguring Audio PLL2 on this SoM.

Fixes: f560da940e32 ("arm64: dts: imx8mp: Initialize audio PLLs from audiomix subsystem")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: rename b(q)man-portals to b(q)man-portals-bus
Frank Li [Wed, 26 Jun 2024 20:25:33 +0000 (16:25 -0400)]
arm64: dts: layerscape: rename b(q)man-portals to b(q)man-portals-bus

Rename b(q)man-portals to b(q)man-portals-bus to fix below CHECK_DTB
warnings.

arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb:
  bman-portals@508000000: $nodename:0: 'bman-portals@508000000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: fsl-ls1046a: rename thermal node name
Frank Li [Wed, 26 Jun 2024 20:25:32 +0000 (16:25 -0400)]
arm64: dts: fsl-ls1046a: rename thermal node name

Add thermal subfix for thermal node to fix below CHECK_DTB warnings.

thermal-zones: '...' do not match any of the regexes:
'^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: fsl-ls1043a: remove unused clk-name at watchdog node
Frank Li [Wed, 26 Jun 2024 20:25:31 +0000 (16:25 -0400)]
arm64: dts: fsl-ls1043a: remove unused clk-name at watchdog node

clk-name is undocument property and never used in watchdog driver. Remove
it and fix below CHECK_DTB warning.

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: watchdog@2ad0000: Unevaluated properties are not allowed ('big-endian', 'clock-names' were unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: rename aux_bus to aux-bus
Frank Li [Wed, 26 Jun 2024 20:25:30 +0000 (16:25 -0400)]
arm64: dts: layerscape: rename aux_bus to aux-bus

Rename aux_bus to aux-bus to fix below CHECK_DTBS warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb:
    aux_bus: $nodename:0: 'aux_bus' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
        from schema $id: http://devicetree.org/schemas/simple-bus.yam

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: change pcie interrupt order
Frank Li [Wed, 26 Jun 2024 20:25:29 +0000 (16:25 -0400)]
arm64: dts: layerscape: change pcie interrupt order

Change pcie interrupt order to fix below warning.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: pcie@3400000: interrupt-names:0: 'pme' was expected
        from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: pcie@3400000: interrupt-names:1: 'aer' was expected
        from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: rename node name "wdt" to "watchdog"
Frank Li [Wed, 26 Jun 2024 20:25:28 +0000 (16:25 -0400)]
arm64: dts: layerscape: rename node name "wdt" to "watchdog"

Rename node name "wdt" to "watchdog" to fix below warning:

arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dtb:
wdt@c000000: $nodename:0: 'wdt@c000000' does not match '^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: add #dma-cells for qdma
Frank Li [Wed, 26 Jun 2024 20:25:27 +0000 (16:25 -0400)]
arm64: dts: layerscape: add #dma-cells for qdma

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for fman3
Frank Li [Wed, 26 Jun 2024 20:25:26 +0000 (16:25 -0400)]
arm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for fman3

Fman3 should use 'fsl,fman-memac-mdio'. 'fsl,fman-xmdio' is for fman2.
Fix below CHECK_DTBS warning.
fman@1a00000: mdio@eb000:compatible: ['fsl,fman-memac-mdio', 'fsl,fman-xmdio'] is too long

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: replace node name 'nor' with 'flash'
Frank Li [Wed, 26 Jun 2024 20:25:25 +0000 (16:25 -0400)]
arm64: dts: layerscape: replace node name 'nor' with 'flash'

Replace node name 'nor' with 'flash' to fix below CHECK_DTBS warning.
nor@0,0: $nodename:0: 'nor@0,0' does not match '^(flash|.*sram|nand)(@.*)?$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches'
Frank Li [Wed, 26 Jun 2024 20:25:24 +0000 (16:25 -0400)]
arm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches'

Workaround already applied unconditional at
commit a6ba1e453174 ("usb: dwc3: apply snps,host-vbus-glitches workaround unconditionally")

Remove it to fix CHECK_DTBS warning:
usb@2f00000: Unevaluated properties are not allowed ('snps,host-vbus-glitches' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single
Frank Li [Wed, 26 Jun 2024 20:25:23 +0000 (16:25 -0400)]
arm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single

Change #addres-cells to 1 and #size-cells to 0 to align binding doc
requiremement.

Fix below warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dtb: pinmux@70010012c: #address-cells:0:0: 1 was expected
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: add platform special compatible string for gpio
Frank Li [Wed, 26 Jun 2024 20:25:22 +0000 (16:25 -0400)]
arm64: dts: layerscape: add platform special compatible string for gpio

Add platform special compatible string for all gpio controller to fix
below warning.

 gpio@2300000: compatible: 'oneOf' conditional failed, one must be fixed:
        ['fsl,qoriq-gpio'] is too short
        'fsl,qoriq-gpio' is not one of ['fsl,mpc5121-gpio', 'fsl,mpc5125-gpio', 'fsl,mpc8349-gpio', 'fsl,mpc8572-gpio', 'fsl,mpc8610-gpio', 'fsl,pq3-gpio']
        'fsl,qoriq-gpio' is not one of ['fsl,ls1021a-gpio', 'fsl,ls1028a-gpio', 'fsl,ls1043a-gpio', 'fsl,ls1088a-gpio', 'fsl,ls2080a-gpio']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: rename node 'timer' as 'rtc'
Frank Li [Wed, 26 Jun 2024 20:25:21 +0000 (16:25 -0400)]
arm64: dts: layerscape: rename node 'timer' as 'rtc'

ftm_alarm is rtc. Correct the name as 'rtc' to fix DTB_CHECK warning.

timer@29d0000: $nodename:0: 'timer@29d0000' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$'
        from schema $id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8qxp-mek: Pass memory-region to the DSP node
Fabio Estevam [Wed, 26 Jun 2024 14:05:32 +0000 (11:05 -0300)]
arm64: dts: imx8qxp-mek: Pass memory-region to the DSP node

According to fsl,dsp.yaml, 'memory-region' is a required property.

Pass 'memory-region' to fix the following dt-schema warning:

imx8qxp-mek.dtb: dsp@596e8000: 'memory-region' is a required property

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx95-19x19-evk: add PCIe[0,1] support
Frank Li [Thu, 20 Jun 2024 16:16:22 +0000 (12:16 -0400)]
arm64: dts: imx95-19x19-evk: add PCIe[0,1] support

Add PCIe[0,1] and all dependent nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx95-19x19-evk: add lpi2c7 and expander gpio pcal6524
Frank Li [Thu, 20 Jun 2024 16:16:21 +0000 (12:16 -0400)]
arm64: dts: imx95-19x19-evk: add lpi2c7 and expander gpio pcal6524

Add lpi2c7 and expander gpio pcal6524.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx95: add pcie[0,1] and pcie-ep[0,1] support
Frank Li [Thu, 20 Jun 2024 16:16:20 +0000 (12:16 -0400)]
arm64: dts: imx95: add pcie[0,1] and pcie-ep[0,1] support

Add pcie[0,1] and pcie-ep[0,1] support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx95: add '#address-cells' and '#size-cells' for all i2c
Frank Li [Thu, 20 Jun 2024 16:16:19 +0000 (12:16 -0400)]
arm64: dts: imx95: add '#address-cells' and '#size-cells' for all i2c

Add '#address-cells' and '#size-cells' for all I2C to avoid duplicate these
at every board files.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: fsl-ls1043a-rdb: use common spi-cs-setup(hold)-delay-ns
Frank Li [Mon, 24 Jun 2024 18:55:29 +0000 (14:55 -0400)]
arm64: dts: fsl-ls1043a-rdb: use common spi-cs-setup(hold)-delay-ns

Use SPI common properties 'spi-cs-setup-delay-ns' and
'spi-cs-hold-delay-ns', mark private properties 'fsl,spi-cs-sck-delay'
and 'fsl,spi-sck-cs-delay' as deprecated.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx93-11x11-evk: reorder lpi2c2, lpi2c3, mu1 and mu2 label
Joy Zou [Thu, 20 Jun 2024 02:26:37 +0000 (10:26 +0800)]
arm64: dts: imx93-11x11-evk: reorder lpi2c2, lpi2c3, mu1 and mu2 label

Reorder lpi2c2, lpi2c3, mu1 and mu2 label in alphabetical order.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx93-11x11-evk: fix duplicated lpi2c3 labels
Joy Zou [Thu, 20 Jun 2024 02:26:36 +0000 (10:26 +0800)]
arm64: dts: imx93-11x11-evk: fix duplicated lpi2c3 labels

Move node "rtc@53" to existed "&lpi2c3" and remove redundant
"&lpi2c3" label.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoMerge tag 'imx-fixes-6.10' into imx/dt64
Shawn Guo [Mon, 1 Jul 2024 14:21:22 +0000 (22:21 +0800)]
Merge tag 'imx-fixes-6.10' into imx/dt64

i.MX fixes for 6.10:

- Fix GPIO number for reg_usdhc2_vmmc on imx8qm-mek board.
- Enable hysteresis for SODIMM_17 pin on imx8mm-verdin board to increase
  immunity against noise.
- Remove 'no-sdio' property for uSDHC2 on imx93-11x11-evk board, so that
  SDIO cards could also work.
- Fix BT shutdown GPIO for imx8mp-venice-gw73xx-2x board.
- Fix panel node deleting on imx53-qsb-hdmi, as /delete-node/ directive
  doesn't really delete a node in a DT overlay.
- Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM.
- Fix GPU speed for imx8mm-verdin board by enabling overdrive mode in
  the SOM dtsi.

13 months agoarm64: dts: imx8mp: Fix pgc vpu locations
Adam Ford [Wed, 19 Jun 2024 10:10:44 +0000 (05:10 -0500)]
arm64: dts: imx8mp: Fix pgc vpu locations

The various pgv_vpu nodes have a mismatch between the value after
the @ symbol and what is referenced by 'reg' so reorder the nodes
to align.

Fixes: df680992dd62 ("arm64: dts: imx8mp: add vpu pgc nodes")
Suggested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewd-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-venice-gw74xx: add DP83867 configuration
Tim Harvey [Tue, 18 Jun 2024 20:09:01 +0000 (13:09 -0700)]
arm64: dts: imx8mp-venice-gw74xx: add DP83867 configuration

The GW7400 has an onboard DP83867 RGMII GbE PHY:
 - add RGMII delay and FIFO configuration
 - add LED configuration required to use them via netdev trigger:
   two LED's (LED1 and LED2, skipping LED0).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-venice-gw702x: add support for PHY LED's
Tim Harvey [Tue, 18 Jun 2024 20:05:52 +0000 (13:05 -0700)]
arm64: dts: imx8mp-venice-gw702x: add support for PHY LED's

The GW702x SoM has an onboard DP83867 RGMII GbE PHY that drives two
LED's (LED1 and LED2, skipping LED0). Add the appropriate dt bindings to
allow these PHY LED's to be controlled via a netdev trigger.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mm-venice-gw700x: add support for PHY LED's
Tim Harvey [Tue, 18 Jun 2024 20:02:54 +0000 (13:02 -0700)]
arm64: dts: imx8mm-venice-gw700x: add support for PHY LED's

The GW700x SoM has an onboard DP83867 RGMII GbE PHY that drives two
LED's (LED1 and LED2, skipping LED0). Add the appropriate dt bindings to
allow these PHY LED's to be controlled via a netdev trigger.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8m*-venice-*: fix gw,gsc dt-schema warnings
Tim Harvey [Tue, 18 Jun 2024 17:21:51 +0000 (10:21 -0700)]
arm64: dts: freescale: imx8m*-venice-*: fix gw,gsc dt-schema warnings

Fix the dt-schema warnings due to #address-cells/#size-cells being
unnecessary when there are no children with reg cells.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Fix pgc_mlmix location
Adam Ford [Mon, 17 Jun 2024 22:39:51 +0000 (17:39 -0500)]
arm64: dts: imx8mp: Fix pgc_mlmix location

The pgc_mlmix shows a power-domain@24, but the reg value is
IMX8MP_POWER_DOMAIN_MLMIX which is set to 4.

The stuff after the @ symbol should match the stuff referenced
by 'reg' so reorder the pgc_mlmix so it to appear as power-domain@4.

Fixes: 834464c8504c ("arm64: dts: imx8mp: add mlmix power domain")
Fixes: 4bedc468b725 ("arm64: dts: imx8mp: Add NPU Node")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8dxl-evk: add imx8dxl_cm4, lsio mu5, related memory region
Frank Li [Mon, 17 Jun 2024 18:47:07 +0000 (14:47 -0400)]
arm64: dts: imx8dxl-evk: add imx8dxl_cm4, lsio mu5, related memory region

Add imx8dxl_cm4, lsio mu5 and related memory region.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: add TQMa8MPQL on MBa8MP-RAS314
Martin Schmiedel [Mon, 17 Jun 2024 08:12:29 +0000 (10:12 +0200)]
arm64: dts: freescale: add TQMa8MPQL on MBa8MP-RAS314

This adds support for TQMa8MPQL module on MBa8MP-RAS314 board.

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8dxl-ss-conn: add gpmi nand
Frank Li [Mon, 20 May 2024 16:09:17 +0000 (12:09 -0400)]
arm64: dts: imx8dxl-ss-conn: add gpmi nand

Update gpmi nand and dma_apbh interrupt number for imx8dxl.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8-ss-conn: add gpmi nand node
Frank Li [Mon, 20 May 2024 16:09:16 +0000 (12:09 -0400)]
arm64: dts: imx8-ss-conn: add gpmi nand node

Add gpmi nand support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: Support i.MX93 9x9 Quick Start Board
Peng Fan [Mon, 17 Jun 2024 03:11:45 +0000 (11:11 +0800)]
arm64: dts: freescale: Support i.MX93 9x9 Quick Start Board

Add the board device tree with sdhc1/2, cm33, mu, lpuart1, lpi2c1/2,
usb enabled and etc, which to support the i.MX 93 quick start evaluation
kit that provides a low-cost platform to evaluate the i.MX 93 applications
processors in a 9x9mm package.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc
Frank Li [Fri, 14 Jun 2024 15:06:32 +0000 (11:06 -0400)]
arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc

The gpio in "reg_usdhc2_vmmc" should be 7 instead of 19.

Cc: stable@vger.kernel.org
Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts
Peng Fan [Mon, 17 Jun 2024 02:56:37 +0000 (10:56 +0800)]
arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts

Add a minimal dts for i.MX95 19x19 EVK board:
 - lpuart1 as console
 - sdhc1/2 as storage

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: add i.MX95 basic dtsi
Peng Fan [Mon, 17 Jun 2024 02:56:36 +0000 (10:56 +0800)]
arm64: dts: freescale: add i.MX95 basic dtsi

i.MX95 features 6 A55 Cores, ARM Mali GPU, ISP, ML acceleration NPU,
and Edgelock secure enclave security. This patch is to add a minimal
dtsi, with cpu cores, scmi, gic, uart, mu, sdhc, lpi2c added.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mm-iot-gateway: Add initial support
Fabio Estevam [Sun, 16 Jun 2024 17:21:49 +0000 (14:21 -0300)]
arm64: dts: imx8mm-iot-gateway: Add initial support

Add the initial support for the CompuLab i.MX8MM IoT Gateway board,
which is based on the Compulab's UCM-iMX8M-Mini SoM.

Board URL:
https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/

SoM URL:
https://www.compulab.com/products/computer-on-modules/ucm-imx8m-mini-nxp-i-mx-8m-mini-som-system-on-module-computer/

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: change thermal node name
Frank Li [Thu, 13 Jun 2024 22:24:12 +0000 (18:24 -0400)]
arm64: dts: layerscape: change thermal node name

Add thermal subfix for thermal node name to fix DTB_CHECK warning:

    thermal-zones: '...' do not match any of the regexes:
    '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: layerscape: Change node name from 'esdhc' to 'mmc'
Frank Li [Thu, 13 Jun 2024 14:32:07 +0000 (10:32 -0400)]
arm64: dts: layerscape: Change node name from 'esdhc' to 'mmc'

Use common node name 'mmc' to fix DTB_CHECK warning.
Add compatible string 'fsl,ls2080a-esdhc' for fsl-lx2160a.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: esdhc@1560000: $nodename:0: 'esdhc@1560000' does not match '^mmc(@.*)?$'
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb: esdhc@1560000: $nodename:0: 'esdhc@1560000' does not match '^mmc(@.*)?$'
arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dtb: esdhc@1560000: $nodename:0: 'esdhc@1560000' does not match '^mmc(@.*)?$'
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dtb: esdhc@2140000: $nodename:0: 'esdhc@2140000' does not match '^mmc(@.*)?$'
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dtb: esdhc@2140000: $nodename:0: 'esdhc@2140000' does not match '^mmc(@.*)?$'
arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: esdhc@2140000: compatible:0: 'fsl,esdhc' is not one of ['fsl,mpc8536-esdhc', 'fsl,mpc8378-esdhc', 'fsl,p2020-esdhc', 'fsl,p4080-esdhc', 'fsl,t1040-esdhc', 'fsl,t4240-esdhc', 'fsl,ls1012a-esdhc', 'fsl,ls1028a-esdhc', 'fsl,ls1088a-esdhc', 'fsl,ls1043a-esdhc', 'fsl,ls1046a-esdhc', 'fsl,ls2080a-esdhc']
        from schema $id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml#
arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: esdhc@2140000: $nodename:0: 'esdhc@2140000' does not match '^mmc(@.*)?$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-msc-sm2s: Add HDMI output
Luca Ceresoli [Wed, 12 Jun 2024 10:17:27 +0000 (12:17 +0200)]
arm64: dts: imx8mp-msc-sm2s: Add HDMI output

Enable the HDMI output of the MSC SM2-MB-EP1 carrier board based the
SM2S-IMX8PLUS SMARC module.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8mp-verdin: add HDMI support
Francesco Dolcini [Mon, 10 Jun 2024 14:10:01 +0000 (16:10 +0200)]
arm64: dts: freescale: imx8mp-verdin: add HDMI support

Enable HDMI output on Verdin iMX8MP on all the supported carrier boards
(dev, dahlia, mallow and yavia).

HDMI DDC I2C is used in regular I2C mode, see link on the related
dt-bindings patch.

Fix CEC and HPD pinctrl, having a pull-down on HPD and a pull-up on CEC.

Link: https://lore.kernel.org/all/20240515062753.111746-1-marex@denx.de/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-debix-model-a: Enable HDMI output
Christopher Obbard [Mon, 10 Jun 2024 23:42:38 +0000 (00:42 +0100)]
arm64: dts: imx8mp-debix-model-a: Enable HDMI output

Enable the HDMI output on the Debix Model A SBC, using the HDMI encoder
present in the i.MX8MP SoC.

This has been tested with a generic 1080p HDMI display, along with a
smaller 1280x800 HDMI display.

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8: use defines for interrupts
Krzysztof Kozlowski [Wed, 5 Jun 2024 15:30:20 +0000 (17:30 +0200)]
arm64: dts: imx8: use defines for interrupts

Replace hard-coded interrupt flags with standard defines for
readability.  No changes in resulting DTBs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls208xa: use defines for timer interrupts
Krzysztof Kozlowski [Wed, 5 Jun 2024 15:30:19 +0000 (17:30 +0200)]
arm64: dts: ls208xa: use defines for timer interrupts

Replace hard-coded interrupt parts (GIC, flags) with standard defines
for readability.  No changes in resulting DTBs.  The comment was saying
interrupt was active low, but the actual used value was active high, so
assume that the code, not the comment, is correct.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: use defines for interrupts
Krzysztof Kozlowski [Wed, 5 Jun 2024 15:30:18 +0000 (17:30 +0200)]
arm64: dts: freescale: use defines for interrupts

Replace hard-coded interrupt parts (GIC, flags) with standard defines
for readability.  No changes in resulting DTBs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls1028a-rdb: Add EEPROM nodes to I2C bus
Mike Looijmans [Tue, 4 Jun 2024 06:27:22 +0000 (08:27 +0200)]
arm64: dts: ls1028a-rdb: Add EEPROM nodes to I2C bus

The LS1028ARDB board contains three EEPROM devices, for
storing boot code, DDR SPD and board information. Add the
missing entries to the devicetree.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin
Max Krummenacher [Mon, 3 Jun 2024 14:00:45 +0000 (16:00 +0200)]
arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin

SODIMM 17 can be used as an edge triggered interrupt supplied from an
off board source.

Enable hysteresis on the pinmuxing to increase immunity against noise
on the signal.

Fixes: 60f01b5b5c7d ("arm64: dts: imx8mm-verdin: update iomux configuration")
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-beacon-kit: Fix errors found from CHECK_DTBS
Adam Ford [Sat, 1 Jun 2024 13:52:29 +0000 (08:52 -0500)]
arm64: dts: imx8mp-beacon-kit: Fix errors found from CHECK_DTBS

The adv7535 has some unnecessary entries which can be removed since
they were not setup properly anyway and the defaults work just fine.
Removing them and adding some required regulators make the errors
detected from CHECK_DTBS go away:

 reg-names:1: 'edid' was expected
 reg-names:2: 'cec' was expected
 'avdd-supply' is a required property
 'dvdd-supply' is a required property
 'pvdd-supply' is a required property
 'a2vdd-supply' is a required property
 'v3p3-supply' is a required property

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls2160a: Change I2C clock name to ipg to fix DTB_CHECK warning
Frank Li [Fri, 31 May 2024 21:50:17 +0000 (17:50 -0400)]
arm64: dts: ls2160a: Change I2C clock name to ipg to fix DTB_CHECK warning

dt_binding require I2C's clock name is "ipg". Change it to "ipg" from "i2c"
to fix below DTB_CHECK warning.
arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dtb: i2c@2010000: clock-names:0: 'ipg' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls208xa: Change I2C clock name to ipg to fix DTB_CHECK warning
Frank Li [Fri, 31 May 2024 21:50:16 +0000 (17:50 -0400)]
arm64: dts: ls208xa: Change I2C clock name to ipg to fix DTB_CHECK warning

dt_binding require I2C's clock name is "ipg". Change it to "ipg" from "i2c"
to fix below DTB_CHECK warning.
arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dtb: i2c@2000000: clock-names:0: 'ipg' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls1043a: Change I2C clock name to ipg to fix DTB_CHECK warning
Frank Li [Fri, 31 May 2024 21:50:15 +0000 (17:50 -0400)]
arm64: dts: ls1043a: Change I2C clock name to ipg to fix DTB_CHECK warning

dt_binding require I2C's clock name is "ipg". Change it to "ipg" from "i2c"
to fix below DTB_CHECK warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb: i2c@2190000: clock-names:0: 'ipg' was expecte

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: ls1012a: Reorder sai dma-names to clean up DTB_CHECK warning
Frank Li [Fri, 31 May 2024 21:50:14 +0000 (17:50 -0400)]
arm64: dts: ls1012a: Reorder sai dma-names to clean up DTB_CHECK warning

Change order of sai's dma-names to clearn up below DTB_CHECK warning.

   arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: sai@2b50000: dma-names:1: 'tx' was expected
   arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: sai@2b60000: dma-names:1: 'tx' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property
Fabio Estevam [Wed, 29 May 2024 03:48:54 +0000 (00:48 -0300)]
arm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property

The usdhc2 port is connected to the microSD slot. The presence of the
'no-sdio' property prevents Wifi SDIO cards, such as CMP9010-X-EVB [1]
to be detected.

Remove the 'no-sdio' property so that SDIO cards could also work.

[1] https://www.nxp.com/products/wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/cmp9010-x-evb-iw416-usd-interface-evaluation-board:CMP9010-X-EVB

Fixes: e37907bd8294 ("arm64: dts: freescale: add i.MX93 11x11 EVK basic support")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Add imx8mp-specific irqsteer compatible
Alexander Stein [Tue, 28 May 2024 07:11:41 +0000 (09:11 +0200)]
arm64: dts: imx8mp: Add imx8mp-specific irqsteer compatible

i.MX8MP irqsteer has power-domain support, so use a dedicated compatible.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8mp-verdin: don't limit i2c2 max. clock
Max Krummenacher [Mon, 27 May 2024 16:03:46 +0000 (18:03 +0200)]
arm64: dts: freescale: imx8mp-verdin: don't limit i2c2 max. clock

Verdin I2C2 may be used to access other I2C devices apart from serving
as an HDMI DDC channel.
Thus do not limit the used I2C clock frequency to 10kHz in the module
specific device tree part.
If an overlay configures i2c2 as DDC the overlay is also responsible
to cope with an appropriate I2C clock.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8mm-verdin: don't limit i2c2 max. clock
Max Krummenacher [Mon, 27 May 2024 16:03:45 +0000 (18:03 +0200)]
arm64: dts: freescale: imx8mm-verdin: don't limit i2c2 max. clock

Verdin I2C2 may be used to access other I2C devices apart from serving
as an HDMI DDC channel.
Thus do not limit the used I2C clock frequency to 10kHz in the module
specific device tree part.
If an overlay configures i2c2 as DDC the overlay is also responsible
to cope with an appropriate I2C clock.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: phygate-tauri-l: add overlays for RS232 and RS485
Parthiban Nallathambi [Sat, 25 May 2024 17:18:54 +0000 (22:48 +0530)]
arm64: dts: phygate-tauri-l: add overlays for RS232 and RS485

UART2 and UART4 can used in following combination,

2 x RS232:
- UART2 and UART4 without flow control
- MUX selection GPIO3_20 must be held low

1 x RS232 + 1 x RS485:
- UART2 - RS232
- UART4 - RS485
- MUX selection GPIO3_20 must be held high
- RE/DE for RS485 controlled with GPIO3_25

1 x RS232 with flow control:
- UART2 - RS232
- MUX selection GPIO3_20 must be held low

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: phygate-tauri-l: enable pcie phy
Parthiban Nallathambi [Sat, 25 May 2024 17:18:53 +0000 (22:48 +0530)]
arm64: dts: phygate-tauri-l: enable pcie phy

I210 intel ethernet controller is connected to PCIe. Enable the PHY
to use the ethernet controller.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO
Tim Harvey [Wed, 22 May 2024 21:38:28 +0000 (14:38 -0700)]
arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO

Fix the invalid BT shutdown GPIO (gpio1_io3 not gpio4_io16)

Fixes: 716ced308234 ("arm64: dts: freescale: Add imx8mp-venice-gw73xx-2x")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning
Frank Li [Mon, 20 May 2024 20:41:32 +0000 (16:41 -0400)]
arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning

Reorder the SAI dma-names to ensure "rx" precedes "tx" as required to fixes
the DTB_CHECK warning.

arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: audio-controller@f100000: dma-names:1: 'tx' was expected
from schema $id: http://devicetree.org/schemas/sound/fsl,sai.yaml#
arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: audio-controller@f110000: dma-names:1: 'tx' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep'
Frank Li [Mon, 20 May 2024 20:41:31 +0000 (16:41 -0400)]
arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep'

Remove the undocumented compatible string 'fsl,ls-pcie-ep' property from
the ls1028a device tree source to fix DTB_CHECK warnings.

arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: pcie-ep@3400000: compatible: ['fsl,ls1028a-pcie-ep', 'fsl,ls-pcie-ep'] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie-ep.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mq-librem5: Don't wake up on volume key press
Guido Günther [Mon, 20 May 2024 10:57:05 +0000 (12:57 +0200)]
arm64: dts: imx8mq-librem5: Don't wake up on volume key press

The only key that should wake up the phone is power button press. This
prevents accidental wakeup due to e.g. pressing the buttons in the
pocket or backpack and is in line what userspace uses to unblank the
device.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-tqma8mpql-mba8mpxl: Remove unused ocram node
Alexander Stein [Thu, 16 May 2024 11:23:43 +0000 (13:23 +0200)]
arm64: dts: imx8mp-tqma8mpql-mba8mpxl: Remove unused ocram node

This node is unused and origins from downstream kernel where it is
used for the DSP.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm: dts: imx53-qsb-hdmi: Disable panel instead of deleting node
Liu Ying [Tue, 14 May 2024 03:07:18 +0000 (11:07 +0800)]
arm: dts: imx53-qsb-hdmi: Disable panel instead of deleting node

We cannot use /delete-node/ directive to delete a node in a DT
overlay.  The node won't be deleted effectively.  Instead, set
the node's status property to "disabled" to achieve something
similar.

Fixes: eeb403df953f ("ARM: dts: imx53-qsb: add support for the HDMI expander")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Enable HDMI on i.MX8MP DHCOM PDK2 and PDK3
Marek Vasut [Tue, 14 May 2024 01:06:42 +0000 (03:06 +0200)]
arm64: dts: imx8mp: Enable HDMI on i.MX8MP DHCOM PDK2 and PDK3

Enable HDMI output on i.MX8MP DHCOM PDK2 and PDK3. The I2C5 on PDK2 and
I2C mux port 1 on PDK3 respectively are used in regular I2C mode instead
of HDMI DDC mode to permit connection of other I2C devices on those buses.
The pinctrl_hdmi node is part of the SoM DTSI already.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM
Marek Vasut [Sat, 15 Jun 2024 08:00:43 +0000 (16:00 +0800)]
arm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM

The IMX8MP_CLK_CLKOUT2 supplies the TC9595 bridge with 13 MHz reference
clock. The IMX8MP_CLK_CLKOUT2 is supplied from IMX8MP_AUDIO_PLL2_OUT.
The IMX8MP_CLK_CLKOUT2 operates only as a power-of-two divider, and the
current 156 MHz is not power-of-two divisible to achieve 13 MHz.

To achieve 13 MHz output from IMX8MP_CLK_CLKOUT2, set IMX8MP_AUDIO_PLL2_OUT
to 208 MHz, because 208 MHz / 16 = 13 MHz.

Fixes: 20d0b83e712b ("arm64: dts: imx8mp: Add TC9595 bridge on DH electronics i.MX8M Plus DHCOM")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp-evk: add bt-sco sound card support
Shengjiu Wang [Thu, 9 May 2024 05:14:58 +0000 (13:14 +0800)]
arm64: dts: imx8mp-evk: add bt-sco sound card support

Add bt-sco sound card, which is used by BT HFP case.
It supports wb profile as default

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
13 months agoarm64: dts: imx8mp: Initialize audio PLLs from audiomix subsystem
Shengjiu Wang [Thu, 9 May 2024 05:14:57 +0000 (13:14 +0800)]
arm64: dts: imx8mp: Initialize audio PLLs from audiomix subsystem

Initialize audio PLL1 as the parent clock for 8kHz series rates,
audio PLL2 as the parent clock for 11kHz series rates. that PLL1
and PLL2 can together support full range of audio sample rates.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8mp-evk: Add MX8-DLVDS-LCD1 display module support
Liu Ying [Wed, 8 May 2024 10:00:13 +0000 (18:00 +0800)]
arm64: dts: imx8mp-evk: Add MX8-DLVDS-LCD1 display module support

MX8-DLVDS-LCD1 display module integrates a KOE TX26D202VM0BWA LCD panel
and a touch IC.  Add an overlay to support the LCD panel on i.MX8MP EVK.
Specify 148.5MHz clock frequency in panel-timing node to accommodate
3.5-fold 519.75MHz media_ldb clock which is derived from 1.0395GHz
video_pll1 clock.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: imx8mm-verdin: Fix GPU speed
Joao Paulo Goncalves [Tue, 7 May 2024 14:35:55 +0000 (11:35 -0300)]
arm64: dts: freescale: imx8mm-verdin: Fix GPU speed

The GPU clock was reduced on iMX8MM SOC device tree to prevent boards
that don't support GPU overdrive from being out of specification. However,
this caused a regression in GPU speed for the Verdin iMX8MM, which does
support GPU overdrive. This patch fixes this by enabling overdrive mode
in the SOM dtsi.

Fixes: 1f794d3eed53 ("arm64: dts: imx8mm: Reduce GPU to nominal speed")
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm: Add GPU nodes
Christian Gmeiner [Fri, 3 May 2024 21:22:48 +0000 (23:22 +0200)]
arm64: dts: imx8qm: Add GPU nodes

Add the DT node for the GPU core found on the i.MX8QM.

etnaviv-gpu 53100000.gpu: model: GC7000, revision: 6009
[drm] Initialized etnaviv 1.4.0 20151214 for etnaviv on minor 0

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add fec2 support
Frank Li [Thu, 25 Apr 2024 20:24:46 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add fec2 support

Add fec2 support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm: add ocopt and fec_mac[0,1]
Frank Li [Thu, 25 Apr 2024 20:24:45 +0000 (16:24 -0400)]
arm64: dts: imx8qm: add ocopt and fec_mac[0,1]

add ocotp ad fec_mac[0,1] for imx8qm.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add lsio mu5 and mu6
Frank Li [Thu, 25 Apr 2024 20:24:44 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add lsio mu5 and mu6

Add lsio mu5 and mu6.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add flexcan support
Frank Li [Thu, 25 Apr 2024 20:24:43 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add flexcan support

Add flexcan[1,2,3] support for imx8qm-mek board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add cm41_i2c and children devices
Frank Li [Thu, 25 Apr 2024 20:24:42 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add cm41_i2c and children devices

Add cm41_i2c and devices under it for imx8qm-mek board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add i2c0 and children devices
Frank Li [Thu, 25 Apr 2024 20:24:41 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add i2c0 and children devices

Add i2c0 and all devices under it for imx8qm-mek board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8x: add cm41 subsystem dtsi
Frank Li [Thu, 25 Apr 2024 20:24:40 +0000 (16:24 -0400)]
arm64: dts: imx8x: add cm41 subsystem dtsi

Add cm41 subsystem dtsi for iMX8X chips.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-mek: add sai and wm8960 support
Frank Li [Thu, 25 Apr 2024 20:24:39 +0000 (16:24 -0400)]
arm64: dts: imx8qm-mek: add sai and wm8960 support

Add sai[0,1,6,7], wm8960 and asrc0 support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8qm-ss-audio: add audio nodes
Frank Li [Thu, 25 Apr 2024 20:24:38 +0000 (16:24 -0400)]
arm64: dts: imx8qm-ss-audio: add audio nodes

Add i.MX8QM audio related nodes and update eDMA[0,1]'s information.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8-ss-audio: remove memory-region = <&dsp_reserved>;
Frank Li [Thu, 25 Apr 2024 20:24:37 +0000 (16:24 -0400)]
arm64: dts: imx8-ss-audio: remove memory-region = <&dsp_reserved>;

Different boards have different DDR memory sizes and layouts for reserved
memory. This change reduces future dependencies to add 'imx8qm-ss-audio'.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8dxl-evk: add audio nodes
Frank Li [Thu, 25 Apr 2024 15:34:43 +0000 (11:34 -0400)]
arm64: dts: imx8dxl-evk: add audio nodes

Add audio nodes for imx8dxl-evk boards.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8dxl-ss-adma: update audio node power domains and IRQ number
Frank Li [Thu, 25 Apr 2024 15:34:42 +0000 (11:34 -0400)]
arm64: dts: imx8dxl-ss-adma: update audio node power domains and IRQ number

The power domains of i.MX8DXL's acm is difference i.MX8QXP. IRQ number of
sai[0..3] and spdif0 are also difference.

Update power domains information for i.MX8DXL.

Update sai[0..3] and spdif0's IRQ number for i.MX8DXL.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8dxl-ss-adma: delete unused node
Frank Li [Thu, 25 Apr 2024 15:34:41 +0000 (11:34 -0400)]
arm64: dts: imx8dxl-ss-adma: delete unused node

Delete unused node in adma subsystem.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma8xx: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:51 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma8xx: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma8mq: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:50 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma8mq: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma8mpql: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:49 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma8mpql: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma8mqnl: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:48 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma8mqnl: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma8mqml: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:47 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma8mqml: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: freescale: tqma9352: Add partitions subnode to spi-nor
Alexander Stein [Tue, 23 Apr 2024 11:31:46 +0000 (13:31 +0200)]
arm64: dts: freescale: tqma9352: Add partitions subnode to spi-nor

The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise. Direct children cause warnings like:
425e0000.spi: ofpart partition /soc@0/bus@42000000/spi@425e0000/flash@0/
  partition@600000 (/soc@0/bus@42000000/spi@425e0000/flash@0) #size-cells
  is wrongly set to <0>, assuming <1> for parsing partitions.

This is due flexspi node having #size-cells = <0>. Setting #size-cells in
MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: mba93xxca: Add USB support
Alexander Stein [Tue, 23 Apr 2024 09:33:41 +0000 (11:33 +0200)]
arm64: dts: mba93xxca: Add USB support

This adds support for both USB host and USB Type-C ports. This includes
the on-board USB hub. Remove the gpio-hog for USB_RESET# as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: mba93xxla: Add USB support
Alexander Stein [Tue, 23 Apr 2024 09:33:40 +0000 (11:33 +0200)]
arm64: dts: mba93xxla: Add USB support

This adds support for both USB host and USB Type-C ports. This includes
the on-board USB hub.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm64: dts: imx8mp-beacon-kit: Enable HDMI bridge HPD
Adam Ford [Tue, 5 Mar 2024 00:48:58 +0000 (18:48 -0600)]
arm64: dts: imx8mp-beacon-kit: Enable HDMI bridge HPD

The DSI to HDMI bridge supports hot-plut-detect, but the
driver didn't previously support a shared IRQ GPIO.  With
the driver updated, the interrupt can be added to the bridge.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoLinux 6.10-rc1
Linus Torvalds [Sun, 26 May 2024 22:20:12 +0000 (15:20 -0700)]
Linux 6.10-rc1