@@ -569,9 +569,11 @@
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&nand_flash_x16>;
- ranges = <0 0 0 0x01000000>; /* minimum GPMC partition = 16MB */
+ ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
nand@0,0 {
+ compatible = "ti,omap2-nand";
reg = <0 0 4>; /* device IO registers */
+ interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>;
nand-bus-width = <16>;
@@ -384,7 +384,8 @@
/* Chip select 0 */
nand@0,0 {
- reg = <0 0 4>; /* NAND I/O window, 4 bytes */
+ compatible = "ti,omap2-nand";
+ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupts = <20>;
ti,nand-ecc-opt = "ham1";
nand-bus-width = <16>;
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. TODO: For now only dra7-evm and omap3-beagle are fixed. Once series is reviewed I'll update this patch to fix all omap boards. Signed-off-by: Roger Quadros <rogerq@ti.com> --- arch/arm/boot/dts/dra7-evm.dts | 4 +++- arch/arm/boot/dts/omap3-beagle.dts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-)