Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6ul: add gpmi support

Add the device node for the i.MX6UL GPMI interface and the related
APBH DMA which is necessary for the GPMI to work properly.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Lothar Waßmann and committed by
Shawn Guo
7d1cd297 6fe01eb7

+33
+33
arch/arm/boot/dts/imx6ul.dtsi
··· 141 141 reg = <0x00900000 0x20000>; 142 142 }; 143 143 144 + dma_apbh: dma-apbh@01804000 { 145 + compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh"; 146 + reg = <0x01804000 0x2000>; 147 + interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>, 148 + <0 13 IRQ_TYPE_LEVEL_HIGH>, 149 + <0 13 IRQ_TYPE_LEVEL_HIGH>, 150 + <0 13 IRQ_TYPE_LEVEL_HIGH>; 151 + interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 152 + #dma-cells = <1>; 153 + dma-channels = <4>; 154 + clocks = <&clks IMX6UL_CLK_APBHDMA>; 155 + }; 156 + 157 + gpmi: gpmi-nand@01806000 { 158 + compatible = "fsl,imx6q-gpmi-nand"; 159 + #address-cells = <1>; 160 + #size-cells = <1>; 161 + reg = <0x01806000 0x2000>, <0x01808000 0x2000>; 162 + reg-names = "gpmi-nand", "bch"; 163 + interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; 164 + interrupt-names = "bch"; 165 + clocks = <&clks IMX6UL_CLK_GPMI_IO>, 166 + <&clks IMX6UL_CLK_GPMI_APB>, 167 + <&clks IMX6UL_CLK_GPMI_BCH>, 168 + <&clks IMX6UL_CLK_GPMI_BCH_APB>, 169 + <&clks IMX6UL_CLK_PER_BCH>; 170 + clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch", 171 + "gpmi_bch_apb", "per1_bch"; 172 + dmas = <&dma_apbh 0>; 173 + dma-names = "rx-tx"; 174 + status = "disabled"; 175 + }; 176 + 144 177 aips1: aips-bus@02000000 { 145 178 compatible = "fsl,aips-bus", "simple-bus"; 146 179 #address-cells = <1>;