summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-evm.dts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-02-23 18:37:21 +0200
committerTony Lindgren <tony@atomide.com>2016-02-26 10:32:14 -0800
commit03752148384652743069776e7023a8e46ed9164b (patch)
treec0c7302cb8d2705720a5c536d4924f992fb88116 /arch/arm/boot/dts/am335x-evm.dts
parentcb9ea8b693000e86bfc08673869221228c90254e (diff)
downloadlwn-03752148384652743069776e7023a8e46ed9164b.tar.gz
lwn-03752148384652743069776e7023a8e46ed9164b.zip
ARM: dts: am335x: 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. Cc: Teresa Remmet <t.remmet@phytec.de> Cc: Ilya Ledvich <ilya@compulab.co.il> Cc: Yegor Yefremov <yegorslists@googlemail.com> Cc: Rostislav Lisovy <lisovy@gmail.com> Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evm.dts')
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 0d6a68ce434a..4e7a53e6a260 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -519,7 +519,11 @@
pinctrl-0 = <&nandflash_pins_s0>;
ranges = <0 0 0x08000000 0x1000000>; /* 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 */
ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>;
nand-bus-width = <8>;