ARM: dts: kirkwood: Add DTS for Zyxel NSA325
Add a new DTS file to support the Zyxel NSA325(v2) dual bay NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47. This en/disables the power for the hdd in slot2, currently fixed to on.
Signed-off-by Hans Ulli Kroll <[email protected]>
---
Patch is resend due an copy&paste error for the linus arm mailing list. Sorry for the noise.
Greetings from Cologne
Hans Ulli Kroll
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/kirkwood-nsa325.dts | 298 ++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-nsa325.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -193,6 +193,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \ kirkwood-ns2mini.dtb \ kirkwood-nsa310.dtb \ kirkwood-nsa310a.dtb \ + kirkwood-nsa325.dtb \ kirkwood-openblocks_a6.dtb \ kirkwood-openblocks_a7.dtb \ kirkwood-openrd-base.dtb \
arch/arm/boot/dts/kirkwood-nsa325.dts new file +298 -0
298 lines not on this page · raw message
Signature · 1 line
2.6.0
Quoted 8 lines
arch/arm/boot/dts/kirkwood-nsa325.dts new file +8
-0+ serial at 12000 { + status = "ok"; + }; + + sata at 80000 { + status = "okay"; + nr-ports = <2>; + };
arch/arm/boot/dts/kirkwood-nsa325.dts line 167
Quoted 10 lines
arch/arm/boot/dts/kirkwood-nsa325.dts new file +10
-0+ }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_hdd2_green &pmx_led_hdd2_red + &pmx_led_usb_green + &pmx_led_sys_green &pmx_led_sys_orange + &pmx_led_copy_green &pmx_led_copy_red + &pmx_led_hdd1_green &pmx_led_hdd1_red>; + pinctrl-names = "default";
Hi Hans
There is some odd indentation going on here, and in other parts of the file.
arch/arm/boot/dts/kirkwood-nsa325.dts line 242
Quoted 9 lines
arch/arm/boot/dts/kirkwood-nsa325.dts new file +9
-0+ +&nand { + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "uboot"; + reg = <0x0000000 0x0100000>; + };
The partitions should be inside a partitions node. See Documentation/devicetree/bindings/mtd/partition.txt