[PATCH 2/2] ARM: dts: omap3-devkit8000: add nand dt node
Add the needed sections to enable nand support on Devkit8000. Add nand partitions information. Signed-off-by: Anil Kumar --- :100644 100644 6338993... 6c6decf... M arch/arm/boot/dts/omap3-devkit8000.dts arch/arm/boot/dts/omap3-devkit8000.dts | 52 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 6338993..6c6decf 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -101,3 +101,55 @@ { status = "disabled"; }; + + { + ranges = <0 0 0x3000 0x04>; /* CS0: NAND */ + + nand@0,0 { + reg = <0 0 0>; /* CS0, offset 0 */ + nand-bus-width = <16>; + + gpmc,sync-clk = <0>; + gpmc,cs-on = <0>; + gpmc,cs-rd-off = <44>; + gpmc,cs-wr-off = <44>; + gpmc,adv-on = <6>; + gpmc,adv-rd-off = <34>; + gpmc,adv-wr-off = <44>; + gpmc,we-off = <40>; + gpmc,oe-off = <54>; + gpmc,access = <64>; + gpmc,rd-cycle = <82>; + gpmc,wr-cycle = <82>; + gpmc,wr-access = <40>; + gpmc,wr-data-mux-bus = <0>; + + #address-cells = <1>; + #size-cells = <1>; + + x-loader@0 { + label = "X-Loader"; + reg = <0 0x8>; + }; + + bootloaders@8 { + label = "U-Boot"; + reg = <0x8 0x1e>; + }; + + bootloaders_env@26 { + label = "U-Boot Env"; + reg = <0x26 0x2>; + }; + + kernel@28 { + label = "Kernel"; + reg = <0x28 0x40>; + }; + + filesystem@68 { + label = "File System"; + reg = <0x68 0xf98>; + }; + }; +}; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 2/2] ARM: dts: omap3-devkit8000: add nand dt node
Add the needed sections to enable nand support on Devkit8000. Add nand partitions information. Signed-off-by: Anil Kumar anilk...@gmail.com --- :100644 100644 6338993... 6c6decf... M arch/arm/boot/dts/omap3-devkit8000.dts arch/arm/boot/dts/omap3-devkit8000.dts | 52 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 6338993..6c6decf 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -101,3 +101,55 @@ mcbsp5 { status = disabled; }; + +gpmc { + ranges = 0 0 0x3000 0x04; /* CS0: NAND */ + + nand@0,0 { + reg = 0 0 0; /* CS0, offset 0 */ + nand-bus-width = 16; + + gpmc,sync-clk = 0; + gpmc,cs-on = 0; + gpmc,cs-rd-off = 44; + gpmc,cs-wr-off = 44; + gpmc,adv-on = 6; + gpmc,adv-rd-off = 34; + gpmc,adv-wr-off = 44; + gpmc,we-off = 40; + gpmc,oe-off = 54; + gpmc,access = 64; + gpmc,rd-cycle = 82; + gpmc,wr-cycle = 82; + gpmc,wr-access = 40; + gpmc,wr-data-mux-bus = 0; + + #address-cells = 1; + #size-cells = 1; + + x-loader@0 { + label = X-Loader; + reg = 0 0x8; + }; + + bootloaders@8 { + label = U-Boot; + reg = 0x8 0x1e; + }; + + bootloaders_env@26 { + label = U-Boot Env; + reg = 0x26 0x2; + }; + + kernel@28 { + label = Kernel; + reg = 0x28 0x40; + }; + + filesystem@68 { + label = File System; + reg = 0x68 0xf98; + }; + }; +}; -- 1.7.0.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/