linux.git
4 years agoMLK-23190-3 ARM64: dts: imx8mp: add ecspi2 support
Clark Wang [Fri, 3 Jan 2020 08:07:18 +0000 (16:07 +0800)]
MLK-23190-3 ARM64: dts: imx8mp: add ecspi2 support

Add ecspi2 node to support ECSPI on i.MX8mp.

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoarm64: dts: imx8mp: root: delete busfreq node
Peng Fan [Thu, 17 Sep 2020 08:32:26 +0000 (16:32 +0800)]
arm64: dts: imx8mp: root: delete busfreq node

Delete busfreq to avoid error.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23306 ARM64: dts: imx8mp-evk: add synaptic_dsx touch support
Haibo Chen [Wed, 12 Feb 2020 03:16:38 +0000 (11:16 +0800)]
MLK-23306 ARM64: dts: imx8mp-evk: add synaptic_dsx touch support

Add the touch support on MIPI_DSI screen.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24014 arm: dts: only enable pcie in the pcie dts file
Richard Zhu [Thu, 17 Sep 2020 06:16:59 +0000 (14:16 +0800)]
MLK-24014 arm: dts: only enable pcie in the pcie dts file

Since iMX6Q/DL PCIe have the PM limitation (ERR005723).
Only enable PCIe in the xxx-pcie.dts files.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-23669 arm64: dts: imx8qm: add pcieax2pciebx1 usecase
Richard Zhu [Tue, 24 Mar 2020 07:43:19 +0000 (15:43 +0800)]
MLK-23669 arm64: dts: imx8qm: add pcieax2pciebx1 usecase

Different HSIO usecase may be used by customers.
- add PCIEAx2PCIEBx1 usecase for example.
Only verified PCIA one lane refer to the iMX8QM MEK and Baseboard
hardware limitation.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-23960-3 arm64: dts: imx8qm-dom0: fix passthrough node
Peng Fan [Sat, 9 May 2020 10:03:13 +0000 (18:03 +0800)]
MLK-23960-3 arm64: dts: imx8qm-dom0: fix passthrough node

We need passthrough sdhc0_lpcg and enlarge irqsteer_lvds0
to simplify dom0 dts and make domu could access the address space

Acked-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23956-4 arm64: dts: imx8qxp: fix inmate vpci interrupt
Peng Fan [Sat, 9 May 2020 08:10:33 +0000 (16:10 +0800)]
MLK-23956-4 arm64: dts: imx8qxp: fix inmate vpci interrupt

Fix inmate vpci interrupt, we need four interrupts

Acked-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23956-3 arm64: dts: imx8mn: fix vpci interrupt
Peng Fan [Sat, 9 May 2020 08:07:08 +0000 (16:07 +0800)]
MLK-23956-3 arm64: dts: imx8mn: fix vpci interrupt

Fix inmate vpci interrupt, we need four interrupts.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23956-2 arm64: dts: imx8qm-inamte: update virtual PCI interrupt
Peng Fan [Fri, 28 Feb 2020 09:38:13 +0000 (17:38 +0800)]
MLK-23956-2 arm64: dts: imx8qm-inamte: update virtual PCI interrupt

When moving to new ivshmem in jailhouse, INTx requires physical
continus interrupt, so we choose 4 interrupts not used by any hardware.

Acked-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23956-1 arm64: dts: imx8mp-evk-inmate: fix pci interrupt
Peng Fan [Fri, 28 Feb 2020 01:35:16 +0000 (09:35 +0800)]
MLK-23956-1 arm64: dts: imx8mp-evk-inmate: fix pci interrupt

Let's use SPI 154-157 for PCI INTx interrupt which is not used
by any hardware.

Acked-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23954-1 arm64: dts: add i.MX8MN LPDDR4 EVK root/inmate dts
Peng Fan [Sat, 9 May 2020 06:31:51 +0000 (14:31 +0800)]
MLK-23954-1 arm64: dts: add i.MX8MN LPDDR4 EVK root/inmate dts

Add root/inmate dts.
They are almost same as i.MX8MN DDR4 jailhouse dts.

Acked-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23373-2 ARM64: dts: imx8mp-evk-root: fix jailhouse root dts
Peng Fan [Mon, 24 Feb 2020 07:33:40 +0000 (15:33 +0800)]
MLK-23373-2 ARM64: dts: imx8mp-evk-root: fix jailhouse root dts

Fix jailhouse root dts to make it boot again.

Remove gpc
Disable cpuidle
Fix pinctrl
Add IMX8MP_CLK_HSIO_ROOT follow imx8mp-evk.dts

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoMLK-23168 arm64: imx8mp: jailhouse dual linux
Peng Fan [Tue, 24 Dec 2019 07:30:31 +0000 (15:30 +0800)]
MLK-23168 arm64: imx8mp: jailhouse dual linux

Add jailhouse dual linux dts. The 2nd linux use SDHC3 and UART4.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-24712 arm64: dts: imx8: use rpmsg dts in ep enable dts
Richard Zhu [Wed, 2 Sep 2020 23:47:16 +0000 (07:47 +0800)]
MLK-24712 arm64: dts: imx8: use rpmsg dts in ep enable dts

As linux_m4 flash is default boot flash for iMX8QXP/iMX8QM/iMX8DXL,
enabble PCIe EP based on default boot RPMSG DTS file.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoRevert "LF-701 arm: dts: imx6qp-sabreauto: add sata support"
Richard Zhu [Wed, 16 Sep 2020 07:16:07 +0000 (15:16 +0800)]
Revert "LF-701 arm: dts: imx6qp-sabreauto: add sata support"

The SATA enable on iMX6QP sabreauto board had been upstreamed.
The original local patch is not needed anymore.

This reverts commit f594d01131d2abb91610ba73a2ba7139fdda2e4a.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
4 years agoMLK-23418-6 arch: arm64: imx8dxl-ss-ddr: enable db perf clock
Joakim Zhang [Wed, 16 Sep 2020 15:13:01 +0000 (23:13 +0800)]
MLK-23418-6 arch: arm64: imx8dxl-ss-ddr: enable db perf clock

Enable db perf clock since db perf power domain has added.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK-24374-2 arm64: dts: imx8qm: Move USBH1 to imx8qm-ss-conn
Fabio Estevam [Tue, 14 Jul 2020 17:42:43 +0000 (14:42 -0300)]
MLK-24374-2 arm64: dts: imx8qm: Move USBH1 to imx8qm-ss-conn

Commit ee96e9f815d6 ("MLK-24368-1 arm64: dts: imx8qm: Add support for USBH1")
caused i.MX8DXL USB PHYs to not go into low power mode via runtime suspend.

Fix it by moving the usbh1, usbmisc2 and usbphynop2 to the specific
imx8qm-ss-conn.dtsi file.

While at it, change the usbphynop2 status as disabled.

Reviewed-by: Jun Li <jun.li@nxp.com>
Tested-by: Sebastien Haezebrouck <sebastien.haezebrouck@nxp.com>
Reported-by: Sebastien Haezebrouck <sebastien.haezebrouck@nxp.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
4 years agoMLK-24368-1 arm64: dts: imx8qm: Add support for USBH1
Alifer Moraes [Wed, 1 Jul 2020 22:46:34 +0000 (19:46 -0300)]
MLK-24368-1 arm64: dts: imx8qm: Add support for USBH1

Add support for USBH1 on imx8qm, USBH1 is a HSIC controller

Reviewed-by: Jun Li <jun.li@nxp.com>
CC: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Alifer Moraes <alifer.moraes@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
4 years agoMLK-24785 ARM: dts: imx7ulp-evk: update USB PHY parameter D_CAL
Peter Chen [Tue, 15 Sep 2020 08:57:35 +0000 (16:57 +0800)]
MLK-24785 ARM: dts: imx7ulp-evk: update USB PHY parameter D_CAL

According to HW test results, it needs to use 0x5 for D_CAL value
at imx7ulp-evk board for both B1 and B2 chip.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
4 years agoMLK-24171-1 arm64: dts: imx8mp: verify the pcie pll sys ref clock
Richard Zhu [Tue, 15 Sep 2020 07:37:44 +0000 (15:37 +0800)]
MLK-24171-1 arm64: dts: imx8mp: verify the pcie pll sys ref clock

Verify the PCIe PLL_SYS reference clock source on EVK board.
The external OSC clock is used as PCIe REF clock source in default.
NOTE: Change the ext_osc of pcie/pcie_phy to '0' when enable SYS_PLL
clock mode.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-10 arm: dts: add imx6 pcie ep support
Richard Zhu [Tue, 15 Sep 2020 06:52:40 +0000 (14:52 +0800)]
MLK-24012-10 arm: dts: add imx6 pcie ep support

Add the PCIe EP mode on iMX6QP/Q/DL sabresd platforms.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-09 arm: dts: add imx7d pcie ep support
Richard Zhu [Tue, 15 Sep 2020 06:46:49 +0000 (14:46 +0800)]
MLK-24012-09 arm: dts: add imx7d pcie ep support

Add the iMX7D PCIe EP mode, and verify the EP mode on SDB board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-08 arm: dts: add imx6sx pcie ep support
Richard Zhu [Tue, 12 May 2020 06:50:00 +0000 (14:50 +0800)]
MLK-24012-08 arm: dts: add imx6sx pcie ep support

Add the iMX6SX PCIe EP mode, and verify the EP mode on SDB board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-07 arm64: dts: add imx8dxl pcie ep support
Richard Zhu [Wed, 16 Sep 2020 01:45:54 +0000 (09:45 +0800)]
MLK-24012-07 arm64: dts: add imx8dxl pcie ep support

Add the iMX8DXL PCIe EP support and verified on EVK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-06 arm64: dts: add imx8m pcie ep support
Richard Zhu [Mon, 14 Sep 2020 06:20:13 +0000 (14:20 +0800)]
MLK-24012-06 arm64: dts: add imx8m pcie ep support

Add the PCIe EP mode on iMX8MQ/MM/MP platforms.
And enable the EP mode on EVK boards.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-05 arm64: dts: add imx8qm pciea ep support
Richard Zhu [Mon, 14 Sep 2020 06:05:32 +0000 (14:05 +0800)]
MLK-24012-05 arm64: dts: add imx8qm pciea ep support

Add the iMX8QM PCIEA EP support and verified on MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24012-04 arm64: dts: add imx8qxp pcie ep support
Richard Zhu [Mon, 14 Sep 2020 05:46:24 +0000 (13:46 +0800)]
MLK-24012-04 arm64: dts: add imx8qxp pcie ep support

Add the iMX8QXP PCIe EP mode, and verified on MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-2342 arm64: dts: imx8dxl: enable pcie
Richard Zhu [Wed, 16 Sep 2020 00:41:23 +0000 (08:41 +0800)]
LF-2342 arm64: dts: imx8dxl: enable pcie

Enable PCIe on iMX8DXL EVK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
4 years agoMLK-23573 arm64: dts: imx8qm/qxp-val: Enable CAN
Joakim Zhang [Wed, 11 Mar 2020 05:04:31 +0000 (13:04 +0800)]
MLK-23573 arm64: dts: imx8qm/qxp-val: Enable CAN

Enable CAN on i.MX8QM/QXP validation board for test team requirement.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK-23363 arch: arm64: dts: imx8dxl: enable FlexCAN
Joakim Zhang [Tue, 18 Feb 2020 04:29:01 +0000 (12:29 +0800)]
MLK-23363 arch: arm64: dts: imx8dxl: enable FlexCAN

Enable FlexCAN on i.MX8DXL EVK board.

Acked-by: Fugang Duan <Fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK-24752-1 arch: arm64: imx8m: add IR support
Joakim Zhang [Wed, 2 Sep 2020 09:13:48 +0000 (17:13 +0800)]
MLK-24752-1 arch: arm64: imx8m: add IR support

Add IR support for i.MX8MM/MN/MQ.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK-23303-1 dts: arm64: add the pcie support on imx8mp
Richard Zhu [Fri, 11 Sep 2020 07:41:22 +0000 (15:41 +0800)]
MLK-23303-1 dts: arm64: add the pcie support on imx8mp

Add the PCIe support on iMX8MP.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <Fugang.duan@nxp.com>
4 years agoMLK-23668-1 arm64: dts: imx8qm: add multi-pcie ports support
Richard Zhu [Tue, 24 Mar 2020 07:42:26 +0000 (15:42 +0800)]
MLK-23668-1 arm64: dts: imx8qm: add multi-pcie ports support

- Enable the PCIEB port on the i.MX8QM MEK and base board.
- In the PCIEAX1PCIEBx1SATA usecase, the PHYX2_PCLK[0] is mandatory
required by PCIEB. Otherwise PCIEB can't link up when exist from
L2 mode when only PCIEB is used.
- PCIEB has one more PER clock, since that the PCIEA CSR register
would be configuired when PCIEB is initialized.
- Regarding to the base board HW limitation(two Disable#) are not
connected. Only the standard PCIe EP device is supported on PCIEB port.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-2340 arm64: dts: imx8dxl-evk: add eqos and enet support
Fugang Duan [Tue, 15 Sep 2020 03:38:06 +0000 (11:38 +0800)]
LF-2340 arm64: dts: imx8dxl-evk: add eqos and enet support

Add eqos and enet support for imx8dxl evk board.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-1383-22 arm64: dts: imx8dxl: Add rpmsg dts for evk board
Jacky Bai [Thu, 3 Sep 2020 08:40:14 +0000 (16:40 +0800)]
LF-1383-22 arm64: dts: imx8dxl: Add rpmsg dts for evk board

Add rpmsg dts for i.MX8DXL EVK board support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-21 arm64: dts: freescale: Add cm4 rproc support for imx8dxl
Jacky Bai [Wed, 9 Sep 2020 02:02:47 +0000 (10:02 +0800)]
LF-1383-21 arm64: dts: freescale: Add cm4 rproc support for imx8dxl

Add the cm4 rproc support for i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-20 arm64: dts: freescale: Add rpmsg support for imx8dxl
Jacky Bai [Wed, 9 Sep 2020 01:55:11 +0000 (09:55 +0800)]
LF-1383-20 arm64: dts: freescale: Add rpmsg support for imx8dxl

Add the rpmsg support for i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-19 arm64: dts: imx8dxl: Add reserved memory node for i.MX8DXL evk
Jacky Bai [Tue, 8 Sep 2020 09:07:37 +0000 (17:07 +0800)]
LF-1383-19 arm64: dts: imx8dxl: Add reserved memory node for i.MX8DXL evk

Add additional reserved memory for i.MX8DXL EVK board.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-18 arm64: dts: imx8dxl: Add i.MX8DXL evk board support
Jacky Bai [Thu, 3 Sep 2020 08:38:44 +0000 (16:38 +0800)]
LF-1383-18 arm64: dts: imx8dxl: Add i.MX8DXL evk board support

Add i.MX8DXL EVK board support, currently ONLY supports lpuart0,
usdhc1, usdhc2 and scu power key drivers.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-17 dt-bindings: arm: imx: Add the i.MX8DXL EVK board
Anson Huang [Sat, 28 Mar 2020 10:53:32 +0000 (18:53 +0800)]
LF-1383-17 dt-bindings: arm: imx: Add the i.MX8DXL EVK board

Add board binding for i.MX8DXL EVK board.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-16 arm64: dts: freescale: Add the imx ion support for imx8dxl
Jacky Bai [Wed, 9 Sep 2020 06:49:04 +0000 (14:49 +0800)]
LF-1383-16 arm64: dts: freescale: Add the imx ion support for imx8dxl

Add the imx ion support for i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-15 arm64: dts: freescale: Add wakeup-irq property for scu node
Jacky Bai [Wed, 9 Sep 2020 06:44:20 +0000 (14:44 +0800)]
LF-1383-15 arm64: dts: freescale: Add wakeup-irq property for scu node

Add the wakeup-irq property for SCU node.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-14 arm64: dts: freescale: Add reserved memory node for imx8dxl dtsi
Jacky Bai [Tue, 8 Sep 2020 08:53:31 +0000 (16:53 +0800)]
LF-1383-14 arm64: dts: freescale: Add reserved memory node for imx8dxl dtsi

Add the reserved memory node property for dsp reserved memory.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-13 arm64: dts: freescale: Add the top level dtsi support for imx8dxl
Jacky Bai [Tue, 18 Aug 2020 05:27:18 +0000 (13:27 +0800)]
LF-1383-13 arm64: dts: freescale: Add the top level dtsi support for imx8dxl

The i.MX8DXL is a device targeting the automotive and industrial
market segments. The flexibility of the architecture allows for
use in a wide variety of general embedded applications. The chip
is designed to achieve both high performance and low power consumption.
The chip relies on the power efficient dual (2x) Cortex-A35 cluster.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-12 dt-bindings: firmware: imx: Add new compatible for ocotp node
Jacky Bai [Tue, 8 Sep 2020 09:17:28 +0000 (17:17 +0800)]
LF-1383-12 dt-bindings: firmware: imx: Add new compatible for ocotp node

Add new compatible string for ocotp node to support i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-11 dt-bindings: firmware: imx: Add new compatible for rtc node
Jacky Bai [Tue, 8 Sep 2020 09:15:42 +0000 (17:15 +0800)]
LF-1383-11 dt-bindings: firmware: imx: Add new compatible for rtc node

Add new compatible string for RTC node to support i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-10 arm64: dts: freescale: Add security subsys dtsi for imx8dxl
Jacky Bai [Tue, 18 Aug 2020 02:25:35 +0000 (10:25 +0800)]
LF-1383-10 arm64: dts: freescale: Add security subsys dtsi for imx8dxl

Add the security subsystem dtsi for i.MX8DXL.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-09 arm64: dts: freescale: Add lsio subsys dtsi for imx8dxl
Jacky Bai [Tue, 18 Aug 2020 02:15:23 +0000 (10:15 +0800)]
LF-1383-09 arm64: dts: freescale: Add lsio subsys dtsi for imx8dxl

On i.MX8DXL, the LSIO subsystem includes below devices:

1x Inline Encryption Engine (IEE)
1x FlexSPI
4x Pulse Width Modulator (PWM)
5x General Purpose Timer (GPT)
8x GPIO
14x Message Unit (MU)
256KB On-Chip Memory (OCRAM)

compared to the common imx8-ss-lsio dtsi, some nodes' interrupt
property need to be updated.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-08 arm64: dts: freescale: Add the hsio subsys dtsi on imx8dxl
Jacky Bai [Tue, 18 Aug 2020 02:05:49 +0000 (10:05 +0800)]
LF-1383-08 arm64: dts: freescale: Add the hsio subsys dtsi on imx8dxl

On i.MX8DXL, the hsio subsystem includes 1x PCIe version 3.0 with 1-lane.
Compared to the the common imx8-ss-hsio.dtsi, some interrupt propterty
need to be updated, and a phyx1_lpcg node is added.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-07 arm64: dts: freescale: Add ddr subsys dtsi for imx8dxl
Jacky Bai [Tue, 18 Aug 2020 01:57:20 +0000 (09:57 +0800)]
LF-1383-07 arm64: dts: freescale: Add ddr subsys dtsi for imx8dxl

Add the ddr subsys dtsi for i.MX8DXL. Additional db pmu is added
compared to i.MX8QXP.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-06 arm64: dts: freescale: Add the imx8dxl connectivity subsys dtsi
Jacky Bai [Tue, 18 Aug 2020 01:45:16 +0000 (09:45 +0800)]
LF-1383-06 arm64: dts: freescale: Add the imx8dxl connectivity subsys dtsi

On i.MX8DXL, the Connectivity subsystem includes below peripherals:
1x ENET with AVB support, 1x ENET with TSN support, 2x USB OTG,
1x eMMC, 2x SD, 1x NAND.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-05 arm64: dts: freescale: Add adma subsystem dtsi for imx8dxl
Jacky Bai [Mon, 17 Aug 2020 10:04:23 +0000 (18:04 +0800)]
LF-1383-05 arm64: dts: freescale: Add adma subsystem dtsi for imx8dxl

On i.MX8DXL, the ADMA subsystem includes 3x eDMA, 1x SPDIF,
4x SAI, 1x ASRC, 1x MQS, 4x GPTs & a set of generic purpose
interface(eDMA, UART, SPI, FlexCAN etc).

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1383-04 dt-bindings: firmware: imx: update the rsrc id to include the IDs of imx8dxl
Jacky Bai [Mon, 17 Aug 2020 09:28:38 +0000 (17:28 +0800)]
LF-1383-04 dt-bindings: firmware: imx: update the rsrc id to include the IDs of imx8dxl

Update the rsrc ids to include the i.MX8DXL changes.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-2264-1: arm64: dts: imx8mp.dtsi: using clocks and resets in media_blk_ctrl
Guoniu.zhou [Wed, 19 Aug 2020 02:33:03 +0000 (10:33 +0800)]
LF-2264-1: arm64: dts: imx8mp.dtsi: using clocks and resets in media_blk_ctrl

Using clocks and resets for ISI and CSI in media_blk_ctrl.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoLF-2265-2: arm64: dts: imx8qxp: add new dts for ov5640 rpmsg
Guoniu.zhou [Tue, 25 Aug 2020 07:31:06 +0000 (15:31 +0800)]
LF-2265-2: arm64: dts: imx8qxp: add new dts for ov5640 rpmsg

Add new dts for imx8qxp ov5640 rpmsg.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoLF-2265-1: arm64: dts: imx8qxp: add imx8qxp-mek-ov5640.dtsi for reuse
Guoniu.zhou [Tue, 25 Aug 2020 07:29:54 +0000 (15:29 +0800)]
LF-2265-1: arm64: dts: imx8qxp: add imx8qxp-mek-ov5640.dtsi for reuse

Rename imx8qxp-mek-ov5640.dts to imx8qxp-mek-ov5640.dtsi in order to
reuse ov5640 part in other dts file.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoarm64: dts: imx8mp-evk: add typec node
Li Jun [Mon, 3 Aug 2020 02:20:52 +0000 (10:20 +0800)]
arm64: dts: imx8mp-evk: add typec node

The first port of USB with type-C connector, which has dual data
role and dual power role.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoarm64: dts: imx8mp-evk: enable usb1 as host mode
Li Jun [Mon, 8 Jun 2020 02:51:30 +0000 (10:51 +0800)]
arm64: dts: imx8mp-evk: enable usb1 as host mode

Enable usb host port with type-A connector on imx8mp-evk board.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoarm64: dtsi: imx8mp: add usb nodes
Li Jun [Mon, 8 Jun 2020 10:34:25 +0000 (18:34 +0800)]
arm64: dtsi: imx8mp: add usb nodes

imx8mp integrates 2 identical dwc3 based USB3 controllers and
Synopsys phys, each instance has additional wakeup logic to
support low powe mode, so the glue layer need a node with dwc3
core sub node.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoarm64: dts: imx8mp: correct sdma1 clk and compatible name
Robin Gong [Wed, 19 Aug 2020 18:10:09 +0000 (02:10 +0800)]
arm64: dts: imx8mp: correct sdma1 clk and compatible name

Correct sdma1 compatible name and clock setting in dts, because in the future
'fsl,imx8mp-sdma' is used for sdma2/3 which could be off/on runtime. sdma1 is
kept on always like legacy chips like i.mx8mq/i.mx7d/i.mx6 etc.
Besides, correct sdma1 clock setting since it's 1:2 clock ratio instead of
1:1, otherwise, sdma1 will not work.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-2202-1: arm64: dts: imx8mp-evk: update dts for new pca9450
Robin Gong [Thu, 13 Aug 2020 16:45:21 +0000 (00:45 +0800)]
LF-2202-1: arm64: dts: imx8mp-evk: update dts for new pca9450

Because pca9450 regulator driver upstreamed, update dts for it.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
4 years agoarm64: dts: imx8mp-evk: enable uart1/3 ports
Fugang Duan [Thu, 13 Aug 2020 09:15:18 +0000 (17:15 +0800)]
arm64: dts: imx8mp-evk: enable uart1/3 ports

Enable uart1/3 ports for evk board.

Reviewed-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-24486-01 arm64: dts: imx8qm: add lpuart4 node
Fugang Duan [Wed, 12 Aug 2020 09:47:33 +0000 (17:47 +0800)]
MLK-24486-01 arm64: dts: imx8qm: add lpuart4 node

Add lpuart4 node for i.MX8QM.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-23315-2: arm64: dts: imx8: add i2c and irqsteer device node for CI_PI ss
Guoniu.zhou [Wed, 25 Mar 2020 07:38:24 +0000 (15:38 +0800)]
MLK-23315-2: arm64: dts: imx8: add i2c and irqsteer device node for CI_PI ss

Add i2c controller and irqsteer device node for CI_PI subsystem of iMX8QXP

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoMLK-23227-10: arm64: dts: use no-reset-control property in ISI of i.MX8QM/QXP
Guoniu.zhou [Tue, 14 Jan 2020 03:16:40 +0000 (11:16 +0800)]
MLK-23227-10: arm64: dts: use no-reset-control property in ISI of i.MX8QM/QXP

For i.MX8MN/MP, dispmix/mediamix subsystem use GPR to do bus reset, but
for i.MX8QM/QXP, it doesn't. So add no-reset-control property in dts for
i.MX8QXP and QM to distinguish.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoMLK-24483-4: arm: dts: imx6sll: changed to imx6ul-ecspi type
Robin Gong [Tue, 11 Aug 2020 14:38:21 +0000 (22:38 +0800)]
MLK-24483-4: arm: dts: imx6sll: changed to imx6ul-ecspi type

Changed ecspi compatible name to imx6ul-ecspi instead of imx51-ecspi since
ERR009165 fix on i.mx6sll.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
(cherry picked from commit 23f2599c0c4e35c6a523db884e146f1a7cd8101e)

4 years agoMLK-24483-3: arm64: dts: imx8mm: changed to imx51-ecspi type
Robin Gong [Tue, 11 Aug 2020 14:15:28 +0000 (22:15 +0800)]
MLK-24483-3: arm64: dts: imx8mm: changed to imx51-ecspi type

Changed ecspi compatible name to imx51-ecspi instead of imx6ul-ecspi since
ERR009165 not fix on i.mx8mm.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
(cherry picked from commit bab45f760bff490e01ecc5673895342aa8b23ab0)

4 years agoMLK-24483-2: arm64: dts: imx8mq: changed to imx51-ecspi type
Robin Gong [Tue, 11 Aug 2020 14:11:13 +0000 (22:11 +0800)]
MLK-24483-2: arm64: dts: imx8mq: changed to imx51-ecspi type

Changed ecspi compatible name to imx51-ecspi instead of imx6ul-ecspi since
ERR009165 not fix on i.mx8mq.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
(cherry picked from commit 14b77dc47be727e1016e17505e65643fa6cd2b99)

4 years agoLF-1979: arm64: dts: imx8mp: enable fspi nor on imx8mp evk
Han Xu [Fri, 7 Aug 2020 03:56:07 +0000 (22:56 -0500)]
LF-1979: arm64: dts: imx8mp: enable fspi nor on imx8mp evk

enable fspi nor on imx8mp evk dts

Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
4 years agoLF-1909-2: arm64: dts: imx8mp-evk: enable ov5640 for iMX8MP platfrom
Guoniu.zhou [Fri, 31 Jul 2020 09:54:54 +0000 (17:54 +0800)]
LF-1909-2: arm64: dts: imx8mp-evk: enable ov5640 for iMX8MP platfrom

Add ov5640 device node and enable isi, csi for iMX8MP platfrom

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby.Cai <robby.cai@nxp.com>
4 years agoLF-1909-1: arm64: dts: imx8mp.dtsi: add device node for isi and csi of iMX8MP
Guoniu.zhou [Fri, 31 Jul 2020 09:53:19 +0000 (17:53 +0800)]
LF-1909-1: arm64: dts: imx8mp.dtsi: add device node for isi and csi of iMX8MP

Add device node for isi and csi of iMX8MP

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby.Cai <robby.cai@nxp.com>
4 years agoarm64: dts: imx8-ss-conn: apply changes for upstream Cadence USB3 driver
Peter Chen [Wed, 15 Jul 2020 07:14:02 +0000 (15:14 +0800)]
arm64: dts: imx8-ss-conn: apply changes for upstream Cadence USB3 driver

Change board dts as well to avoid bisect break, the main changes are
as belows:

- Add iommus phandle for core device
- delete core device node for xen dts
- Support mek board by adding Type-C support

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
4 years agoarm64: dts: imx8mp: Unbypass the SAI PLL
Abel Vesa [Thu, 18 Jun 2020 07:14:48 +0000 (10:14 +0300)]
arm64: dts: imx8mp: Unbypass the SAI PLL

Set the parent of IMX8MP_CLK_AUDIO_BLK_CTRL_SAI_PLL_BYPASS
to IMX8MP_CLK_AUDIO_BLK_CTRL_SAI_PLL.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: imx8mp: Add the SAI MCLKs to the platform file
Abel Vesa [Wed, 27 May 2020 10:59:34 +0000 (13:59 +0300)]
arm64: dts: imx8mp: Add the SAI MCLKs to the platform file

This allows the platform clock controller driver to remain
unmodified when some customer board will provide an input
clock on one of the SAIx_MCLK pins.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
4 years agoarm64: dts: imx8mp: Make hdmi_blk_ctrl single node for combo driver
Abel Vesa [Fri, 12 Jun 2020 21:36:06 +0000 (00:36 +0300)]
arm64: dts: imx8mp: Make hdmi_blk_ctrl single node for combo driver

Make the hdmi_blk_ctrl dts node a single one and change all the references
to it accordingly. Do this in order to have a single combo driver for
hdmi_blk_ctrl. Some of the features of the hdmi_ctrl will be used by some
different drivers in a way those drivers will know best, so adding the
syscon compatible we allow those to do just that. Those drivers will
have to also add the hdmimix PD to their devicetree node in order
to make sure hdmi_blk_ctrl is on while they are operating.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Make media_blk_ctrl single node for combo driver
Abel Vesa [Thu, 28 May 2020 07:51:36 +0000 (10:51 +0300)]
arm64: dts: imx8mp: Make media_blk_ctrl single node for combo driver

Remove the clocks property since the clock is taken care of by the
mediamix_pd.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Make audio_blk_ctrl single node for combo driver
Abel Vesa [Fri, 1 May 2020 07:59:44 +0000 (10:59 +0300)]
arm64: dts: imx8mp: Make audio_blk_ctrl single node for combo driver

Make the audio_blk_ctrl dts node a single one and change all the references
to it accordingly. Do this in order to have a single combo driver for
audio_blk_ctrl. Some of the features of the audio_ctrl will be used by some
different drivers in a way those drivers will know best, so adding the
syscon compatible we allow those to do just that. Those drivers will
have to also add the audiomix PD to their devicetree node in order
to make sure audio_blk_ctrl is on while they are operating.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Remove imx-hdmimix-reset header file
Abel Vesa [Fri, 12 Jun 2020 21:45:33 +0000 (00:45 +0300)]
arm64: dts: Remove imx-hdmimix-reset header file

The hdmi BLK_CTRL ids have been moved to imx8mp-reset.h

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Update the audiomix PD clocks
Abel Vesa [Fri, 22 May 2020 10:04:49 +0000 (13:04 +0300)]
arm64: dts: imx8mp: Update the audiomix PD clocks

Now that the CCGR101 is added as a shared gate in the clock
controller driver, we can switch the audiomix PD to use that
newly added gate (IMX8MP_CLK_AUDIO_AHB_ROOT).

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: fsl: imx8mq: Change DCSS context loader interrupt name
Laurentiu Palcu [Thu, 23 Jul 2020 11:24:03 +0000 (14:24 +0300)]
arm64: dts: fsl: imx8mq: Change DCSS context loader interrupt name

The interrupt name is changed from ctx_ld to ctxl, to be consistent.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
4 years agoLF-1790 arm64: dts: imx8mn-ddr4-evk: Correct GPU clock rate
Anson Huang [Wed, 22 Jul 2020 02:00:15 +0000 (10:00 +0800)]
LF-1790 arm64: dts: imx8mn-ddr4-evk: Correct GPU clock rate

For i.MX8MN DDR4 EVK board, system runs at nominal mode, so GPU can
ONLY run up to 400MHz, correct the clock settings, new GPU clock
settings on i.MX8MN DDR4 EVK board are as below:

root@imx8mnevk:~# cat /sys/kernel/debug/clk/clk_summary | grep gpu
          gpu_ahb                     0        0        0   400000000          0     0  50000
          gpu_axi                     0        0        0   800000000          0     0  50000
             gpu_root_clk             0        0        0   800000000          0     0  50000
    gpu_pll_ref_sel                   0        0        0    24000000          0     0  50000
       gpu_pll                        0        0        0  1200000000          0     0  50000
          gpu_pll_bypass              0        0        0  1200000000          0     0  50000
             gpu_pll_out              0        0        0  1200000000          0     0  50000
                gpu_shader            0        0        0   400000000          0     0  50000
                gpu_core              0        0        0   400000000          0     0  50000
                   gpu_core_root_clk       0        0        0   400000000          0     0  50000

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-1762-23 arm64: dts: imx: imx8qxp-mek-rpmsg: fix i2c1 alias id conflict
Dong Aisheng [Tue, 14 Jul 2020 11:17:17 +0000 (19:17 +0800)]
LF-1762-23 arm64: dts: imx: imx8qxp-mek-rpmsg: fix i2c1 alias id conflict

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1762-22 arm64: dts: imx: remove duplicated vpu node
Dong Aisheng [Tue, 14 Jul 2020 11:16:37 +0000 (19:16 +0800)]
LF-1762-22 arm64: dts: imx: remove duplicated vpu node

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-23296 arm64: dts: imx8mp: add flexcan2 support
Joakim Zhang [Mon, 10 Feb 2020 10:21:41 +0000 (18:21 +0800)]
MLK-23296 arm64: dts: imx8mp: add flexcan2 support

Add flexcan2 support for imx8mp.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK_23189 arm64: dts: imx8mp: add flexcan support
Joakim Zhang [Tue, 12 May 2020 09:16:02 +0000 (17:16 +0800)]
MLK_23189 arm64: dts: imx8mp: add flexcan support

Add flexcan device node for i.MX8MP EVK board.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoarm64: dts: imx8mp: Fix audiomix_pd clocks
Abel Vesa [Tue, 7 Jul 2020 16:13:30 +0000 (19:13 +0300)]
arm64: dts: imx8mp: Fix audiomix_pd clocks

The IMX8MP_CLK_AUDIO_AXI_DIV is not registered anymore,
so use the IMX8MP_CLK_AUDIO_AXI instead.

Fixes: 39da71054884ec196a31d94 ("LF-1285 arm64: dts: freescale: Add the power domain node on imx8mp")
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: imx8qm-sof-cs42888: Remove FSL DAI generic node
Daniel Baluta [Fri, 10 Jul 2020 08:51:40 +0000 (11:51 +0300)]
arm64: dts: imx8qm-sof-cs42888: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
    cpu {
    sound-dai = <&dsp 0>;
    };
    codec {
    sound-dai = <&cs42888>;
    };

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need ESAI0 index which is 0.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qm-sof-wm8960: Remove FSL DAI generic node
Daniel Baluta [Thu, 9 Jul 2020 18:37:58 +0000 (21:37 +0300)]
arm64: dts: imx8qm-sof-wm8960: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
cpu {
    sound-dai = <&dsp 1>;
};
codec {
    sound-dai = <&wm8960>;
};

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need SAI1 index which is 1.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoMLK-23593: arm64: dts: imx8qm: sof: correct the resource id for edma0
Shengjiu Wang [Mon, 18 May 2020 06:56:46 +0000 (14:56 +0800)]
MLK-23593: arm64: dts: imx8qm: sof: correct the resource id for edma0

Correct the resource id for edma0.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qxp-sof-wm8960: Remove FSL DAI generic node
Daniel Baluta [Wed, 1 Jul 2020 16:11:34 +0000 (19:11 +0300)]
arm64: dts: imx8qxp-sof-wm8960: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
    cpu {
        sound-dai = <&dsp 1>;
    };
    codec {
sound-dai = <&wm8960>;
    };

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need SAI1 index which is 1.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qxp-sof-cs42888: Remove FSL DAI generic node
Daniel Baluta [Wed, 1 Jul 2020 16:03:44 +0000 (19:03 +0300)]
arm64: dts: imx8qxp-sof-cs42888: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
cpu {
sound-dai = <&dsp 0>;
};
codec {
sound-dai = <&cs42888>;
};

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need ESAI0 index which is 0.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-1688: arm64: dts: imx8mn: Resolve conflict for assigned-clocks in clk node
Shengjiu Wang [Mon, 6 Jul 2020 07:10:10 +0000 (15:10 +0800)]
LF-1688: arm64: dts: imx8mn: Resolve conflict for assigned-clocks in clk node

The assigned-clocks in imx8mn-evk.dtsi will replace the assigned-clocks in
imx8mn.dtsi, which is wrong operation.

The correct way is to merge them together in imx8mn.dtsi.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
4 years agoLF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes
Robert Chiras [Wed, 24 Jun 2020 11:25:38 +0000 (14:25 +0300)]
LF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes

Some of the display use-case related dts files are generating warnings
due to the incorrect usage of the 'reg' property. This patch fixes these
warnings.
Also, add the reg property to the mipi_dsi_in endpoint in dcss-adv7535.dts
(currently missing), so that the nwl-dsi driver will select the
appropriate input (DCSS).

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoarm64: dts: imx8m: Add NOC nodes
Leonard Crestez [Tue, 23 Jun 2020 09:36:09 +0000 (12:36 +0300)]
arm64: dts: imx8m: Add NOC nodes

Add nodes for the main interconnect of the imx8m series chips.

These nodes are bound to by devfreq and interconnect drivers.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
4 years agoMLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3
Fancy Fang [Tue, 19 May 2020 03:35:11 +0000 (11:35 +0800)]
MLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3

The LCDIF3 is included in the HDMIMIX block, so it is
necessary to enable hdmimix power domain for LCDIF3 to
avoid any potential hang issue.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 04ff1b1c585a29a08fae5dd2c0a28c1e669fce0b)

4 years agoLF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string
Dong Aisheng [Fri, 5 Jun 2020 10:39:10 +0000 (18:39 +0800)]
LF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string

Fix compatible string to make sure can use the new SCU message
sending approach.
This issue was introduced during rebase.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-23889 arm: dts: imx6sx: add power domain for csi
Robby Cai [Mon, 25 May 2020 15:19:00 +0000 (23:19 +0800)]
MLK-23889 arm: dts: imx6sx: add power domain for csi

add power domain for csi device node

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
(cherry picked from commit b6195f08924fa05f76e3e6f71733a2118ee1face)

4 years agoLF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW
Robert Chiras [Wed, 3 Jun 2020 08:52:40 +0000 (11:52 +0300)]
LF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW

Limit the maximum allowed bandwidth for LCDIF due to HW limitation in
i.MX8MQ: LCDIF can dcan rive up to 720p60 because of DDR/NoC QoS issue.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoMLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display
Fancy Fang [Sat, 16 May 2020 06:16:44 +0000 (14:16 +0800)]
MLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display

Integrate local HDMI display into EVK DTB to support the
DSI + LVDS + HDMI triple display, and previous single
display support for DSI, LVDS or HDMI is also remained.
Put LCDIF3 port to the same display-subsystem node as
LCDIF1 and LCDIF2 to realize this kind of triple display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in
Fancy Fang [Fri, 15 May 2020 11:58:49 +0000 (19:58 +0800)]
MLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in

Integrate LVDS bridge with single channel display into EVK DTB
to support DSI + LVDS dual display, and the previous single
display support for DSI or LVDS is also remained. Put LCDIF1
and LCDIF2 ports into one display-subystem node to implement
this kind of dual display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>