Commit | Line | Data |
---|---|---|
5b60c145 JL |
1 | /include/ "kirkwood.dtsi" |
2 | ||
3 | / { | |
4 | model = "D-Link DNS NASes (kirkwood-based)"; | |
f39c1101 | 5 | compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
5b60c145 | 6 | |
bb53d827 JL |
7 | 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 | ||
1b90e06b JL |
28 | 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 | ||
2c0e7ee6 AL |
38 | gpio_poweroff { |
39 | compatible = "gpio-poweroff"; | |
40 | gpios = <&gpio1 4 0>; | |
41 | }; | |
42 | ||
5b60c145 JL |
43 | ocp@f1000000 { |
44 | sata@80000 { | |
45 | status = "okay"; | |
46 | nr-ports = <2>; | |
47 | }; | |
48 | ||
49 | nand@3000000 { | |
50 | status = "okay"; | |
f4a00139 | 51 | chip-delay = <35>; |
5b60c145 JL |
52 | |
53 | partition@0 { | |
54 | label = "u-boot"; | |
55 | reg = <0x0000000 0x100000>; | |
56 | read-only; | |
57 | }; | |
58 | ||
59 | partition@100000 { | |
60 | label = "uImage"; | |
61 | reg = <0x0100000 0x500000>; | |
62 | }; | |
63 | ||
64 | partition@600000 { | |
65 | label = "ramdisk"; | |
66 | reg = <0x0600000 0x500000>; | |
67 | }; | |
68 | ||
69 | partition@b00000 { | |
70 | label = "image"; | |
71 | reg = <0x0b00000 0x6600000>; | |
72 | }; | |
73 | ||
74 | partition@7100000 { | |
75 | label = "mini firmware"; | |
76 | reg = <0x7100000 0xa00000>; | |
77 | }; | |
78 | ||
79 | partition@7b00000 { | |
80 | label = "config"; | |
81 | reg = <0x7b00000 0x500000>; | |
82 | }; | |
83 | }; | |
84 | }; | |
85 | }; |