blob: 9b32d0272825fcb172c0ef720c30f74c4202e0f5 [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";
46
47 partition@0 {
48 label = "u-boot";
49 reg = <0x0000000 0x100000>;
50 read-only;
51 };
52
53 partition@100000 {
54 label = "uImage";
55 reg = <0x0100000 0x500000>;
56 };
57
58 partition@600000 {
59 label = "ramdisk";
60 reg = <0x0600000 0x500000>;
61 };
62
63 partition@b00000 {
64 label = "image";
65 reg = <0x0b00000 0x6600000>;
66 };
67
68 partition@7100000 {
69 label = "mini firmware";
70 reg = <0x7100000 0xa00000>;
71 };
72
73 partition@7b00000 {
74 label = "config";
75 reg = <0x7b00000 0x500000>;
76 };
77 };
78 };
79};