summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
AgeCommit message (Collapse)Author
2020-10-20arm64: dts: fsl: imx8qm: fix sai2 and sai3Tomislav Lugarić
Sai2 and Sai3 definitions for DMA were missing in the device tree of kernel 4.14. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2020-07-06Merge branch 'imx_4.14.98_2.3.0' into toradex_4.14-2.3.x-imxOleksandr Suvorov
Fix conflicts after merging changes from the latest NXP branch. Conflicts: arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi drivers/pci/dwc/pci-imx6.c Related-to: ELB-1306 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-03-09Merge remote-tracking branch 'fslc/4.14-2.3.x-imx' into toradex_4.14-2.3.x-imxMarcel Ziswiler
Conflicts: arch/arm64/boot/dts/freescale/Makefile arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
2020-02-25MLK-23233-4 arm64: dts: refine pcie dts and add the pcieax2 and pciebx1 usecaseRichard Zhu
Different usecase maybe used by customer, add the PCIEA two lanes and PCIEB one lane usecase into fsl-imx8qm-pcieax2pciebx1.dts. Refine the PCIE dts nodes, add the requrired HSIO peripheral clocks for different consumers. PCIEB has one more PER clock, since the PCIEA CSR register would be configuired when PCIEB is initialized. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2020-02-25MLK-23233-2 dts: arm64: sata: add the clks into sata nodesRichard Zhu
To avoid potential dump when access the PHY and MISC CRR registers. Add the CRRS clocks into SATA node. The codes are merged back from 4.19 to 4.14 refer to MLK-21695. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2020-02-12arm64: dts: fsl: apalis-imx8qm: add pcie bus range propertyMax Krummenacher
Prevents: 'OF: PCI: No bus range found for /pcie@0x5f000000, using [bus 00-ff]' Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-12fsl-imx8qm-device.dtsi: replace hardcoded valuesMax Krummenacher
Use GIC_SPI (which is defined as 0) instead of the hardcoded value 0. Use IRQ_TYPE_LEVEL_HIGH (which is defined as 4) instead of the hardcoded value 4. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-12arm64: dts: fsl: lpspi2: add dma mode supportMarcel Ziswiler
Follow commit 'a1204e3b0e7a dts: lpspi: add dma mode support' for lpspi2. This requires a follow up to dtbs which delete the edma0 node in favour of their own implementation. Related to: #51387 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 1ff8709cc875557d3ba3c105af3be6bd6033c122) Fixed power-domain stuff after imx_4.14.98_2.3.0 resp. 4.14-2.3.x-imx merge. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-11arm64: dts: fsl: apalis-imx8qm: add initial device treeStefan Agner
Copied from toradex_imx_4.14.78_1.0.0_ga-bring_up. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-09MLK-18433 PCI: imx: remove the lpcg_xxx clocks in driverRichard Zhu
Remove the lpcg_xxx clocks codes, since they are HW gated. These clocks controlled by HW, and would be turned on automatically, if there are access operations. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> (cherry picked from commit 9b8da32493057502a912b6d1426eadeb76780e69) Conflicts: arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi drivers/pci/host/pci-imx6.c Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 7615a560c48aeb53911c7a6f025420c0f9a5a51f) (cherry picked from commit 0507816aa4b9a4f5764d308b23332fc297e6fe0f) (cherry picked from commit 24258f088b89df68e5fa2c54eb3334ff50fcb8f0)
2020-01-28MLK-23258-4 dts: SATA requires PCIE_A power domain to be ONRanjani Vaidyanathan
SATA driver write to regisers in the PCIE_A power domain and hence PCIE_A needs to be powered on even when ONLY SATA is enabled. Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
2020-01-23MLK-23258-3 dts: Fix PCIE suspend/resume issueRanjani Vaidyanathan
Fix the parent-child power domain dependency to handle different PCIE usecases. Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
2019-12-05SHE-17 arm64: dts: imx8qm: enable first SECO MUStephane Dion
Enabling use of the first SECO MU on i.MX8QM Signed-off-by: Stephane Dion <stephane.dion_1@nxp.com> (cherry picked from commit 2b65b323254965b1d563e0aee80e18678d631b9d) (cherry picked from commit 5ff969719af8a80a8146fcbd856f5d28562c1081)
2019-07-22MLK-22284-3 ARM64: dts: freescale: imx8dx/qm: split dma channel power domainRobin Gong
Split dma channel power domain from sub-domain of dma customer driver such as Audio, LPSPI, LPUART. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Reviewed-by: S.j. Wang <shengjiu.wang@nxp.com>
2019-03-14MLK-21078-2 arm64: dts: imx8qm/imx8qxp: remove early_power_on propertyAnson Huang
Since RPMSG switches to use LSIO's MU instead of M4's MU, the LSIO MU's irq is inside GIC IRQ domain, NOT in intmux irq domain, so no need to power on intmux early during system resume. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
2019-03-12SSI-35: crypto: caam - Do not rely on common index of jrFranck LENORMAND
With current code, the index are stored in an array at their common index, ie jr0 store at index 0, jr1 at 1, ... It force to use buggy mechanic to compute it and is not scalable. This patch removes the mechanic of computation of hardware register addresses and the notion of first_jr_index. Instead the first JR available is set to index 0 of the table and so on. Legacy code was retrieving the index of the first jr to access registers. With this new way, we simply always access the first jr. This is working because after the configuration of the JR in ctl (enable_jobrings), the driver checks that there is at least 1 JR. Without this, we could create segfaults. Fixes: e9688f0f05e0 ("MLK-15473-1: crypto: caam: Add CAAM driver support for iMX8 soc family") Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2019-03-11MLK-20958-2 imx8: Replace SC_R_LAST with SC_R_NONE in DTBLeonard Crestez
We are currently using SC_R_LAST as a marker for imx8 power domain tree nodes without a resource attached. This value is compiled into dtb as part of the linux build and used by uboot. The SC_R_LAST constant changes frequently as SCFW resources are added (by design) and every time we need to update linux and uboot headers together or boot can fail. Fix this by replacing SC_R_LAST usage with a new constant SC_R_NONE defined to be 0xFFF0. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-03-05MLK-21046-1 arm64: dts: imx8qm: Change the HDMI TX clocks.Oliver Brown
Need to change the default HDMI TX clocks to 800 MHz for DPLL and 100 MHz for bus. Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
2019-03-05MLK-20718-4: arm64: dts: imx8qm: Use DSI PHY_REF clkRobert Chiras
Until now, the DSI PHY_REF clock was by default ON in SCFW, which made this clock unusable in kernel, therefore, this clock was set as CLK_DUMMY in DSI device nodes. Sinnce this clock was set to OFF in SCFW, now it can be used from kernel, so add it to device nodes so that the driver can use it properly. Signed-off-by: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
2019-02-21MLK-20940-5 ARM64: dts: Add virtual i2c driver support for 8QXP/QMClark Wang
Add new dts and dtsi file for virtual i2c driver on i.MX8QXP and i.MX8QM board. Merge fsl-imx8qm/8qxp-mek-m4.dts to fsl-imx8qm/8qxp-mek-rpmsg.dtsi. So delete these two files. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
2019-02-12MLK-17537-13: arch: arm64: fsl-imx8qm: Add phy_ref clock for DSIRobert Chiras
Currently, the phy_ref clock is also used by dsi_bridge nodes (nwl-dsi driver) in order to set the phy_ref rate needed by a specific mode. Signed-off-by: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
2019-02-12MLK-20060-5 dts: lpspi: add dma mode supportClark Wang
Add dma configurations in dts files, for imx7ulp and imx8qm. There is no "edma0" node in fsl-imx8qm-mek(or lpddr4-arm2)-domu.dts. lpspi0 node has been deleted in these dts files, so delete lpspi3 node. Add edma0a and edma0d for lpspi0 and lpspi3, and enable lpspi0/3 for xen. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com> Acked-by: Fugang Duan <Fugang.duan@nxp.com>
2019-02-12MLK-20691-2: ARM64: dts: freescale: fsl-imx8qm/qxp: add mub-partitionRobin Gong
Add mub-partition property for partition reset notification. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
2019-02-12MLK-20637-1 arm64: dts: reserve per dev dma pool for imx rpmsgRichard Zhu
- reserve per dev dma pool for imx rpmsg - move imx8 rpmsg dts node to the -m4 dts files. - re-allocate the vpu rpc reserved memory on qm mek domu dts. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>
2019-02-12MGS-4438 dts: update imx8 gpu depth compressionXianzhong
disable gpu depth compression for 8qm by default, remove gpu depth compression for 8qxp and m850d. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2019-02-12MLK-20095-3: ASoC: fsl: Differentiate between QXP and QMDaniel Baluta
On QM the DSP is inside the VPU subsystem while in QXP it is inside the Audio DMA subsystem. For this reason there are "subtle" differences. Introduce new compatible string for QM to help us correctly configure the DSP depending on the board they run. dsp_mem_msg structure is shared with the DSP, so by introducing new member dsp_board_type we can let DSP know on which target it runs. Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-02-12MLK-20095-2: arm64: dts: Enable IRQ steer domainDaniel Baluta
When DSP power domain is powered up we also need to power up IRQ steer domain in order to receive interrupts from Audio peripherals. Now the PD hierarchy looks like this: * pd_dsp_irqsteer * pd_dsp_mu_A * pd_dsp_mu_B * pd_dsp_ram * pd_dsp Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-02-12MLK-20441-2 dts: lpspi: Add lpspi3 and its slave dts files for imx8qmClark Wang
For lpspi test, add these two features, use lpspi3 without cs-gpio. Still support spi-nor using lpspi0 with cs-gpio mode. - fsl-imx8qm-device.dtsi: Add node to support lpspi3. - fsl-imx8qm-lpddr4-arm2-lpspi.dts: Add lpspi3 support for imx8qm-lpddr4-arm2 board. - fsl-imx8qm-lpddr4-arm2-lpspi-slave.dts: Enable spi slave mode for lpspi3. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
2019-02-12MLK-20328-9: ARM64: dtsi: imx8qm-device: adjust the expected formatViorel Suman
Default value must be prefixed by "0". Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2019-02-12MGS-4376: gpu: dts: increase reserved size to 256M for imx8Xianzhong
alloc_contig_range easily return -EBUSY when try to isolate pages, there are lots of messages with PFNs busy when run GPU tests. [ 622.370671] alloc_contig_range: [4ea70, 4ea7c) PFNs busy [ 626.518072] alloc_contig_range: [4ea90, 4ea9c) PFNs busy these problems are related wht CMA migration for fragments, need enlarge GPU reserved size to reduce CMA fragments. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2019-02-12MLK-20124-2: arch: arm64: imx8qm: Move irqsteer_hdmi to hdmi dtsSandor Yu
Move irqsteer_hdmi to hdmi specific dts. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
2019-02-12MLK-19955: arm64: dts: fix the qm flexspi clock name and power domainHan Xu
Correct the clock name and power domain for i.MX8QM Flexspi. Signed-off-by: Han Xu <han.xu@nxp.com>
2019-02-12MLK-19850-3 ARM64: dts: fsl-imx8qm-device: enlarge USB PHY register regionPeter Chen
There is a DCD module at USBPHY, the offset is from 0x800. Reviewed-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-02-12MLK-19621: Remove power settings from the encoder driver for mx8qmming_qian
1.remove vpu_set_power 2.split vpu_probe into several functions Signed-off-by: ming_qian <ming.qian@nxp.com>
2019-02-12MLK-19583-2: arm64: dts: Add interrupter for imx hdmi rxSandor Yu
Add cable plugin and plugout interrupter for imx hdmi rx Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
2019-02-12MLK-19557-1 can: flexcan: fix CAN can't suspend on MX8QMJoakim Zhang
The transceiver of FLEXCAN is regulated by i2c I/O Expander which interrupt-parent is intmux, so we must set i2c I/O Expander power domain as the sub power domain of the intmux. In principle, the device tree describes the hardware, so the device tree topology should follow the hardware structure. Here move the definition of FLEXCAN to more suitable location. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2019-02-12MLK-19511-2 ARM64: dts: freescale: imx8qm: move cm4_intmux early_power_on to ↵Anson Huang
board dtb When early_power_on is present in power domain dtb node, it will be powered on during resume regardless of whether the related module is enabled or NOT, this will cause cm4_intmux always power ON after first time resume when cm4_intmux is NOT enabled. So move this early_power_on property to board level dtb, ONLY when cm4_intmux is enabled, then this property is added. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
2019-02-12MLK-19080 ARM64: dts: freescale: imx8x: adjust passive trip point settingAnson Huang
Adjust passive trip point temperature to be 20 degree C below than the critical trip point temperature on i.MX8X platforms. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit cefa63c1b9873e5e60f4db1e77bfecfaf18ff799)
2019-02-12MLK-19413-2 arm64: fsl-imx8qm.dtsi: Add pixel combiner supportLiu Ying
This patch adds pixel combiner nodes support for i.MX8qm DT file and hooks the pixel combiner nodes to the DPU nodes. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-02-12MLK-19258-2 ARM64: dts: fsl-imx8qm-device.dtsi: change name of device modePeter Chen
To satisfy grep "usb" for some scripts in all i.mx platforms. Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-02-12MLK-19227-1: arm64:dts:imx8qm: Add HDMI/DP HPD interrupterSandor Yu
Add HDMI/DP HPD interrupter. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit 36ae1b30f8a2128128698f6496b28549a90721ee)
2019-02-12MLK-19114-1 arm64: fsl-imx8qm.dtsi: Add aux prg for dpr1/3_channel2Liu Ying
With the updated i.MX8QM silicon, prg1/10 may be shared bewteen dpr1/3_channel1 and dpr1/3_channel2 respectively with appropriate mux configurations in SCU firmware. If prg1/10 are attached to dpr1/3_channel2, then they act as the auxiliary prg to process chroma pixels for SC_R_DC_0/1_BLIT1. Otherwise, they act as the primary prg to process RGB pixels for SC_R_DC_0/1_BLIT0. Let's reflect this update in the device tree file. Signed-off-by: Liu Ying <victor.liu@nxp.com> (cherry picked from commit dab218c3c46644215f5709e03729bbe9ba3b5823)
2019-02-12MLK-19166-6 arm64: dts: imx8qm: add flexcan supportXiaoning Wang
Add flexcan 1, 2 ,3 support for imx8qm. Signed-off-by: Xiaoning Wang <xiaoning.wang@nxp.com>
2019-02-12MLK-19226 VPU: Add support for i.MX8QM B0 vpu decoder and encoderHuang Chaofan
Add support for i.MX8QM B0 vpu decoder and encoder and it is compatiable with i.MX8QXP B0 VPU. Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com> (cherry picked from commit f2d7823da29c55644299eea84a2e866ea188c698)
2019-02-12MLK-17481-3: ASoC: fsl: Fix DSP memory mappingsDaniel Baluta
We load DSP firmware from the ARM side at 0x556e8000 but because the compiler generated memory layout starts at 0x596e8000 we need to do some fixups. Thus, each address (in DSP local memory) generated by the compiler needs to be substracted an offset = 0x596e8000 - 0x556e8000 = 0x4000000. Because this only happens on QM we will use dts to specify the offset. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit 8d4518d2a5d956549e829470af15003d7adff841)
2019-02-12MLK-17481-2: ARM64: dts: imx8qm: Enable DSPDaniel Baluta
i.mx8QM B0 comes with a DSP (placed in the VPU unit). From the ARM core side DSP local memory (Inst/Data) is mapped at 0x55000000-0x55FFFFFF range. DSP also uses code located in SDRAM mapping starting at 0x92400000. While at it, move rpmsg_node up in order to have all reserved areas sorted by address. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit 1eb4b2ee64c6f1fd7a5d6ceb1f019e876dbdfeb9)
2019-02-12MLK-19119 arm64: dts: imx8qm: Correct bus clock for HDMI Interrupt SteerOliver Brown
The Local Interrupt Steer Clock Bus Clock (LIS IPG) should be 83.375 MHz. Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
2019-02-12MLK-18082: ARM: dts: imx: Change size of caam-sm to correct sizeFranck LENORMAND
The resources retrieved by CAAM driver was wrong as the size was not correct hence future uses might have issues. before: [ 3.010744] caam 30900000.caam: sm res: [start: 0000000000100000, end: 0000000000107ffe, name: /caam-sm@00100000, flags:0x200 desc:0x0] -> size: 0x7fff modif to actual size: [ 3.012495] caam 30900000.caam: sm res: [start: 0000000000100000, end: 0000000000107fff, name: /caam-sm@00100000, flags:0x200 desc:0x0] -> size: 0x8000 Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2019-02-12MLK-18082: crypto: caam: Minimal fix for QX panicFranck LENORMAND
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2019-02-12MLK-18082: boot: dtsi: Align DTSIFranck LENORMAND
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>