diff options
author | Roger Quadros <rogerq@ti.com> | 2016-02-23 17:37:21 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-02-26 19:32:14 +0100 |
commit | 03752148384652743069776e7023a8e46ed9164b (patch) | |
tree | c0c7302cb8d2705720a5c536d4924f992fb88116 /arch/arm/boot/dts/am335x-igep0033.dtsi | |
parent | ARM: dts: am437x: Disable wait pin monitoring for NAND (diff) | |
download | linux-03752148384652743069776e7023a8e46ed9164b.tar.xz linux-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-igep0033.dtsi')
-rw-r--r-- | arch/arm/boot/dts/am335x-igep0033.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index 54f113546ecc..4cfe0419a535 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi @@ -11,6 +11,7 @@ /dts-v1/; #include "am33xx.dtsi" +#include <dt-bindings/interrupt-controller/irq.h> / { cpus { @@ -129,7 +130,11 @@ 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 */ nand-bus-width = <8>; ti,nand-ecc-opt = "bch8"; gpmc,device-width = <1>; |