Commit | Line | Data |
---|---|---|
f5520363 SB |
1 | /dts-v1/; |
2 | ||
3 | /include/ "kirkwood.dtsi" | |
4 | ||
5 | / { | |
6 | model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)"; | |
77843504 | 7 | compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
f5520363 SB |
8 | |
9 | memory { | |
10 | device_type = "memory"; | |
11 | reg = <0x00000000 0x10000000>; | |
12 | }; | |
13 | ||
14 | chosen { | |
15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
16 | }; | |
17 | ||
18 | ocp@f1000000 { | |
19 | serial@12000 { | |
20 | clock-frequency = <200000000>; | |
21 | status = "okay"; | |
22 | }; | |
23 | ||
2cef1a28 AL |
24 | sata@80000 { |
25 | status = "okay"; | |
26 | nr-ports = <2>; | |
27 | }; | |
28 | ||
f5520363 SB |
29 | nand@3000000 { |
30 | status = "okay"; | |
31 | ||
32 | partition@0 { | |
33 | label = "u-boot"; | |
34 | reg = <0x0000000 0x100000>; | |
35 | }; | |
36 | ||
37 | partition@100000 { | |
38 | label = "uImage"; | |
39 | reg = <0x0100000 0x600000>; | |
40 | }; | |
41 | ||
42 | partition@700000 { | |
43 | label = "root"; | |
44 | reg = <0x0700000 0xf900000>; | |
45 | }; | |
46 | ||
47 | }; | |
48 | }; | |
c06c7ca7 AL |
49 | |
50 | gpio_keys { | |
51 | compatible = "gpio-keys"; | |
52 | #address-cells = <1>; | |
53 | #size-cells = <0>; | |
54 | button@1 { | |
55 | label = "USB Copy"; | |
56 | linux,code = <133>; | |
57 | gpios = <&gpio0 29 1>; | |
58 | }; | |
59 | button@2 { | |
60 | label = "Reset"; | |
61 | linux,code = <0x198>; | |
62 | gpios = <&gpio0 28 1>; | |
63 | }; | |
64 | }; | |
157727d6 AL |
65 | gpio-leds { |
66 | compatible = "gpio-leds"; | |
67 | ||
68 | green-os { | |
69 | label = "ib62x0:green:os"; | |
70 | gpios = <&gpio0 25 0>; | |
71 | linux,default-trigger = "default-on"; | |
72 | }; | |
73 | red-os { | |
74 | label = "ib62x0:red:os"; | |
75 | gpios = <&gpio0 22 0>; | |
76 | }; | |
77 | usb-copy { | |
78 | label = "ib62x0:red:usb_copy"; | |
79 | gpios = <&gpio0 27 0>; | |
80 | }; | |
81 | }; | |
21040352 AL |
82 | gpio_poweroff { |
83 | compatible = "gpio-poweroff"; | |
84 | gpios = <&gpio0 24 0>; | |
85 | }; | |
86 | ||
87 | ||
f5520363 | 88 | }; |