linux.git
4 years agoarm64: dts: imx8qxp-mek: Add LVDS0/1 PWM backlight support
Liu Ying [Thu, 14 Nov 2019 08:27:15 +0000 (16:27 +0800)]
arm64: dts: imx8qxp-mek: Add LVDS0/1 PWM backlight support

This patch adds LVDS0/1 PWM backlight support
for the i.MX8QXP MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: dts: imx8qm-mek: Add LVDS0/1 PWM backlight support
Liu Ying [Thu, 14 Nov 2019 08:24:01 +0000 (16:24 +0800)]
arm64: dts: imx8qm-mek: Add LVDS0/1 PWM backlight support

This patch adds LVDS0/1 PWM backlight support
for the i.MX8QM MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8qxp-ss-lvds.dtsi: Add properties of aux ldb to support split mode
Liu Ying [Fri, 15 Nov 2019 02:08:39 +0000 (10:08 +0800)]
arm64: imx8qxp-ss-lvds.dtsi: Add properties of aux ldb to support split mode

This patch adds properties of auxiliary ldb to support LDB split mode
for i.MX8QXP MIPI DSI/LVDS subsystem device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8qxp-ss-lvds.dtsi: Add pwm_mipi_lvds0/1 support
Liu Ying [Thu, 14 Nov 2019 08:16:31 +0000 (16:16 +0800)]
arm64: imx8qxp-ss-lvds.dtsi: Add pwm_mipi_lvds0/1 support

This patch adds pwm_mipi_lvds0/1 support for
i.MX8QXP MIPI DSI/LVDS subsystem device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8qm-ss-lvds.dtsi: Add pwm_lvds0/1 support
Liu Ying [Thu, 14 Nov 2019 08:10:09 +0000 (16:10 +0800)]
arm64: imx8qm-ss-lvds.dtsi: Add pwm_lvds0/1 support

This patch adds pwm_lvds0/1 support for
i.MX8QM LVDS subsystem device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8qxp-ss-lvds.dtsi: Add mipi0/1_pwm_lpcg clocks support
Liu Ying [Thu, 14 Nov 2019 08:02:11 +0000 (16:02 +0800)]
arm64: imx8qxp-ss-lvds.dtsi: Add mipi0/1_pwm_lpcg clocks support

This patch adds mipi0/1_pwm_lpcg clocks support for
i.MX8QXP MIPI DSI/LVDS subsystem device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8qm-ss-lvds.dtsi: Add lvds0/1_pwm_lpcg clocks support
Liu Ying [Thu, 14 Nov 2019 07:49:47 +0000 (15:49 +0800)]
arm64: imx8qm-ss-lvds.dtsi: Add lvds0/1_pwm_lpcg clocks support

This patch adds lvds0/1_pwm_lpcg clocks support for
i.MX8QM LVDS subsystem device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-22965 ARM64: dts: imx8dxl-phantom: add partition reset function
Clark Wang [Wed, 13 Nov 2019 06:43:39 +0000 (14:43 +0800)]
MLK-22965 ARM64: dts: imx8dxl-phantom: add partition reset function

Enable rpsmg to add partition reset function support for imx8dxl-phantom
platform.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoarm64: dts: imx8mm: add fsl,dataline for SAI node
Shengjiu Wang [Fri, 15 Nov 2019 07:30:35 +0000 (15:30 +0800)]
arm64: dts: imx8mm: add fsl,dataline for SAI node

Add fsl,dataline for SAI node

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoMLK-21653-3 arm: dts: add 'auto-cmd23-broken' for eMMC on imx6sx
Haibo Chen [Fri, 15 Nov 2019 07:03:36 +0000 (15:03 +0800)]
MLK-21653-3 arm: dts: add 'auto-cmd23-broken' for eMMC on imx6sx

Broken the auto cmd23 function for eMMC on imx6qpdl/imx6sx/imx7d, otherwise
the eMMC RPMB write access will return general fail.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
4 years agoMLK-22985 ARM: dts: imx7d sdb: remove the duplicated pin for uart6 node
Fugang Duan [Fri, 15 Nov 2019 03:58:32 +0000 (11:58 +0800)]
MLK-22985 ARM: dts: imx7d sdb: remove the duplicated pin for uart6 node

Remove the duplicated pin function for uart6 node.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoarm64: dts: add imx8qxp gpmi-nand dts
Han Xu [Thu, 14 Nov 2019 04:12:45 +0000 (22:12 -0600)]
arm64: dts: add imx8qxp gpmi-nand dts

add gpmi-nand dts for nand support on imx8qxp val

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoMLK-22974-3 ARM: dts: imx7d sdb: reserve CMA memory for Display
Dong Aisheng [Thu, 14 Nov 2019 09:32:16 +0000 (17:32 +0800)]
MLK-22974-3 ARM: dts: imx7d sdb: reserve CMA memory for Display

Reserve CMA memory for Display

[ Aisheng: Ported from 4.19 GA ]
Tested-by: Robby Cai <robby.cai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-22974-2 ARM: dts: imx6sl/sll-evk: reserve CMA memory for Display
Dong Aisheng [Thu, 14 Nov 2019 09:27:55 +0000 (17:27 +0800)]
MLK-22974-2 ARM: dts: imx6sl/sll-evk: reserve CMA memory for Display

Reserve CMA memory for Display

[ Aisheng: Ported from 4.19 GA ]
Tested-by: Robby Cai <robby.cai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-22974-1 ARM: dts: imx6ul-evk: reserve CMA memory for GPU/MM/Display
Dong Aisheng [Thu, 14 Nov 2019 09:20:39 +0000 (17:20 +0800)]
MLK-22974-1 ARM: dts: imx6ul-evk: reserve CMA memory for GPU/MM/Display

Reserve CMA memory for GPU/MM/Display

[ Aisheng: Ported from 4.19 GA ]
Tested-by: Robby Cai <robby.cai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-22764: ARM: dts: imx7ulp: Change sound card name
Shengjiu Wang [Thu, 14 Nov 2019 05:31:57 +0000 (13:31 +0800)]
MLK-22764: ARM: dts: imx7ulp: Change sound card name

Change the sound card name from "rpmsg-audio" to "wm8960-audio".
That we can utilize the /var/lib/alsa/asound.state config
file to share same configuration as wm8960 sound card.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoMLK-22970 ARM: dts: imx6sll-evk: enable uart5 for bluetooth
Fugang Duan [Wed, 13 Nov 2019 09:52:07 +0000 (17:52 +0800)]
MLK-22970 ARM: dts: imx6sll-evk: enable uart5 for bluetooth

Add uart5 port for bluetooth HCI interface.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22918 arm64: dts: imx8: add the alias for ethernet
Fugang Duan [Wed, 13 Nov 2019 07:25:09 +0000 (15:25 +0800)]
MLK-22918 arm64: dts: imx8: add the alias for ethernet

Add alias for ethernet nodes.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoARM: dts: imx6/7: reserve CMA memory for GPU
Minjie Zhuang [Wed, 13 Nov 2019 07:39:24 +0000 (15:39 +0800)]
ARM: dts: imx6/7: reserve CMA memory for GPU

At imx6dl/imx6q/imx6sx,reserve 320M CMA memory
At imx7ulp,reserve 200M CMA memory

Signed-off-by: Minjie Zhuang <minjie.zhuang@nxp.com>
4 years agoarm64: dts: imx8qm-mek: Enable dc0/1_pc nodes
Liu Ying [Tue, 12 Nov 2019 02:45:35 +0000 (10:45 +0800)]
arm64: dts: imx8qm-mek: Enable dc0/1_pc nodes

This patch enables dc0/1_pc device tree nodes for
the i.MX8QM MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: dts: imx8qxp-mek: Enable dc0_pc node
Liu Ying [Tue, 12 Nov 2019 02:44:39 +0000 (10:44 +0800)]
arm64: dts: imx8qxp-mek: Enable dc0_pc node

This patch enables dc0_pc device tree node for
the i.MX8QXP MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add dc1_pc phandle for dpu2
Liu Ying [Tue, 12 Nov 2019 02:42:12 +0000 (10:42 +0800)]
arm64: imx8-ss-dc1.dtsi: Add dc1_pc phandle for dpu2

This patch adds dc1_pc phandle for dpu2 node.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc0.dtsi: Add dc0_pc phandle for dpu1
Liu Ying [Tue, 12 Nov 2019 02:41:06 +0000 (10:41 +0800)]
arm64: imx8-ss-dc0.dtsi: Add dc0_pc phandle for dpu1

This patch adds dc0_pc phandle for dpu1 node.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add pixel combiner node support
Liu Ying [Tue, 12 Nov 2019 02:38:31 +0000 (10:38 +0800)]
arm64: imx8-ss-dc1.dtsi: Add pixel combiner node support

This patch adds pixel combiner device tree node support
for the i.MX8 DC1 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc0.dtsi: Add pixel combiner node support
Liu Ying [Tue, 12 Nov 2019 02:37:19 +0000 (10:37 +0800)]
arm64: imx8-ss-dc0.dtsi: Add pixel combiner node support

This patch adds pixel combiner device tree node support
for the i.MX8 DC0 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-22964 arm64: dts: imx8dxl-phantom-mek: add nvmem for fec2 node
Fugang Duan [Wed, 13 Nov 2019 06:02:07 +0000 (14:02 +0800)]
MLK-22964 arm64: dts: imx8dxl-phantom-mek: add nvmem for fec2 node

Add nvmem for fec2 node to get MAC address from eFuse.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22962 arm64: dts: imx8qxp: correct fec2 compatible string
Fugang Duan [Wed, 13 Nov 2019 05:55:12 +0000 (13:55 +0800)]
MLK-22962 arm64: dts: imx8qxp: correct fec2 compatible string

commit 3a1309af0048(arm64: dts: imx8qxp: update fec fallback
compatible string) not completely correct the fec compatible
string that only change fec1 node, not fec2 node. So the patch
correct fec2 node compatible string.

Fixes: 4f3c854068e4(arm64: dts: imx8qxp: orginize dts in subsystems)
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22961 arm64: dts: imx8dxl-phantom-mek: enable epdev for pcie wlan
Fugang Duan [Wed, 13 Nov 2019 03:17:11 +0000 (11:17 +0800)]
MLK-22961 arm64: dts: imx8dxl-phantom-mek: enable epdev for pcie wlan

Enable epdev regulator for pcie wlan on imx8dxl phantom mek.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22960 ARM: dts: imx6sll-evk-btwifi: enable oob irq in default
Fugang Duan [Tue, 12 Nov 2019 11:53:18 +0000 (19:53 +0800)]
MLK-22960 ARM: dts: imx6sll-evk-btwifi: enable oob irq in default

Enable oob irq in default for imx6sll evk board.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22959 ARM: dts: imx6sll-evk-btwifi: remove pin function node
Fugang Duan [Tue, 12 Nov 2019 11:32:48 +0000 (19:32 +0800)]
MLK-22959 ARM: dts: imx6sll-evk-btwifi: remove pin function node

Remove pin function node "imx6sll-evk-murata-v2" since
default dts "imx6sll-evk.dts" iomux node already remove
board pin function node.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-14451 ARM: dts: imx7ulp: Move dts entry for sensors into another dts
Adriana Reus [Wed, 12 Apr 2017 10:45:13 +0000 (13:45 +0300)]
MLK-14451 ARM: dts: imx7ulp: Move dts entry for sensors into another dts

Sensors are connected to M4 and not to A-Core.
Sensors will not be exposed to A-Core via standard
i2c interface but via an i2c proxy layer over rpmsg.

Remove the dts entry to avoid the probe error messages and
add a separate dts file for the case where someone wishes to
rework the board themselves and connect sensors for testing purposes.

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
(cherry picked from commit 05f0c61222bcb43b400b239d780df1ee55c5668f)

4 years agoMLK-22921-4 ARM64: dts: imx8qxp/qm: add lpspi dts files
Clark Wang [Tue, 12 Nov 2019 06:59:59 +0000 (14:59 +0800)]
MLK-22921-4 ARM64: dts: imx8qxp/qm: add lpspi dts files

Add lpspi mater and slave dts files for imx8qxp/qm platforms.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoMLK-22921-3 ARM: dts: imx7ulp: add lpspi slave dts support
Clark Wang [Thu, 7 Nov 2019 06:07:50 +0000 (14:07 +0800)]
MLK-22921-3 ARM: dts: imx7ulp: add lpspi slave dts support

Add some missing dts files of imx7ulp which file names have
been changed in 4.19.y.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoMLK-22921-2 ARM: dts: imx6ul: fix compile warning of spi slave dts
Clark Wang [Tue, 12 Nov 2019 05:58:01 +0000 (13:58 +0800)]
MLK-22921-2 ARM: dts: imx6ul: fix compile warning of spi slave dts

Add a address-cells property to fix compile warning of -ecspi-slave.dts.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoARM: dts: imx6: add *ldo dtb file
Robin Gong [Tue, 12 Nov 2019 17:55:11 +0000 (01:55 +0800)]
ARM: dts: imx6: add *ldo dtb file

Add *ldo dtb board file to support board work in ldo-enable mode.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
4 years agoMLK-16483 ARM64: dts: imx8mq-evk-pcie1-m2: add pcie1 M.2 interface support
Fugang Duan [Mon, 11 Nov 2019 02:47:20 +0000 (10:47 +0800)]
MLK-16483 ARM64: dts: imx8mq-evk-pcie1-m2: add pcie1 M.2 interface support

Add pcie1 M.2 interface support.

The patch merged from commit: 21cb81b4f0bc(MLK-21084 arm64: dts: Copy all imx8 dts)

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-22284-3 ARM64: dts: freescale: imx8dx/qm: split dma channel power domain
Robin Gong [Mon, 11 Nov 2019 19:44:05 +0000 (03:44 +0800)]
MLK-22284-3 ARM64: dts: freescale: imx8dx/qm: split dma channel power domain

Split dma channel power domain from sub-domain of dma customer driver
such as Audio, LPUART etc.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
4 years agoMLK-22930 ARM64: dts: change the source clock rate of usdhc1 for imx8qxp/imx8qm
Haibo Chen [Fri, 8 Nov 2019 02:22:31 +0000 (10:22 +0800)]
MLK-22930 ARM64: dts: change the source clock rate of usdhc1 for imx8qxp/imx8qm

On imx8qxp and imx8qm mek board, usdhc1 is for eMMC usage, and will work at
HS400 mode, this HS400 mode will work at 200MHz, and will default divide 2 from
source clock(IMX_SC_R_SDHC_0), which mean we need to config the source clock
to 400MHz at least.

Before this patch, HS400 mode only work at 100MHz, and will meet some timeout issue
when do system suspend/resume, due to our HS400 related timing setting is based on
the 200MHz. Also, HS400 work at 100MHz will impact the performance.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Tested-by: Anson Huang <Anson.Huang@nxp.com>
[ Aisheng: moved the change to board dts ]
Sign-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoRevert "arm64: dts: imx8mq: Disable sysctr because it breaks cpuidle"
Leonard Crestez [Fri, 8 Nov 2019 17:21:44 +0000 (19:21 +0200)]
Revert "arm64: dts: imx8mq: Disable sysctr because it breaks cpuidle"

This reverts commit 9b9ae1e2d639973ca826f839717e2b2405df5f51.

Was an emergency hotfix but real problem was solved

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: imx8qm-mek: Enable dc0/1_dpr1_channel3 and dc0/1_dpr2_channel1-3 nodes
Liu Ying [Mon, 11 Nov 2019 02:29:53 +0000 (10:29 +0800)]
arm64: dts: imx8qm-mek: Enable dc0/1_dpr1_channel3 and dc0/1_dpr2_channel1-3 nodes

This patch enables dc0/1_dpr1_channel3 and dc0/1_dpr2_channel1-3 nodes
for the i.MX8QM MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: dts: imx8qxp-mek: Enable dc0_dpr1_channel3 and dc0_dpr2_channel1-3 nodes
Liu Ying [Mon, 11 Nov 2019 02:28:20 +0000 (10:28 +0800)]
arm64: dts: imx8qxp-mek: Enable dc0_dpr1_channel3 and dc0_dpr2_channel1-3 nodes

This patch enables dc0_dpr1_channel3 and dc0_dpr2_channel1-3 nodes
for the i.MX8QXP MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: dts: imx8qm-mek: Enable dc0_prg3-9 and dc1_prg3-9 nodes
Liu Ying [Mon, 11 Nov 2019 02:25:53 +0000 (10:25 +0800)]
arm64: dts: imx8qm-mek: Enable dc0_prg3-9 and dc1_prg3-9 nodes

This patch enables dc0_prg3-9 and dc1_prg3-9 device tree nodes for
the i.MX8QM MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: dts: imx8qxp-mek: Enable dc0_prg3-9 nodes
Liu Ying [Mon, 11 Nov 2019 02:23:58 +0000 (10:23 +0800)]
arm64: dts: imx8qxp-mek: Enable dc0_prg3-9 nodes

This patch enables dc0_prg3-9 device tree nodes for
the i.MX8QXP MEK platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add dc1_dpr1_channel3 and dc1_dpr2_channel1-3 phandles for...
Liu Ying [Mon, 11 Nov 2019 02:19:07 +0000 (10:19 +0800)]
arm64: imx8-ss-dc1.dtsi: Add dc1_dpr1_channel3 and dc1_dpr2_channel1-3 phandles for dpu2

This patch adds dc1_dpr1_channel3 and dc1_dpr2_channel1-3 phandles for dpu2
node.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc0.dtsi: Add dc0_dpr1_channel3 and dc0_dpr2_channel1-3 phandles for...
Liu Ying [Mon, 11 Nov 2019 02:16:57 +0000 (10:16 +0800)]
arm64: imx8-ss-dc0.dtsi: Add dc0_dpr1_channel3 and dc0_dpr2_channel1-3 phandles for dpu1

This patch adds dc0_dpr1_channel3 and dc0_dpr2_channel1-3 phandles for dpu1
node.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add dc1_dpr1_channel3 and dc1_dpr2_channel1-3 support
Liu Ying [Mon, 11 Nov 2019 02:15:02 +0000 (10:15 +0800)]
arm64: imx8-ss-dc1.dtsi: Add dc1_dpr1_channel3 and dc1_dpr2_channel1-3 support

This patch adds dc1_dpr1_channel3 and dc1_dpr2_channel1-3 device tree
nodes support for i.MX8 DC1 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc0.dtsi: Add dc0_dpr1_channel3 and dc0_dpr2_channel1-3 support
Liu Ying [Mon, 11 Nov 2019 02:12:54 +0000 (10:12 +0800)]
arm64: imx8-ss-dc0.dtsi: Add dc0_dpr1_channel3 and dc0_dpr2_channel1-3 support

This patch adds dc0_dpr1_channel3 and dc0_dpr2_channel1-3 device tree
nodes support for i.MX8 DC0 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add dc1_prg3 to dc1_prg9 support
Liu Ying [Mon, 11 Nov 2019 02:05:44 +0000 (10:05 +0800)]
arm64: imx8-ss-dc1.dtsi: Add dc1_prg3 to dc1_prg9 support

This patch adds dc1_prg3 to dc1_prg9 device tree nodes support
for i.MX8 DC1 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoarm64: imx8-ss-dc1.dtsi: Add dc1_prg3 to dc1_prg9 support
Liu Ying [Mon, 11 Nov 2019 01:58:28 +0000 (09:58 +0800)]
arm64: imx8-ss-dc1.dtsi: Add dc1_prg3 to dc1_prg9 support

This patch adds dc1_prg3 to dc1_prg9 device tree nodes support
for i.MX8 DC0 subsystem.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-22939 arm64: dts: imx8-ss-img: fix gpio reg
Peng Fan [Mon, 11 Nov 2019 03:33:20 +0000 (11:33 +0800)]
MLK-22939 arm64: dts: imx8-ss-img: fix gpio reg

Fix gpio reg

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoarm64: dts: imx8qm: specify the sid of sata module
richard zhu [Fri, 8 Nov 2019 09:35:39 +0000 (17:35 +0800)]
arm64: dts: imx8qm: specify the sid of sata module

Specify the SID of SATA. Otherwise, uboot would configure the SID by
the power domain.
And would break PCIe functions since SATA module has PCIe's power
domain too.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-22902 arm64: dts: imx8qm-ss-hdmi: fix i2c0_hdmi node
Peng Fan [Tue, 5 Nov 2019 09:17:21 +0000 (17:17 +0800)]
MLK-22902 arm64: dts: imx8qm-ss-hdmi: fix i2c0_hdmi node

The reg property is wrong, address/size cells are 1

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoMLK-22933 ARM: dts: imx6qdl-sabreauto: disable gpmi node due to pin conflict
Fugang Duan [Fri, 8 Nov 2019 06:34:01 +0000 (14:34 +0800)]
MLK-22933 ARM: dts: imx6qdl-sabreauto: disable gpmi node due to pin conflict

GPMI NAND has pin conflict with uart3, and there already
have extra dts "*-gpmi-weim.dts" files to enable GPMI, so
disable GPMI in sabreauto default dts.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
4 years agoMLK-22932 ARM: dts: imx6qdl: apply ENET IRQ workaround for sabresd/sabreauto boards
Fugang Duan [Thu, 7 Nov 2019 09:43:13 +0000 (17:43 +0800)]
MLK-22932 ARM: dts: imx6qdl: apply ENET IRQ workaround for sabresd/sabreauto boards

i.MX6Q/DL ENET cannot wake up system in wait mode because ENET
tx & rx interrupt signal don't connect to GPC. Add ENET GPIO IRQ
workaround for sabresd/sabreauto boards.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
4 years agoarm64: dts: freescale: add the rpmsg node on imx8dxl phantom mek board
richard zhu [Thu, 7 Nov 2019 10:04:21 +0000 (18:04 +0800)]
arm64: dts: freescale: add the rpmsg node on imx8dxl phantom mek board

Add the RPMSG node on iMX8DXL phantom MEK board.

Signed-off-by: richard zhu <hongxing.zhu@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoarm64: dts: freescale: Add the pcie on imx8dxl phantom mek board
richard zhu [Thu, 7 Nov 2019 09:56:56 +0000 (17:56 +0800)]
arm64: dts: freescale: Add the pcie on imx8dxl phantom mek board

Add the PCIe on iMX8DXL phantom MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoarm: dts: imx6dl: dcic2: Add dcic1 clock to dcic2 property
Sandor Yu [Thu, 7 Nov 2019 10:15:37 +0000 (18:15 +0800)]
arm: dts: imx6dl: dcic2: Add dcic1 clock to dcic2 property

dcic2 depend in dcic1 clock, add the clock to dcic2 to avoid
dcic2 hang.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoMLK-22912 ARM64: dts: add synaptics_dsx touch support for imx8mn/imx8mq
Haibo Chen [Wed, 6 Nov 2019 07:07:28 +0000 (15:07 +0800)]
MLK-22912 ARM64: dts: add synaptics_dsx touch support for imx8mn/imx8mq

Enable the synaptics_dsx touch support when use rm67191 screen.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6ulz
Han Xu [Thu, 7 Nov 2019 00:37:08 +0000 (18:37 -0600)]
arm: dts: add gpmi weim dts for imx6ulz

add gpmi weim dts for imx6ulz 14x14 evk

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6ull
Han Xu [Thu, 7 Nov 2019 00:36:11 +0000 (18:36 -0600)]
arm: dts: add gpmi weim dts for imx6ull

add gpmi weim dts for imx6ull 14x14 evk

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6ul
Han Xu [Thu, 7 Nov 2019 00:30:03 +0000 (18:30 -0600)]
arm: dts: add gpmi weim dts for imx6ul

add gpmi weim dts for imx6ul

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add both ecspi and ecspi slave dts for imx6ul
Han Xu [Thu, 7 Nov 2019 00:28:48 +0000 (18:28 -0600)]
arm: dts: add both ecspi and ecspi slave dts for imx6ul

add both ecspi and ecspi slave dts for imx6ul 14x14 evk

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6qp sabreauto
Han Xu [Thu, 7 Nov 2019 00:27:18 +0000 (18:27 -0600)]
arm: dts: add gpmi weim dts for imx6qp sabreauto

add gpmi weim dts for imx6qp sabreauto

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add ecspi dts for imx6qp sabreauto
Han Xu [Thu, 7 Nov 2019 00:26:18 +0000 (18:26 -0600)]
arm: dts: add ecspi dts for imx6qp sabreauto

add ecspi dts for imx6qp sabreauto

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6q sabreauto
Han Xu [Thu, 7 Nov 2019 00:23:39 +0000 (18:23 -0600)]
arm: dts: add gpmi weim dts for imx6q sabreauto

add gpmi weim dts for imx6q sabreauto

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add ecspi dts for imx6q sabreauto
Han Xu [Thu, 7 Nov 2019 00:22:46 +0000 (18:22 -0600)]
arm: dts: add ecspi dts for imx6q sabreauto

add ecspi dts for imx6q sabreauto

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add gpmi weim dts for imx6dl sabreatuo
Han Xu [Thu, 7 Nov 2019 00:21:19 +0000 (18:21 -0600)]
arm: dts: add gpmi weim dts for imx6dl sabreatuo

add gpmi weim dts for imx6dl sabreatuo

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm: dts: add ecspi dts for imx6dl sabreauto
Han Xu [Thu, 7 Nov 2019 00:20:06 +0000 (18:20 -0600)]
arm: dts: add ecspi dts for imx6dl sabreauto

add ecspi dts for imx6dl sabreauto

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoarm:dts:imx: dropping leading 0s on ocram nodes
Silvano di Ninno [Wed, 6 Nov 2019 15:56:48 +0000 (16:56 +0100)]
arm:dts:imx: dropping leading 0s on ocram nodes

removing all the leading "0x" and zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading "0x"
and
Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
4 years agoMLK-18036-1 Add "fsl,optee-lpm-sram" node for optee os power management.
Clement Faure [Fri, 13 Apr 2018 09:11:36 +0000 (11:11 +0200)]
MLK-18036-1 Add "fsl,optee-lpm-sram" node for optee os power management.

This node will be used by the OCRAM driver in optee to:
* Get the OCRAM start address for power management in optee.
* Add an entry that will overwrite ocrams nodes and dynamically reduce
the OCRAM available for mmio-sram in Linux.

That way we do not touch the legacy Linux boot and remove the dedicated
optee device tree.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
4 years agoMLK-22484: arm64: dts: Fix mem clock for asrc
Shengjiu Wang [Wed, 6 Nov 2019 08:32:46 +0000 (16:32 +0800)]
MLK-22484: arm64: dts: Fix mem clock for asrc

The mem clock is used to access the register, if there is no
mem clock defined, we should use the ipg clock instead,
otherwise there will be kernel dump after system reboot.

[    3.010962] Kernel panic - not syncing: Asynchronous SError Interrupt
[    3.010964] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.35-05057-g2134d856e6b2 #2889
[    3.010966] Hardware name: Freescale i.MX8QXP MEK (DT)
[    3.010968] Call trace:
[    3.010969]  dump_backtrace+0x0/0x178
[    3.010971]  show_stack+0x14/0x20
[    3.010972]  dump_stack+0x8c/0xac
[    3.010974]  panic+0x120/0x28c
[    3.010975]  __stack_chk_fail+0x0/0x18
[    3.010977]  arm64_serror_panic+0x74/0x80
[    3.010979]  do_serror+0x68/0x130
[    3.010980]  el1_error+0x7c/0xdc
[    3.010982]  _raw_spin_unlock_irqrestore+0xc/0x48
[    3.010984]  clk_core_disable_lock+0x28/0x38
[    3.010985]  clk_disable+0x1c/0x30
[    3.010987]  regmap_mmio_write+0x54/0x68
[    3.010989]  _regmap_bus_reg_write+0x14/0x20
[    3.010990]  _regmap_write+0x60/0xa8
[    3.010992]  regmap_write+0x48/0x70
[    3.010994]  fsl_asrc_probe+0x258/0x660
[    3.010995]  platform_drv_probe+0x50/0xb0

Why this issue only happen at kernel reboot, it is because the ipg
clock is enabled in default after system reset, after used once, the
ipg clock is disabled, then reboot system, the issue happen.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8DM LPDDR4 validation board support
Anson Huang [Wed, 6 Nov 2019 07:17:02 +0000 (15:17 +0800)]
arm64: dts: freescale: Add i.MX8DM LPDDR4 validation board support

Add i.MX8DM validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8DX 17x17 validation board support
Anson Huang [Wed, 6 Nov 2019 06:54:56 +0000 (14:54 +0800)]
arm64: dts: freescale: Add i.MX8DX 17x17 validation board support

Add i.MX8DX 17x17 validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8QP LPDDR4 validation board support
Anson Huang [Wed, 6 Nov 2019 06:36:58 +0000 (14:36 +0800)]
arm64: dts: freescale: Add i.MX8QP LPDDR4 validation board support

Add i.MX8QP LPDDR4 validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8QM DDR4 validation board support
Anson Huang [Wed, 6 Nov 2019 06:13:54 +0000 (14:13 +0800)]
arm64: dts: freescale: Add i.MX8QM DDR4 validation board support

Add i.MX8QM DDR4 validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8DX LPDDR4 validation board support
Anson Huang [Wed, 6 Nov 2019 05:57:08 +0000 (13:57 +0800)]
arm64: dts: freescale: Add i.MX8DX LPDDR4 validation board support

Add i.MX8DX LPDDR4 validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8QXP 17x17 validation board support
Anson Huang [Wed, 6 Nov 2019 05:44:23 +0000 (13:44 +0800)]
arm64: dts: freescale: Add i.MX8QXP 17x17 validation board support

Add i.MX8QXP 17x17 Validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8DXP LPDDR4 validation board support
Anson Huang [Wed, 6 Nov 2019 05:40:03 +0000 (13:40 +0800)]
arm64: dts: freescale: Add i.MX8DXP LPDDR4 validation board support

Add i.MX8DXP LPDDR4 validation board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm: Add LPDDR4 validation board single cluster support
Anson Huang [Wed, 6 Nov 2019 02:33:51 +0000 (10:33 +0800)]
arm64: dts: imx8qm: Add LPDDR4 validation board single cluster support

Add *-ca53.dtb and *-ca72.dtb to support booting up single
cluster on LPDDR4 validation board, to boot up single A72 cluster,
dedicated flash.bin needs to be used.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qxp: Add DDR3L validation board support
Anson Huang [Wed, 6 Nov 2019 01:50:10 +0000 (09:50 +0800)]
arm64: dts: imx8qxp: Add DDR3L validation board support

Add i.MX8QXP DDR3L validation board support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qxp: Add MEK/VAL board with A0 chip support
Anson Huang [Wed, 6 Nov 2019 01:43:14 +0000 (09:43 +0800)]
arm64: dts: imx8qxp: Add MEK/VAL board with A0 chip support

Add i.MX8QXP MEK/VAL board with A0 chip support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoARM: dts: imx6sll: Add EVK Rev-A board support
Anson Huang [Wed, 6 Nov 2019 01:39:50 +0000 (09:39 +0800)]
ARM: dts: imx6sll: Add EVK Rev-A board support

Add i.MX6SLL EVK Rev-A board DT support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoARM: dts: imx6: enable Murata 1MW M.2 card for imx6 legacy platforms
Fugang Duan [Tue, 5 Nov 2019 12:24:09 +0000 (20:24 +0800)]
ARM: dts: imx6: enable Murata 1MW M.2 card for imx6 legacy platforms

Enable Murata 1MW M.2 card for i.MX6 legacy platforms. Plug in
Murata 1MW M.2 into SD slot by using Murata uSD-to-M.2 Adapter.

Below i.MX6 legacy platforms will be supported:
- i.MX6Q/QP/DL SDB, SD2 slot
- i.MX6SX SDB, SD2 slot
- i.MX6SLL EVK, SD3 slot
- i.MX6UL/ULL/ULZ EVK, SD1 slot

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-18675-23 ARM: dts: imx7d-sdb: add wifi bcm4339 support with fmac driver
Fugang Duan [Tue, 5 Nov 2019 11:40:51 +0000 (19:40 +0800)]
MLK-18675-23 ARM: dts: imx7d-sdb: add wifi bcm4339 support with fmac driver

Add wifi bcm4339 support with fmac driver.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
4 years agoarm64: dts: imx8mq-evk: enable pcie wireless
Fugang Duan [Tue, 5 Nov 2019 06:30:06 +0000 (14:30 +0800)]
arm64: dts: imx8mq-evk: enable pcie wireless

Enable 32Khz for cypress cyw4356/cyw4359 and Marvell 88w8997.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-20685-05 arm64: dts: imx8qm/qxp: add cyw4356 and cyw4359 support
Fugang Duan [Mon, 4 Nov 2019 09:51:44 +0000 (17:51 +0800)]
MLK-20685-05 arm64: dts: imx8qm/qxp: add cyw4356 and cyw4359 support

Add cyw4356 and cyw4359 support on imx8qm MEK boards..

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoarm64: dts: imx8qxp-mek: enable pcie wireless
Fugang Duan [Sat, 2 Nov 2019 10:17:25 +0000 (18:17 +0800)]
arm64: dts: imx8qxp-mek: enable pcie wireless

Enable pcie wireless for M.2 interface.
That support cypress and marvell pcie wlan.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoarm64: dts: imx8mm: rename apb clock names for dispmix reset
Fancy Fang [Mon, 4 Nov 2019 03:47:06 +0000 (11:47 +0800)]
arm64: dts: imx8mm: rename apb clock names for dispmix reset

Rename the apb clock names from 'apb-clk' to 'disp_apb_root_clk'
for dispmix reset nodes, since in commit f541de184245(reset: imx8m:
Correct clock name for dispmix driver), it changes the apb clock
name.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoarm64: dts: imx8mm: Define resets for LCDIF and DSIM
Fancy Fang [Sat, 2 Nov 2019 09:05:41 +0000 (17:05 +0800)]
arm64: dts: imx8mm: Define resets for LCDIF and DSIM

The dispmix-reset device can be used to control the LCDIF and
DSIM bus reset and clock enable. So define 'resets' property
for both LCDIF and DSIM for this purpose which will be used to
replace 'dispmix_gpr' usage.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoarm64: dts: imx8mm: Add 'dispmix-reset' device
Fancy Fang [Fri, 1 Nov 2019 13:15:11 +0000 (21:15 +0800)]
arm64: dts: imx8mm: Add 'dispmix-reset' device

Create a new device node 'dispmix-reset' to describe the
reset controller in DISPMIX to control several submodules
bus and clock reset and enable. All the reset lines can be
divided into three groups: sft_rstn, clk_en and mipi_rst.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoarm64: dts: imx8qxp: Add CPU cooling support
Anson Huang [Mon, 4 Nov 2019 03:26:09 +0000 (11:26 +0800)]
arm64: dts: imx8qxp: Add CPU cooling support

Add CPU cooling support for i.MX8QXP.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
[ Aisheng: remove unneeded imx8qxp.dtsi change ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: imx8qm: Update thermal zone number to support PMIC thermal zone
Anson Huang [Mon, 4 Nov 2019 02:35:29 +0000 (10:35 +0800)]
arm64: dts: imx8qm: Update thermal zone number to support PMIC thermal zone

Update thermal zone number to 6 to support PMIC thermal zone.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: freescale: Add i.MX8DXL phantom mek board
Anson Huang [Fri, 1 Nov 2019 08:52:22 +0000 (16:52 +0800)]
arm64: dts: freescale: Add i.MX8DXL phantom mek board

Add i.MX8DXL phantom mek board DT.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm: Disable dsp lpcg clock
Shengjiu Wang [Fri, 1 Nov 2019 05:29:03 +0000 (13:29 +0800)]
arm64: dts: imx8qm: Disable dsp lpcg clock

There is no LPCG clock defined for DSP in imx8qm, so disable
dsp lpcg clock.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: imx8qm: Add A72 cluster cpufreq support
Anson Huang [Thu, 31 Oct 2019 09:34:50 +0000 (17:34 +0800)]
arm64: dts: imx8qm: Add A72 cluster cpufreq support

Add A72 cluster OPP table to support cpufreq.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm: Add support for booting up single cluster
Anson Huang [Thu, 31 Oct 2019 10:24:00 +0000 (18:24 +0800)]
arm64: dts: imx8qm: Add support for booting up single cluster

Add *-ca53.dtb and *-ca72.dtb to support booting up single
cluster, to boot up single A72 cluster, dedicated flash.bin
needs to be used.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm-mek.dts: Enable A72 cluster by default
Anson Huang [Thu, 31 Oct 2019 06:03:27 +0000 (14:03 +0800)]
arm64: dts: imx8qm-mek.dts: Enable A72 cluster by default

Enable A72 cluster by default to support 6 CPUs totally.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm-lpddr4-val.dts: Enable A72 cluster by default
Anson Huang [Thu, 31 Oct 2019 06:02:05 +0000 (14:02 +0800)]
arm64: dts: imx8qm-lpddr4-val.dts: Enable A72 cluster by default

Enable A72 cluster by default.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm: Add A72 cluster thermal zone
Anson Huang [Thu, 31 Oct 2019 06:01:14 +0000 (14:01 +0800)]
arm64: dts: imx8qm: Add A72 cluster thermal zone

Add A72 cluster thermal zone support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8qm imx8qxp: enable mailbox for vpu
Shijie Qin [Wed, 16 Oct 2019 01:54:14 +0000 (09:54 +0800)]
arm64: dts: imx8qm imx8qxp: enable mailbox for vpu

- The mailbox of mu_m0 is used by vpu decoder
- The mailbox of mu1_m0 and mu2_m0 are used by vpu encoder
  mu2_m0 only enabled on imx8qm

Signed-off-by: Shijie Qin <shijie.qin@nxp.com>