blob: fd23e63d7dbc74ed531fc0ebb3b2252f3e2e1a8c [file] [log] [blame]
Jamie Lentin5b60c142012-07-19 21:30:59 +01001/include/ "kirkwood.dtsi"
2
3/ {
4 model = "D-Link DNS NASes (kirkwood-based)";
Andrew Lunnf39c1102012-07-18 19:22:54 +02005 compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jamie Lentin5b60c142012-07-19 21:30:59 +01006
Jamie Lentinbb53d822012-07-19 21:31:00 +01007 gpio_keys {
8 compatible = "gpio-keys";
9 #address-cells = <1>;
10 #size-cells = <0>;
11 button@1 {
12 label = "Power button";
13 linux,code = <116>;
14 gpios = <&gpio1 2 1>;
15 };
16 button@2 {
17 label = "USB unmount button";
18 linux,code = <161>;
19 gpios = <&gpio1 15 1>;
20 };
21 button@3 {
22 label = "Reset button";
23 linux,code = <0x198>;
24 gpios = <&gpio1 16 1>;
25 };
26 };
27
Jamie Lentin1b90e062012-09-10 14:51:52 +010028 gpio_fan {
29 /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */
30 compatible = "gpio-fan";
31 gpios = <&gpio1 14 1
32 &gpio1 13 1>;
33 gpio-fan,speed-map = <0 0
34 3000 1
35 6000 2>;
36 };
37
Jamie Lentin5b60c142012-07-19 21:30:59 +010038 ocp@f1000000 {
39 sata@80000 {
40 status = "okay";
41 nr-ports = <2>;
42 };
43
44 nand@3000000 {
45 status = "okay";
Jamie Lentinf4a00132012-11-01 21:57:01 +000046 chip-delay = <35>;
Jamie Lentin5b60c142012-07-19 21:30:59 +010047
48 partition@0 {
49 label = "u-boot";
50 reg = <0x0000000 0x100000>;
51 read-only;
52 };
53
54 partition@100000 {
55 label = "uImage";
56 reg = <0x0100000 0x500000>;
57 };
58
59 partition@600000 {
60 label = "ramdisk";
61 reg = <0x0600000 0x500000>;
62 };
63
64 partition@b00000 {
65 label = "image";
66 reg = <0x0b00000 0x6600000>;
67 };
68
69 partition@7100000 {
70 label = "mini firmware";
71 reg = <0x7100000 0xa00000>;
72 };
73
74 partition@7b00000 {
75 label = "config";
76 reg = <0x7b00000 0x500000>;
77 };
78 };
79 };
80};