|
1 | 1 | /dts-v1/; |
2 | 2 |
|
3 | | -/include/ "kirkwood.dtsi" |
| 3 | +/include/ "kirkwood-dnskw.dtsi" |
4 | 4 |
|
5 | 5 | / { |
6 | 6 | model = "D-Link DNS-325 NAS (Rev A1)"; |
7 | | - compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; |
| 7 | + compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
8 | 8 |
|
9 | 9 | memory { |
10 | 10 | device_type = "memory"; |
|
15 | 15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
16 | 16 | }; |
17 | 17 |
|
18 | | - ocp@f1000000 { |
19 | | - serial@12000 { |
20 | | - clock-frequency = <200000000>; |
21 | | - status = "okay"; |
| 18 | + gpio-leds { |
| 19 | + compatible = "gpio-leds"; |
| 20 | + white-power { |
| 21 | + label = "dns325:white:power"; |
| 22 | + gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */ |
| 23 | + linux,default-trigger = "default-on"; |
| 24 | + }; |
| 25 | + white-usb { |
| 26 | + label = "dns325:white:usb"; |
| 27 | + gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */ |
| 28 | + }; |
| 29 | + red-l_hdd { |
| 30 | + label = "dns325:red:l_hdd"; |
| 31 | + gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */ |
22 | 32 | }; |
| 33 | + red-r_hdd { |
| 34 | + label = "dns325:red:r_hdd"; |
| 35 | + gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */ |
| 36 | + }; |
| 37 | + red-usb { |
| 38 | + label = "dns325:red:usb"; |
| 39 | + gpios = <&gpio0 29 1>; /* GPIO 29 Active Low */ |
| 40 | + }; |
| 41 | + }; |
23 | 42 |
|
24 | | - nand@3000000 { |
| 43 | + ocp@f1000000 { |
| 44 | + i2c@11000 { |
25 | 45 | status = "okay"; |
26 | 46 |
|
27 | | - partition@0 { |
28 | | - label = "u-boot"; |
29 | | - reg = <0x0000000 0x100000>; |
30 | | - read-only; |
31 | | - }; |
32 | | - |
33 | | - partition@100000 { |
34 | | - label = "uImage"; |
35 | | - reg = <0x0100000 0x500000>; |
36 | | - }; |
37 | | - |
38 | | - partition@600000 { |
39 | | - label = "ramdisk"; |
40 | | - reg = <0x0600000 0x500000>; |
41 | | - }; |
42 | | - |
43 | | - partition@b00000 { |
44 | | - label = "image"; |
45 | | - reg = <0x0b00000 0x6600000>; |
46 | | - }; |
47 | | - |
48 | | - partition@7100000 { |
49 | | - label = "mini firmware"; |
50 | | - reg = <0x7100000 0xa00000>; |
51 | | - }; |
52 | | - |
53 | | - partition@7b00000 { |
54 | | - label = "config"; |
55 | | - reg = <0x7b00000 0x500000>; |
| 47 | + lm75: lm75@48 { |
| 48 | + compatible = "national,lm75"; |
| 49 | + reg = <0x48>; |
56 | 50 | }; |
57 | 51 | }; |
| 52 | + serial@12000 { |
| 53 | + clock-frequency = <200000000>; |
| 54 | + status = "okay"; |
| 55 | + }; |
58 | 56 | }; |
59 | 57 | }; |
0 commit comments