diff options
author | Roger Quadros <rogerq@ti.com> | 2016-02-23 18:37:25 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-02-26 10:32:14 -0800 |
commit | 44e4716499b8988a20ba99ba5c871cdbf1c819fd (patch) | |
tree | d1c4994201c69bbfa7d8d4443e2533d9dfd059c3 /arch/arm/boot/dts/omap3-cm-t3x.dtsi | |
parent | 6607fac8f45a33a2b66c64c90d7c37d39d6f0d69 (diff) | |
download | linux-stable-44e4716499b8988a20ba99ba5c871cdbf1c819fd.tar.gz linux-stable-44e4716499b8988a20ba99ba5c871cdbf1c819fd.tar.bz2 linux-stable-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-cm-t3x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x.dtsi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi index e5f7f5c92c1a..a8127bc31fd9 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi @@ -261,10 +261,14 @@ }; &gpmc { - ranges = <0 0 0x00000000 0x01000000>; + ranges = <0 0 0x30000000 0x01000000>; /* CS0: 16MB for NAND */ 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 */ nand-bus-width = <8>; gpmc,device-width = <1>; ti,nand-ecc-opt = "sw"; |