Commit | Line | Data |
---|---|---|
9007d100 JL |
1 | /dts-v1/; |
2 | ||
0ab6129c | 3 | #include "kirkwood-dnskw.dtsi" |
9007d100 JL |
4 | |
5 | / { | |
6 | model = "D-Link DNS-325 NAS (Rev A1)"; | |
77843504 | 7 | compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
9007d100 JL |
8 | |
9 | memory { | |
10 | device_type = "memory"; | |
11 | reg = <0x00000000 0x10000000>; | |
12 | }; | |
13 | ||
14 | chosen { | |
15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
ab833614 | 16 | stdout-path = &uart0; |
9007d100 JL |
17 | }; |
18 | ||
09059e9f JL |
19 | gpio-leds { |
20 | compatible = "gpio-leds"; | |
01369fe1 TP |
21 | pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325 |
22 | &pmx_led_red_left_hdd &pmx_led_red_right_hdd | |
23 | &pmx_led_white_usb>; | |
24 | pinctrl-names = "default"; | |
25 | ||
09059e9f JL |
26 | white-power { |
27 | label = "dns325:white:power"; | |
3a31f2d7 | 28 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
dcdf14c7 | 29 | default-state = "keep"; |
09059e9f JL |
30 | }; |
31 | white-usb { | |
32 | label = "dns325:white:usb"; | |
3a31f2d7 | 33 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */ |
09059e9f JL |
34 | }; |
35 | red-l_hdd { | |
36 | label = "dns325:red:l_hdd"; | |
3a31f2d7 | 37 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
09059e9f JL |
38 | }; |
39 | red-r_hdd { | |
40 | label = "dns325:red:r_hdd"; | |
3a31f2d7 | 41 | gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; |
09059e9f JL |
42 | }; |
43 | red-usb { | |
44 | label = "dns325:red:usb"; | |
3a31f2d7 | 45 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
09059e9f JL |
46 | }; |
47 | }; | |
48 | ||
9007d100 | 49 | ocp@f1000000 { |
55650d4e AL |
50 | i2c@11000 { |
51 | status = "okay"; | |
52 | ||
53 | lm75: lm75@48 { | |
54 | compatible = "national,lm75"; | |
55 | reg = <0x48>; | |
56 | }; | |
57 | }; | |
9007d100 | 58 | serial@12000 { |
9007d100 JL |
59 | status = "okay"; |
60 | }; | |
61 | }; | |
62 | }; |