linux-2.6-block.git
2 weeks agoarm64: dts: colibri-imx8x: Add usb support
Emanuele Ghidoli [Sun, 1 Sep 2024 15:57:12 +0000 (17:57 +0200)]
arm64: dts: colibri-imx8x: Add usb support

Add USB HOST and OTG support to Colibri-iMX8X carrier boards.

Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes
Frank Li [Mon, 1 Jul 2024 15:03:34 +0000 (11:03 -0400)]
arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes

Enable usb3.0 and related usb type C nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem
Frank Li [Mon, 1 Jul 2024 15:03:33 +0000 (11:03 -0400)]
arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem

Add i2c node in mipi[0,1] subystem for imx8qm-mek.

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>
2 weeks agoarm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem
Frank Li [Mon, 1 Jul 2024 15:03:32 +0000 (11:03 -0400)]
arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem

Add pwm[0,1] and i2c[0,1] in lvds subsystem.

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>
2 weeks agoarm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region
Frank Li [Mon, 1 Jul 2024 15:03:31 +0000 (11:03 -0400)]
arm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region

Add two cm4 remote-proc and related memory regions.

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>
2 weeks agoarm64: dts: imx8qm: add mipi subsystem
Frank Li [Mon, 1 Jul 2024 15:03:30 +0000 (11:03 -0400)]
arm64: dts: imx8qm: add mipi subsystem

Include common imx8-ss-mipi0.dtsi and imx8-ss-mipi1.dtsi.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8: add basic mipi subsystem
Frank Li [Mon, 1 Jul 2024 15:03:29 +0000 (11:03 -0400)]
arm64: dts: imx8: add basic mipi subsystem

Add basic mipi subsystem for imx8qm and imx8qxp.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8qm: add lvds subsystem
Frank Li [Mon, 1 Jul 2024 15:03:28 +0000 (11:03 -0400)]
arm64: dts: imx8qm: add lvds subsystem

Add irqsteer, pwm and i2c in lvds subsystem.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8: add basic lvds0 and lvds1 subsystem
Frank Li [Mon, 1 Jul 2024 15:03:27 +0000 (11:03 -0400)]
arm64: dts: imx8: add basic lvds0 and lvds1 subsystem

Add basic lvds0 and lvds1 subsystem for imx8qm an imx8qxp.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx95: Add NETCMIX block control support
Wei Fang [Thu, 29 Aug 2024 01:18:49 +0000 (09:18 +0800)]
arm64: dts: imx95: Add NETCMIX block control support

Add NETCMIX block control support.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: rename gw7905 to gw75xx
Tim Harvey [Wed, 28 Aug 2024 17:36:51 +0000 (10:36 -0700)]
arm64: dts: freescale: rename gw7905 to gw75xx

The GW7905 was renamed to GW7500 before production release.

While we typically do not change compatibles, the GW7905 was never
released before its product name was changed to a GW7500.

The use the the 'xx' wildcard is to denote the fact that this
device-tree can support range of board models from GW7500 to GW7599 as
has been done historically with the Gateworks baseboards to support
various build customizatoins based on the same PCB.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx93-11x11-evk: Add PWM backlight for "LVDS" connector
Liu Ying [Tue, 27 Aug 2024 06:47:16 +0000 (14:47 +0800)]
arm64: dts: imx93-11x11-evk: Add PWM backlight for "LVDS" connector

J702 on i.MX93 11x11 EVK base board is a 40-pin connector labelled
"LVDS".  This connector supports PWM backlight with default 12V power
supply and ADP5585 PWM controller.  Add support for the backlight.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux-rdk: Add support for PCIe
Benjamin Hahn [Fri, 23 Aug 2024 08:01:32 +0000 (10:01 +0200)]
arm64: dts: imx8mp-phyboard-pollux-rdk: Add support for PCIe

Add support for the Mini PCIe slot.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-evk: Add native HDMI output
Liu Ying [Fri, 23 Aug 2024 02:12:57 +0000 (10:12 +0800)]
arm64: dts: imx8mp-evk: Add native HDMI output

J17 on i.MX8mp EVK base board is a HDMI type A connector.
It connects with i.MX8mp HDMI PHY.  Add support for it.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8m: update spdif sound card node properties
Elinor Montmasson [Tue, 20 Aug 2024 11:28:26 +0000 (13:28 +0200)]
arm64: dts: imx8m: update spdif sound card node properties

The merge of imx-spdif driver into fsl-asoc-card brought
new DT properties that can be used with the "fsl,imx-audio-spdif"
compatible:
* The "spdif-controller" property from imx-spdif is named "audio-cpu"
  in fsl-asoc-card.
* fsl-asoc-card uses codecs explicitly declared in DT
  with "audio-codec".
  With an S/PDIF, codec drivers spdif_transmitter and
  spdif_receiver should be used.
  Driver imx-spdif used instead the dummy codec and a pair of
  boolean properties, "spdif-in" and "spdif-out".

While backward compatibility is kept to support properties
"spdif-controller", "spdif-in" and "spdif-out", using new properties has
several benefits:
* "audio-cpu" and "audio-codec" are more generic names reflecting
  that the fsl-asoc-card driver supports multiple hardware.
  They are properties already used by devices using the
  fsl-asoc-card driver.
  They are also similar to properties of simple-card: "cpu" and "codec".
* "spdif-in" and "spdif-out" imply the use of the dummy codec in the
  driver. However, there are already two codec drivers for the S/PDIF,
  spdif_transmitter and spdif_receiver.
  It is better to declare S/PDIF Tx and Rx devices in a DT, and then
  reference them with "audio-codec" than using the dummy codec.

For those reasons, this commit updates in-tree DTs to use the new
properties:
* Rename "spdif-controller" property to "audio-cpu".
* Declare S/PDIF transmitter and/or receiver devices, and use them with
  the "audio-codec" property instead of "spdif-out" and/or "spdif-in".

These modifications were tested only on an imx8mn-evk board.

Note that out-of-tree and old DTs are still supported.

Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-beacon: Enable DW HDMI Bridge
Adam Ford [Mon, 19 Aug 2024 23:18:14 +0000 (18:18 -0500)]
arm64: dts: imx8mp-beacon: Enable DW HDMI Bridge

There is a second HDMI connector on the baseboard which is routed
to the DW HDMI bridge through the PVI to the LCDIF3 and requires the
HDMI PHY to be enabled too.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mm-beacon-kit: add DVDD-supply and DOVDD-supply
Frank Li [Mon, 19 Aug 2024 17:01:21 +0000 (13:01 -0400)]
arm64: dts: imx8mm-beacon-kit: add DVDD-supply and DOVDD-supply

According to binding doc, DVDD-supply and DOVDD-supply is required
properties. Add these to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dtb: camera@10: 'DVDD-supply' is a required proper

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: s32v234: remove fallback compatible string arm,cortex-a9-gic
Frank Li [Mon, 19 Aug 2024 17:01:20 +0000 (13:01 -0400)]
arm64: dts: s32v234: remove fallback compatible string arm,cortex-a9-gic

Remove fallback comaptible string arm,cortex-a9-gic to fix below warning:

/home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/s32v234-evb.dtb: interrupt-controller@7d001000: compatible: 'oneOf' conditional failed, one must be fixed:
            ['arm,cortex-a15-gic', 'arm,cortex-a9-gic'] is too long
            /home/lizhi/source/linux-upstream-dts/arch/arm64/boot/dts/freescale/s32v234-evb.dtb: interrupt-controller@7d001000: compatible: 'oneOf' conditional failed, one must be fixed:
                    ['arm,cortex-a15-gic', 'arm,cortex-a9-gic'] is too long
                    'nvidia,tegra210-agic' was expected
                    'arm,cortex-a15-gic' is not one of ['nvidia,tegra186-agic', 'nvidia,tegra194-agic', 'nvidia,tegra234-agic']
            'arm,gic-400' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: fsl-ls1088a-ten64: change to low case hex value
Frank Li [Mon, 19 Aug 2024 17:01:19 +0000 (13:01 -0400)]
arm64: dts: fsl-ls1088a-ten64: change to low case hex value

Change to low case for hex value to fix below warning:

arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dtb: flash@0:
    partitions: Unevaluated properties are not allowed ('partition@5C0000' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-venice: add vddl and vana for sensor@10
Frank Li [Mon, 19 Aug 2024 17:01:18 +0000 (13:01 -0400)]
arm64: dts: imx8mp-venice: add vddl and vana for sensor@10

Add vddl and vana for sensor@10 to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtb:
sensor@10: 'VANA-supply' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: fsl-lx2160a-tqmlx2160a: change "vcc" to "vdd" for hub*
Frank Li [Mon, 19 Aug 2024 17:01:17 +0000 (13:01 -0400)]
arm64: dts: fsl-lx2160a-tqmlx2160a: change "vcc" to "vdd" for hub*

According to binging doc usb/ti,usb8041.yaml and in
drivers/usb/misc/onboard_usb_dev.h

ti_tusb8041_data = { .supply_names = { "vdd" },};

It should vdd-supply instead vcc-supply.

Fixes: 04b77e0124ef ("arm64: dts: freescale: add fsl-lx2160a-mblx2160a board")
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mm-venice-gw7902(3): add #address-cells for gsc@20
Frank Li [Mon, 19 Aug 2024 17:01:16 +0000 (13:01 -0400)]
arm64: dts: imx8mm-venice-gw7902(3): add #address-cells for gsc@20

Add #address-cells and #size-cells for gsc@20 node to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dtb:
gsc@20: '#address-cells' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: fsl-ls1028: add missed supply for wm8904
Frank Li [Mon, 19 Aug 2024 17:01:15 +0000 (13:01 -0400)]
arm64: dts: fsl-ls1028: add missed supply for wm8904

Add A(CP, DB, DC, MIC)VDD-supply for wm8904 to fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dtb:
audio-codec@1a: 'AVDD-supply' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: layerscape: rename mdio-mux-emi to mdio-mux@<addr>
Frank Li [Mon, 19 Aug 2024 17:01:14 +0000 (13:01 -0400)]
arm64: dts: layerscape: rename mdio-mux-emi to mdio-mux@<addr>

Rename node name mdio-mux-emi<n>@<addr> to mdio-mux@<addr>.
Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dtb: board-control@2,0: 'mdio-mux-emi1@54' does not match any of the regexes: '^mdio-mux@[a-f0-9,]+$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/board/fsl,fpga-qixis.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: fsl-ls1012a-frdm: move clock-sc16is7xx under root node
Frank Li [Mon, 19 Aug 2024 17:01:13 +0000 (13:01 -0400)]
arm64: dts: fsl-ls1012a-frdm: move clock-sc16is7xx under root node

Move fixed clock "clock-sc16is7x" from dspi to root node to fix below
warning:
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb:
    serial@0: Unevaluated properties are not allowed ('clock-sc16is7xx' was unexpected)

Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: fsl-ls1043a: move "fsl,ls1043a-qdma" ahead "fsl,ls1021a-qdma"
Frank Li [Mon, 19 Aug 2024 17:01:11 +0000 (13:01 -0400)]
arm64: dts: fsl-ls1043a: move "fsl,ls1043a-qdma" ahead "fsl,ls1021a-qdma"

Move fsl,ls1043a-qdma ahead fallback string fsl,ls1021a-qdma.

Fix warning:
dma-controller@8380000: compatible: 'oneOf' conditional failed, one must be fixed:
        ['fsl,ls1021a-qdma', 'fsl,ls1043a-qdma'] is too long

Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8-ss-img: remove undocument slot for jpeg
Frank Li [Mon, 19 Aug 2024 17:01:10 +0000 (13:01 -0400)]
arm64: dts: imx8-ss-img: remove undocument slot for jpeg

Remove undocument 'slot' property. It is default 0 at driver. We can remove
it safely.

Fix below warning:
arch/arm64/boot/dts/freescale/imx8dx-colibri-iris.dtb: jpegdec@58400000:
'slot' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352: set SION for cmd and data pad of USDHC
Markus Niebel [Mon, 19 Aug 2024 12:03:28 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352: set SION for cmd and data pad of USDHC

imx93 pad integrate has one issue, refer to ERR052021:

ERR052021 uSDHC: Sometimes uSDHC does not work under VDD_SOC low
 drive mode and nominal mode
Description:
uSDHC PADs have one integration issue.
When CMD/DATA lines direction change from output to input, uSDHC
controller begin sampling, the integration issue will make input
enable signal from uSDHC propagated to the PAD with a long delay,
thus the new input value on the pad comes to uSDHC lately. The
uSDHC sampled the old input value and the sampling result is wrong.

Workaround:
Set uSDHC CMD/DATA PADs iomux register SION bit to 1, then PADs will
propagate input to uSDHC with no delay, so correct value is sampled.

This issue will wrongly trigger the start bit when sample the USDHC
command response, cause the USDHC trigger command CRC/index/endbit
error, which will finally impact the tuning pass window, espically
will impact the standard tuning logic, and can't find a correct delay
cell to get the best timing.

This follows changes made for i.MX93 EVK with commit bb89601282fc ("arm64:
dts: imx93-11x11-evk: set SION for cmd and data pad of USDHC")

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxca: add GPIO line names
Markus Niebel [Mon, 19 Aug 2024 12:03:27 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxca: add GPIO line names

Provide GPIO line names for userspace usage, e.g. libgpiod.

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxca: Add ethernet aliases
Alexander Stein [Mon, 19 Aug 2024 12:03:26 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxca: Add ethernet aliases

They are used by systemd to rename network interfaces to predictable
interface names, e.g. end0 & end1.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxca: add missing pad configurations
Alexander Stein [Mon, 19 Aug 2024 12:03:25 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxca: add missing pad configurations

- add missing (and currently unused) pad groups
- assign muxed GPIO pads for X1 to gpio2 node

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxca: improve pad configuration
Markus Niebel [Mon, 19 Aug 2024 12:03:24 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxca: improve pad configuration

- disable PU/PD if already done with external resistors
- do not configure Schmitt Trigger for outputs
- do not configure DSE / FSEL for inputs

Pad config changes suggested by hardware team.

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxca: add RTC / temp sensor IRQ
Markus Niebel [Mon, 19 Aug 2024 12:03:23 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxca: add RTC / temp sensor IRQ

The IRQ lines from devices on SoM are connected to CPU GPIO on
this mainboard.

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: add GPIO line names
Markus Niebel [Mon, 19 Aug 2024 12:03:22 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: add GPIO line names

Provide GPIO line names for userspace usage, e.g. libgpiod.

While at it, correct the line-name property for ENET[1,2]_INT# gpio hog
and LCD_BLT_EN.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: Add ethernet aliases
Alexander Stein [Mon, 19 Aug 2024 12:03:21 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: Add ethernet aliases

They are used by systemd to rename network interfaces to predictable
interface names, e.g. end0 & end1.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: add missing pad configurations
Alexander Stein [Mon, 19 Aug 2024 12:03:20 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: add missing pad configurations

- add missing (and currently unused) pad groups
- assign muxed GPIO pads for X1 to gpio2 node

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: add irq for temp sensor
Markus Niebel [Mon, 19 Aug 2024 12:03:19 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: add irq for temp sensor

This adds muxing and configuration of the irq output of the temp
sensor on TQMa93xx that is connected to a GPIO line on MBa93xxLA

While at it, add comment for RTC_EVENT for pcf85063 since the IRQ line
of both devices on SoM are routed to CPU GPIO on MBa93xxLA.

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: enable LPSPI6 interface
Alexander Stein [Mon, 19 Aug 2024 12:03:18 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: enable LPSPI6 interface

LPSPI6 features a NAFE13388 analog frontend.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352-mba93xxla: improve pad configuration
Markus Niebel [Mon, 19 Aug 2024 12:03:17 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352-mba93xxla: improve pad configuration

- disable PU/PD if already done with external resistors
- do not configure Schmitt Trigger for outputs
- do not configure DSE / FSEL for inputs

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>
2 weeks agoarm64: dts: freescale: imx93-tqma9352: add eMMC regulators
Alexander Stein [Mon, 19 Aug 2024 12:03:16 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352: add eMMC regulators

With PMIC node in place, add the correct regulators for eMMC.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: freescale: imx93-tqma9352: Add PMIC node
Alexander Stein [Mon, 19 Aug 2024 12:03:15 +0000 (14:03 +0200)]
arm64: dts: freescale: imx93-tqma9352: Add PMIC node

With driver support in place add the PMIC node and remove the
fixed-regulators for rails provided by PMIC.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mm: Update Data Modul i.MX8M Mini eDM SBC DT to rev.A01
Marek Vasut [Sun, 18 Aug 2024 20:29:52 +0000 (22:29 +0200)]
arm64: dts: imx8mm: Update Data Modul i.MX8M Mini eDM SBC DT to rev.A01

Update the DT to match newest Data Modul i.MX8M Mini eDM SBC rev.A01
board which implements PHY changes. Keep some of the rev.900 PHY node
in the DT so that a DTO can be used to support rev.900 boards easily.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp: Enable HDMI to Data Modul i.MX8M Plus eDM SBC
Marek Vasut [Sun, 18 Aug 2024 20:27:10 +0000 (22:27 +0200)]
arm64: dts: imx8mp: Enable HDMI to Data Modul i.MX8M Plus eDM SBC

Enable HDMI support on Data Modul i.MX8M Plus eDM SBC.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp: Add DT nodes for the two ISPs
Paul Elder [Wed, 14 Aug 2024 16:14:51 +0000 (19:14 +0300)]
arm64: dts: imx8mp: Add DT nodes for the two ISPs

The ISP supports both CSI and parallel interfaces, where port 0
corresponds to the former and port 1 corresponds to the latter. Since
the i.MX8MP's ISPs are connected by the parallel interface to the CSI
receiver, set them both to port 1.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mm-phygate-tauri-l: add rtc aux-voltage-chargeable
Yannic Moog [Wed, 14 Aug 2024 09:26:38 +0000 (11:26 +0200)]
arm64: dts: imx8mm-phygate-tauri-l: add rtc aux-voltage-chargeable

phygate-tauri-l has a chargable capacitor populated, rtc supports
charging it. Add property indicating this.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mm-phyboard-polis: add rtc aux-voltage-chargeable
Yannic Moog [Wed, 14 Aug 2024 09:26:37 +0000 (11:26 +0200)]
arm64: dts: imx8mm-phyboard-polis: add rtc aux-voltage-chargeable

phyboard-polis has a chargable capacitor populated, rtc supports
charging it. Add property indicating this.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux: add rtc aux-voltage-chargeable
Yannic Moog [Wed, 14 Aug 2024 09:26:36 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phyboard-pollux: add rtc aux-voltage-chargeable

phyboard-pollux has a chargable capacitor populated, rtc supports
charging it. Add property indicating this.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux: Add usb3_phy1 regulator reference
Yashwanth Varakala [Wed, 14 Aug 2024 09:26:13 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phyboard-pollux: Add usb3_phy1 regulator reference

Add VCC_5V_SW regulator reference to the usb1 phy node to reflect the
schematic. This also silences the fallback dummy regulator warning.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux: Add VCC_5V_SW regulator
Yashwanth Varakala [Wed, 14 Aug 2024 09:26:12 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phyboard-pollux: Add VCC_5V_SW regulator

Add fixed  regulator VCC_5V_SW based on the phyBOARD-Pollux schematics
to reflect the connectivity on the phyBOARD-Pollux-i.MX8MP.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux: Assign regulator to EEPROM node
Yashwanth Varakala [Wed, 14 Aug 2024 09:26:11 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phyboard-pollux: Assign regulator to EEPROM node

Add VCC_3V3_SW regulator reference to the EEPROM node to reflect the
schematic. This also silences the fallback dummy regulator warning.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phyboard-pollux: Add SD-Card vqmmc supply
Teresa Remmet [Wed, 14 Aug 2024 09:26:10 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phyboard-pollux: Add SD-Card vqmmc supply

Add SD-Card property for the bus IO power from the PMIC.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phycore: Assign regulator to EEPROM node
Yashwanth Varakala [Wed, 14 Aug 2024 09:26:09 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phycore: Assign regulator to EEPROM node

Add VDD_IO regulator reference to the EEPROM node to reflect the
schematic. This also silences the fallback dummy regulator warning.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp-phycore: Add VDD_IO regulator
Yashwanth Varakala [Wed, 14 Aug 2024 09:26:08 +0000 (11:26 +0200)]
arm64: dts: imx8mp-phycore: Add VDD_IO regulator

Add fixed regulator VDD_IO (3.3v) based on the SoM schematics to reflect
the connectivity on the phyCORE-i.MX8MP.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: imx8mp: Clarify csis clock frequency
Laurent Pinchart [Tue, 13 Aug 2024 23:40:10 +0000 (02:40 +0300)]
arm64: dts: imx8mp: Clarify csis clock frequency

The DT nodes for the MIPI CSI-2 receivers (MIPI_CSI) configure the
CAM1_PIX and CAM2_PIX clocks to 266 MHz through the assigned-clock-rates
property, and report that frequency in the clock-frequency property. The
i.MX8MP reference manual and datasheet list 266 MHz as a nominal
frequency when using both CSI-2 receivers, so all looks normal.

In reality, the clock is actually set to 250 MHz, as the selected
parent, IMX8MP_SYS_PLL2_1000M, has a 1/4 output that is selected as the
closest frequency to 266 MHz. This doesn't break operation of the
device, but is clearly misleading.

Clarify the clock configuration by selecting the IMX8MP_SYS_PLL2_250M
parent, dropping the redundant assigned-clock-rates, and setting
clock-frequency to 250 MHz. This doesn't cause any functional change.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2 weeks agoarm64: dts: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board
Frieder Schrempf [Tue, 13 Aug 2024 08:49:05 +0000 (10:49 +0200)]
arm64: dts: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board

This adds support for the Kontron Electronics OSM-S i.MX93 SoM
and the matching baseboard BL i.MX93.

The SoM hardware complies to the Open Standard Module (OSM) 1.1
specification, size S (https://sget.org/standards/osm).

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 weeks agoarm64: dts: mba8mx: Add Ethernet PHY IRQ support
Alexander Stein [Mon, 12 Aug 2024 13:06:36 +0000 (15:06 +0200)]
arm64: dts: mba8mx: Add Ethernet PHY IRQ support

The interrupt pin of the PHY is connected to the GPIO expander, configure
it accordingly.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 weeks agoarm64: dts: layerscape: remove unused num-viewport
Animesh Agarwal [Sat, 10 Aug 2024 06:18:06 +0000 (11:48 +0530)]
arm64: dts: layerscape: remove unused num-viewport

Remove unused property num-viewport to fix dtbs warnings.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)
    from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1012a-oxalis.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)
    from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#

Cc: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: freescale: imx8mp-phyboard-pollux: Add and enable TPM
Benjamin Hahn [Fri, 9 Aug 2024 09:02:31 +0000 (11:02 +0200)]
arm64: dts: freescale: imx8mp-phyboard-pollux: Add and enable TPM

Add support for TPM for phyBOARD Pollux.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93: add lpi2c1 and st lsm6dso node
Clark Wang [Thu, 8 Aug 2024 16:21:57 +0000 (12:21 -0400)]
arm64: dts: imx93: add lpi2c1 and st lsm6dso node

The i.MX93 11x11 EVK has a ST LSM6DSO connected to I2C, which a is 6-axis
IMU (inertial measurement unit = accelerometer & gyroscope). So add the
missing parts to the DTS file.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
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>
5 weeks agoarm64: dts: imx93-tqma9352-mba93: Fix USB hub node name
Fabio Estevam [Thu, 8 Aug 2024 12:32:06 +0000 (09:32 -0300)]
arm64: dts: imx93-tqma9352-mba93: Fix USB hub node name

According to microchip,usb2514.yaml, the node name must contain
'usb-hub'.

Change it accordingly to fix the following dt-schema warning:

hub@1: $nodename:0: 'hub@1' does not match '^usb(@.*)?'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mm/n-beacon-kit: Fix the order of ADV7535 reg entries
Fabio Estevam [Thu, 8 Aug 2024 12:22:07 +0000 (09:22 -0300)]
arm64: dts: imx8mm/n-beacon-kit: Fix the order of ADV7535 reg entries

According to adi,adv7533.yaml, the order for the reg and reg-names entries
must be: main, edid, cec, and packet.

Fix it accordingly to remove the following dt-schema warnings:

hdmi@3d: reg-names:1: 'edid' was expected
hdmi@3d: reg-names:2: 'cec' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mp-venice-gw74xx-imx219: remove compatible in overlay file
Frank Li [Wed, 7 Aug 2024 14:52:08 +0000 (10:52 -0400)]
arm64: dts: imx8mp-venice-gw74xx-imx219: remove compatible in overlay file

Remove compatible string in overlay file to fix below warning:
gw,imx8mp-gw74xx' is not one of ['fsl,ls1043a-rdb', 'fsl,ls1043a-qds']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mp-data-modul-edm-sbc: remove #clock-cells for sai3
Frank Li [Wed, 7 Aug 2024 14:52:07 +0000 (10:52 -0400)]
arm64: dts: imx8mp-data-modul-edm-sbc: remove #clock-cells for sai3

Remove #clock-cells for sai3 because sai3 is not clock controller to fix
below warning:
/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dtb: sai@30c30000: Unevaluated properties are not allowed ('#clock-cells' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mm-venice-gw7901: add #address(size)-cells for gsc@20
Frank Li [Wed, 7 Aug 2024 14:52:06 +0000 (10:52 -0400)]
arm64: dts: imx8mm-venice-gw7901: add #address(size)-cells for gsc@20

Add #address-cells and #size-cells for gsc@20 to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dtb: gsc@20: '#address-cells' is a required propert

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: fsl-ls208xa: move reboot node under syscon
Frank Li [Wed, 7 Aug 2024 14:52:05 +0000 (10:52 -0400)]
arm64: dts: fsl-ls208xa: move reboot node under syscon

Move reboot node under syscon and change compatible string to
fsl,ls1028a-rstcr because it is exactly same as ls1028a.

Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dtb:
 /syscon@1e60000: failed to match any schema with compatible: ['fsl,ls2080a-rstcr', 'syscon']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: fsl-ls1028a: remove undocumented 'little-endian' for dspi node
Frank Li [Wed, 7 Aug 2024 14:52:04 +0000 (10:52 -0400)]
arm64: dts: fsl-ls1028a: remove undocumented 'little-endian' for dspi node

According to binding doc http://devicetree.org/schemas/spi/fsl,dspi.yaml
and driver drivers/spi/spi-fsl-dspi.c, default is little-endian, should
use big-endian for big-endian system. Remove 'little-endian' to fix below
warning:

arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dtb: spi@2100000: Unevaluated properties are not allowed ('little-endian' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mp-verdin: add HDMI audio support
João Paulo Gonçalves [Wed, 7 Aug 2024 13:54:20 +0000 (10:54 -0300)]
arm64: dts: imx8mp-verdin: add HDMI audio support

Add native HDMI audio to Verdin iMX8MP and all its carriers boards.

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx95: add flexcan[1..5] support
Haibo Chen [Mon, 5 Aug 2024 20:14:16 +0000 (16:14 -0400)]
arm64: dts: imx95: add flexcan[1..5] support

Add the flexcan[1..5] nodes for imx95.

Reviewed-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx95: add DDR Perf Monitor node
Xu Yang [Mon, 5 Aug 2024 20:14:15 +0000 (16:14 -0400)]
arm64: dts: imx95: add DDR Perf Monitor node

Add DDR Perf Monitor for i.MX95.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
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>
5 weeks agoarm64: dts: fsl,ls2085a: remove fsl,ls2085a-pcie
Frank Li [Mon, 29 Jul 2024 18:59:32 +0000 (14:59 -0400)]
arm64: dts: fsl,ls2085a: remove fsl,ls2085a-pcie

fsl,ls2080a-pcie actual is the same as fsl,ls2085a-pcie. Only keep one is
enough, so remove "fsl,ls2085a-pcie" to fix below warnings.

arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dtb: pcie@3400000: compatible: ['fsl,ls2080a-pcie', 'fsl,ls2085a-pcie'] is too long
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>
5 weeks agoarm64: dts: layerscape: remove undocumented fsl,ls-pcie-ep
Frank Li [Mon, 29 Jul 2024 18:59:31 +0000 (14:59 -0400)]
arm64: dts: layerscape: remove undocumented fsl,ls-pcie-ep

Remove undocumented compatible string fsl,ls-pcie-ep to fix below
CHECK_DTBS warning.
arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dtb: pcie_ep@3400000: compatible: ['fsl,ls1046a-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>
5 weeks agoarm64: dts: fsl-ls1046a: remove big-endian at memory-controller
Frank Li [Mon, 29 Jul 2024 18:59:30 +0000 (14:59 -0400)]
arm64: dts: fsl-ls1046a: remove big-endian at memory-controller

According to binding doc fsl,ddr.yaml, big-endian is default setting. So
remove it to fix below CHECK_DTBS warnings.

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: memory-controller@1080000: 'big-endian' does not match any of the regexes: 'pinctrl-[0-9]+'
        from schema $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ddr.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: layerscape: remove big-endian for mmc nodes
Frank Li [Mon, 29 Jul 2024 18:59:29 +0000 (14:59 -0400)]
arm64: dts: layerscape: remove big-endian for mmc nodes

According to binding doc fsl,esdhc.yaml, the default endian mode is
big-endian. So remove big-endian property to fix below CHECK_DTBS warnings:

arm64/boot/dts/freescale/fsl-ls1012a-qds.dtb: mmc@1560000: Unevaluated properties are not allowed ('big-endian' was unexpected)
        from schema $id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: layerscape: add msi-cell = <1> for gic its
Frank Li [Mon, 29 Jul 2024 18:59:28 +0000 (14:59 -0400)]
arm64: dts: layerscape: add msi-cell = <1> for gic its

Add msi-cell = <1> for GIC ITS. msi-parent have to be kept because it is
checked by U-Boot due to historical reasons to fix up msi-map.

Fix below CHECK_DTBS warning:
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dtb: interrupt-controller@6000000: msi-controller@6020000: '#msi-cells' is a required property
        from schema $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: fsl-ls1028a: add fsl,ls1028-reset for syscon
Frank Li [Mon, 29 Jul 2024 18:59:27 +0000 (14:59 -0400)]
arm64: dts: fsl-ls1028a: add fsl,ls1028-reset for syscon

Add platform specific compatiable string 'fsl,ls1028-reset' for syscon and
move reboot node under reset syscon node to fix below warning.

syscon@1e60000: compatible: 'anyOf' conditional failed, one must be fixed:
        ['syscon'] is too short
        'syscon' is not one of ['al,alpine-sysfabric-service', ...

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: fsl-ls1043a: change uqe to uqe-bus and remove #address-cells
Frank Li [Mon, 29 Jul 2024 18:59:26 +0000 (14:59 -0400)]
arm64: dts: fsl-ls1043a: change uqe to uqe-bus and remove #address-cells

Change node name 'uqe' to 'uqe-bus'.
Remove #address-cells and #size-cells for nodes, which have not child node.

Fix below CHECK_DTBS warning:
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: uqe@2400000: si@700: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: uqe@2400000: siram@1000: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: uqe@2400000: $nodename:0: 'uqe@2400000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: uqe@2400000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'qeic@80', 'ucc@2000', 'ucc@2200' were unexpected)
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: qeic@80: '#address-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ic.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: si@700: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-si.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: siram@1000: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-siram.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: layerscape: use common pcs-handle property
Frank Li [Mon, 29 Jul 2024 18:59:25 +0000 (14:59 -0400)]
arm64: dts: layerscape: use common pcs-handle property

pcsphy-handle already deprecated according to binding fsl,fman-dtsec.yaml.
Add new common pcs-handle at dts and fix below CHECK_DTBS warning.

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: fman@1a00000: ethernet@e0000: 'pcs-handle' is a dependency of 'pcs-handle-names'
        from schema $id: http://devicetree.org/schemas/net/fsl,fman.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: layerscape: rename rcpm as wakeup-control from power-control
Frank Li [Mon, 29 Jul 2024 18:59:24 +0000 (14:59 -0400)]
arm64: dts: layerscape: rename rcpm as wakeup-control from power-control

Invoke power-domain.yaml if node name as 'power-control'.

Rcpm actually are not power domain controller. It just control wakeup
capability. So rename it as wakeup-control. Fix below CHECK_DTBS warning.

power-controller@1ee2140: '#power-domain-cells' is a required property
        from schema $id: http://devicetree.org/schemas/power/power-domain.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: layerscape: rename aux-bus to bus
Frank Li [Mon, 29 Jul 2024 18:59:23 +0000 (14:59 -0400)]
arm64: dts: layerscape: rename aux-bus to bus

The node name 'aux-bus' is special word. It invokes dp-aux-bus.yaml binding
check. Simple change to 'bus' to fix below warning.

aux-bus: '#address-cells', '#size-cells', 'compatible', 'dma-ranges', 'ranges', 'sata@3200000', 'usb@2f00000', 'usb@3000000', 'usb@3100000' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/dp-aux-bus.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mp-verdin: drop limit to sdio wi-fi frequency to 100 mhz
Marcel Ziswiler [Mon, 5 Aug 2024 17:48:14 +0000 (14:48 -0300)]
arm64: dts: imx8mp-verdin: drop limit to sdio wi-fi frequency to 100 mhz

SDIO frequency was limited to workaround some instabilities, however it
turned out that the instability had nothing to do with the speed but was
because of an issue with the USDHC IP that was fixed in
commit 52e4c32baed2 ("mmc: sdhci-esdhc-imx: only enable DAT[0] and CMD line
auto tuning for SDIO device").

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93: add cache info
Peng Fan [Thu, 1 Aug 2024 08:11:11 +0000 (16:11 +0800)]
arm64: dts: imx93: add cache info

i.MX93 features two Cortex-A55 cores with per core L1 Instruction
cache size 32KB, L1 data cache size 32KB, per core L2 cache 64KB, and
unified 256KB L3 cache.

Add the cache info to remove cacheinfo warnings at boot:
"cacheinfo: Unable to detect cache hierarchy for CPU 0"

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8-ss-dma: enable dma support for lpspi
Clark Wang [Wed, 31 Jul 2024 06:09:58 +0000 (08:09 +0200)]
arm64: dts: imx8-ss-dma: enable dma support for lpspi

Add DMA configurations for LPSPI nodes on i.MX8QX/QM/DXL.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93-11x11-evk: Add audio XCVR sound card
Shengjiu Wang [Mon, 29 Jul 2024 01:39:59 +0000 (09:39 +0800)]
arm64: dts: imx93-11x11-evk: Add audio XCVR sound card

Add audio XCVR sound card, which supports SPDIF TX & RX only,
eARC RX, ARC RX are not supported.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93-11x11-evk: Add PDM microphone sound card support
Shengjiu Wang [Mon, 29 Jul 2024 01:39:58 +0000 (09:39 +0800)]
arm64: dts: imx93-11x11-evk: Add PDM microphone sound card support

Add PDM micphone sound card support, configure the pinmux.

This sound card supports recording sound from PDM microphone
and convert the PDM format data to PCM data.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93-11x11-evk: add bt-sco sound card support
Shengjiu Wang [Mon, 29 Jul 2024 01:39:57 +0000 (09:39 +0800)]
arm64: dts: imx93-11x11-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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx93: Add #sound-dai-cells property
Shengjiu Wang [Mon, 29 Jul 2024 01:39:56 +0000 (09:39 +0800)]
arm64: dts: imx93: Add #sound-dai-cells property

Add #sound-dai-cells property for audio cpu dai modules
'#sound-dai-cells' is required to properly interpret
the list of DAI specified in the 'sound-dai' property,

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mm-emtop-baseboard: Add Ethernet Support
Tarang Raval [Thu, 25 Jul 2024 12:25:22 +0000 (17:55 +0530)]
arm64: dts: imx8mm-emtop-baseboard: Add Ethernet Support

Add ethernet support for emtop imx8mm baseboard

Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: s32g: add the pinctrl node
Andrei Stefanescu [Wed, 24 Jul 2024 13:24:15 +0000 (16:24 +0300)]
arm64: dts: s32g: add the pinctrl node

Add the pinctrl node in the device tree in order to enable the
S32G2/S32G3 pinctrl driver to probe.

Signed-off-by: Andrei Stefanescu <andrei.stefanescu@oss.nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: freescale: imx93-tqma9352: improve pad configuration
Markus Niebel [Wed, 24 Jul 2024 12:58:49 +0000 (14:58 +0200)]
arm64: dts: freescale: imx93-tqma9352: improve pad configuration

- disable PU/PD if already done with external resistors
- do not configure Schmitt Trigger for outputs
- do not configure DSE / FSEL for inputs

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>
5 weeks agoarm64: dts: imx8mm-tqma8mqml-mba8mx: Increase frequency for i2c busses
Alexander Stein [Tue, 23 Jul 2024 11:01:46 +0000 (13:01 +0200)]
arm64: dts: imx8mm-tqma8mqml-mba8mx: Increase frequency for i2c busses

100kHz is only needed for the USB Hub TUSB8041. But as this device is not
connected by default, the speed can be increased.
The other busses don't have any 100kHz only devices attached.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8-ss-dma: Fix adc0 closing brace location
Alexander Stein [Wed, 17 Jul 2024 13:50:26 +0000 (15:50 +0200)]
arm64: dts: imx8-ss-dma: Fix adc0 closing brace location

Align the closing brace to opening line.

Fixes: 1db044b25d2e ("arm64: dts: imx8dxl: add adc0 support")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8-ss-dma: add #address-cells and #size-cells to LPI2C nodes
Alexander Stein [Wed, 17 Jul 2024 13:50:25 +0000 (15:50 +0200)]
arm64: dts: imx8-ss-dma: add #address-cells and #size-cells to LPI2C nodes

These properties are required by i2c-controller.yaml bindings.
Add them on SoC level, rather than on board level.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8: remove non-existent DACs
Conor Dooley [Wed, 17 Jul 2024 09:37:53 +0000 (10:37 +0100)]
arm64: dts: imx8: remove non-existent DACs

Neither the imx8dxl-evk or imx8qm-mek have a Rohm DAC on them as far as
I can tell from online documentation, and they certainly do not have a
dh2228fv, as this device does not actually exist! Remove the DAC nodes
from the devicetrees as it is not acceptable to pretend to have a device
on a board in order to bind the spidev driver in Linux.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card
Andrej Picej [Tue, 16 Jul 2024 08:51:14 +0000 (10:51 +0200)]
arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card

Micro SD cards can't be physically write-protected like full-sized
cards. Disable this feature in device-tree to get rid of the kernel
warning:

"host does not support reading read-only switch, assuming write-enable"

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: freescale: imx8mp-phycore: Add no-eth overlay
Benjamin Hahn [Wed, 10 Jul 2024 09:48:54 +0000 (11:48 +0200)]
arm64: dts: freescale: imx8mp-phycore: Add no-eth overlay

Add a devicetree overlay to disable ethernet for boards where it is not
populated.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
5 weeks agoarm64: dts: s32g: Disable usdhc write-protect
Ciprian Costea [Thu, 4 Jul 2024 13:56:53 +0000 (16:56 +0300)]
arm64: dts: s32g: Disable usdhc write-protect

NXP S32G2/S32G3 SoC based platforms do not
use a pin for SD-Card write protection used by
the uSDHC controller.

Hence, adding 'disable-wp' usdhc device-tree property in order to fix
observed warnings on SD boot as the following:
"host does not support reading read-only switch, assuming write-enable"

Signed-off-by: Ciprian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 weeks agoarm64: dts: imx8mm-venice-gw72xx-0x: Remove compatible from dtso
Fabio Estevam [Mon, 1 Jul 2024 23:12:29 +0000 (20:12 -0300)]
arm64: dts: imx8mm-venice-gw72xx-0x: Remove compatible from dtso

There is no need to describe the compatible string inside
a dtso file.

dt-schema produces super verbose warnings about that.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Parthiban Nallathambi <parthiban@linumiz.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 weeks agoarm64: dts: imx8mm-phygate-tauri-l: Remove compatible from dtso
Fabio Estevam [Mon, 1 Jul 2024 23:12:28 +0000 (20:12 -0300)]
arm64: dts: imx8mm-phygate-tauri-l: Remove compatible from dtso

There is no need to describe the compatible string inside
a dtso file.

dt-schema produces super verbose warnings about that.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Parthiban Nallathambi <parthiban@linumiz.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 weeks agoarm64: dts: imx95-19x19-evk: add pwm fan control
Frank Li [Mon, 1 Jul 2024 20:07:28 +0000 (16:07 -0400)]
arm64: dts: imx95-19x19-evk: add pwm fan control

Add pwm fan and overwrite default thermal nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 weeks agoarm64: dts: imx95: add thermal_zone label
Frank Li [Mon, 1 Jul 2024 20:07:27 +0000 (16:07 -0400)]
arm64: dts: imx95: add thermal_zone label

Add thermal_zone label because it may be overwrite by board level dts file.

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>