As agreed with Arnd Bergmann and Jason Cooper, include any board setup that cannot be done in devicetree in board-dt.c, then replace with devicetree entries.
The NAND driver is converted to devicetree as part of this patch series, although I don't feel qualified to explain the parameters actually mean so have left documentation fields blank. The patches should apply cleanly to staging/kirkwood/dt, although kirkwood-dns320.dts attempts to override the orion-wdt definition with a lower TCLK, even though the orion-wdt work isn't merged yet. If this would be better to remove I shall. Cheers, Jamie Lentin (2): ARM: kirkwood: Basic support for DNS-320 and DNS-325 ARM: kirkwood: Convert orion-nand to fdt .../devicetree/bindings/mtd/orion-nand.txt | 41 +++ arch/arm/boot/dts/kirkwood-dns320.dts | 96 +++++++ arch/arm/boot/dts/kirkwood-dns325.dts | 82 ++++++ arch/arm/mach-kirkwood/Kconfig | 18 ++ arch/arm/mach-kirkwood/Makefile.boot | 2 + arch/arm/mach-kirkwood/board-dt.c | 264 ++++++++++++++++++++ arch/arm/mach-kirkwood/common.c | 6 + drivers/mtd/nand/orion_nand.c | 39 +++- 8 files changed, 546 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt create mode 100644 arch/arm/boot/dts/kirkwood-dns320.dts create mode 100644 arch/arm/boot/dts/kirkwood-dns325.dts -- 1.7.9.1 _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
