diff options
author | Roger Quadros <rogerq@ti.com> | 2016-02-23 17:37:25 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-02-26 19:32:14 +0100 |
commit | 44e4716499b8988a20ba99ba5c871cdbf1c819fd (patch) | |
tree | d1c4994201c69bbfa7d8d4443e2533d9dfd059c3 /arch/arm/boot/dts/omap3-evm-37xx.dts | |
parent | ARM: dts: dm8168-evm: ARM: dts: Disable wait pin monitoring for NAND (diff) | |
download | linux-44e4716499b8988a20ba99ba5c871cdbf1c819fd.tar.xz linux-44e4716499b8988a20ba99ba5c871cdbf1c819fd.zip |
ARM: dts: omap3: Fix NAND device nodes
Add compatible id, GPMC register resource and interrupt
resource to NAND controller nodes.
The GPMC node will provide an interrupt controller for the
NAND IRQs.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-evm-37xx.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-evm-37xx.dts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3-evm-37xx.dts b/arch/arm/boot/dts/omap3-evm-37xx.dts index ac188657a95d..76056ba92ced 100644 --- a/arch/arm/boot/dts/omap3-evm-37xx.dts +++ b/arch/arm/boot/dts/omap3-evm-37xx.dts @@ -154,12 +154,16 @@ }; &gpmc { - ranges = <0 0 0x00000000 0x1000000>, /* CS0: 16MB for NAND */ + ranges = <0 0 0x30000000 0x1000000>, /* CS0: 16MB for NAND */ <5 0 0x2c000000 0x01000000>; nand@0,0 { + compatible = "ti,omap2-nand"; + reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ + interrupt-parent = <&gpmc>; + interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ + <1 IRQ_TYPE_NONE>; /* termcount */ linux,mtd-name= "hynix,h8kds0un0mer-4em"; - reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ nand-bus-width = <16>; gpmc,device-width = <2>; ti,nand-ecc-opt = "bch8"; |