From: Ye Li Date: Thu, 5 Dec 2019 06:11:03 +0000 (-0800) Subject: LF-362-1 arm64: dts: imx8mq: Add gpmi and apbh-dma nodes X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~567 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=5f53bbf21688f14636d65e2b468648eddb17108b;p=linux.git LF-362-1 arm64: dts: imx8mq: Add gpmi and apbh-dma nodes Add gpmi and apbh-dma nodes to i.MX8MQ DTSi. Both are used by RAWNAND driver. Signed-off-by: Ye Li Reviewed-by: Jacky Bai --- diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index a639d5203d86..5d0da2d0a37b 100755 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1454,6 +1454,35 @@ power-domains = <&pgc_vpu>; }; + dma_apbh: dma-apbh@33000000 { + compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; + reg = <0x33000000 0x2000>; + interrupts = , + , + , + ; + interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; + #dma-cells = <1>; + dma-channels = <4>; + clocks = <&clk IMX8MQ_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; + }; + + gpmi: gpmi-nand@33002000{ + compatible = "fsl,imx7d-gpmi-nand"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x33002000 0x2000>, <0x33004000 0x4000>; + reg-names = "gpmi-nand", "bch"; + interrupts = ; + interrupt-names = "bch"; + clocks = <&clk IMX8MQ_CLK_RAWNAND_ROOT>, + <&clk IMX8MQ_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; + clock-names = "gpmi_io", "gpmi_bch_apb"; + dmas = <&dma_apbh 0>; + dma-names = "rx-tx"; + status = "disabled"; + }; + pcie0: pcie@33800000 { compatible = "fsl,imx8mq-pcie"; reg = <0x33800000 0x400000>,