blob: 9368382eac2b361ef57e512a33bd197c93b92a63 [file] [log] [blame]
Jamie Lentin9007d102012-04-18 11:06:40 +01001/dts-v1/;
2
3/include/ "kirkwood.dtsi"
4
5/ {
6 model = "D-Link DNS-320 NAS (Rev A1)";
Andrew Lunn77843502012-07-18 19:22:54 +02007 compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jamie Lentin9007d102012-04-18 11:06:40 +01008
9 memory {
10 device_type = "memory";
11 reg = <0x00000000 0x8000000>;
12 };
13
14 chosen {
15 bootargs = "console=ttyS0,115200n8 earlyprintk";
16 };
17
Jamie Lentin09059e92012-07-19 21:30:58 +010018 gpio-leds {
19 compatible = "gpio-leds";
20 blue-power {
21 label = "dns320:blue:power";
22 gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
23 linux,default-trigger = "default-on";
24 };
25 blue-usb {
26 label = "dns320:blue:usb";
27 gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
28 };
29 orange-l_hdd {
30 label = "dns320:orange:l_hdd";
31 gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
32 };
33 orange-r_hdd {
34 label = "dns320:orange:r_hdd";
35 gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
36 };
37 orange-usb {
38 label = "dns320:orange:usb";
39 gpios = <&gpio1 3 1>; /* GPIO 35 Active Low */
40 };
41 };
42
Jamie Lentin9007d102012-04-18 11:06:40 +010043 ocp@f1000000 {
44 serial@12000 {
45 clock-frequency = <166666667>;
46 status = "okay";
47 };
48
49 serial@12100 {
50 clock-frequency = <166666667>;
51 status = "okay";
52 };
Jamie Lentinee248762012-04-18 11:06:43 +010053
Andrew Lunn2cef1a22012-06-10 16:58:11 +020054 sata@80000 {
55 status = "okay";
56 nr-ports = <2>;
57 };
58
Jamie Lentinee248762012-04-18 11:06:43 +010059 nand@3000000 {
60 status = "okay";
61
62 partition@0 {
63 label = "u-boot";
64 reg = <0x0000000 0x100000>;
65 read-only;
66 };
67
68 partition@100000 {
69 label = "uImage";
70 reg = <0x0100000 0x500000>;
71 };
72
73 partition@600000 {
74 label = "ramdisk";
75 reg = <0x0600000 0x500000>;
76 };
77
78 partition@b00000 {
79 label = "image";
80 reg = <0x0b00000 0x6600000>;
81 };
82
83 partition@7100000 {
84 label = "mini firmware";
85 reg = <0x7100000 0xa00000>;
86 };
87
88 partition@7b00000 {
89 label = "config";
90 reg = <0x7b00000 0x500000>;
91 };
92 };
Jamie Lentin9007d102012-04-18 11:06:40 +010093 };
94};