ARM: OMAP: dts: add n8x0 onenand
Subsystems (4)
Aaro Koskinen
maintainerPATCH 1/1 ARM: OMAP: dts: add n8x0 onenand
Convert onenand to DT on n8x0 boards.
Signed-off-by Aaro Koskinen <[email protected]>
---
This patch is based on top of Tony's 2420 DT patches.
arch/arm/boot/dts/omap2420-n8x0-common.dtsi | 65 +++++++++++++++++++++++++++++ arch/arm/mach-omap2/board-n8x0.c | 44 ------------------- 2 files changed, 65 insertions(+), 44 deletions(-)
arch/arm/boot/dts/omap2420-n8x0-common.dtsi +65 -0
@@ -32,3 +32,68 @@ &i2c2 { clock-frequency = <400000>; }; + +&gpmc { + ranges = <0 0 0x04000000 0x10000000>; + + /* gpio-irq for dma: 26 */ + + onenand at 0,0 { + #address-cells = <1>; + #size-cells = <1>; + reg = <0 0 0x10000000>; + + gpmc,sync-read; + gpmc,burst-length = <16>; + gpmc,burst-read; + gpmc,burst-wrap; + gpmc,device-width = <2>; + gpmc,mux-add-data = <2>; + gpmc,cs-on-ns = <0>; + gpmc,cs-rd-off-ns = <127>; + gpmc,cs-wr-off-ns = <109>; + gpmc,adv-on-ns = <0>; + gpmc,adv-rd-off-ns = <18>; + gpmc,adv-wr-off-ns = <18>; + gpmc,oe-on-ns = <27>; + gpmc,oe-off-ns = <127>; + gpmc,we-on-ns = <27>; + gpmc,we-off-ns = <72>; + gpmc,rd-cycle-ns = <145>; + gpmc,wr-cycle-ns = <136>; + gpmc,access-ns = <118>; + gpmc,page-burst-access-ns = <27>; + gpmc,bus-turnaround-ns = <0>; + gpmc,cycle2cycle-delay-ns = <0>; + gpmc,wait-monitoring-ns = <0>; + gpmc,clk-activation-ns = <9>; + gpmc,sync-clk-ps = <27000>; + + /* MTD partition table corresponding to old board-n8x0 file. */ + partition at 0 { + label = "bootloader"; + reg = <0x00000000 0x00020000>; + read-only; + }; + partition at 1 { + label = "config"; + reg = <0x00020000 0x00060000>; + }; + partition at 2 { + label = "kernel"; + reg = <0x00080000 0x00200000>; + }; + partition at 3 { + label = "initfs"; + reg = <0x00280000 0x00400000>; + }; + partition at 4 { + label = "rootfs"; + reg = <0x00680000 0x0f980000>; + }; + partition at 5 { + label = "omap2-onenand"; + reg = <0x00000000 0x10000000>; + }; + }; +};
arch/arm/mach-omap2/board-n8x0.c +0 -44
56 lines not on this page · raw message
Signature · 1 line
1.8.4.3
Tony Lindgren
maintainerPATCH 1/1 ARM: OMAP: dts: add n8x0 onenand
Quoted 1 line · Aaro Koskinen
Convert onenand to DT on n8x0 boards.
Thanks, applying into omap-for-v3.14/board-removal branch.
Regards,
Tony