Commit | Line | Data |
---|---|---|
9007d100 JL |
1 | /dts-v1/; |
2 | ||
0ab6129c | 3 | #include "kirkwood-dnskw.dtsi" |
9007d100 JL |
4 | |
5 | / { | |
6 | model = "D-Link DNS-320 NAS (Rev A1)"; | |
77843504 | 7 | compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
9007d100 JL |
8 | |
9 | memory { | |
10 | device_type = "memory"; | |
11 | reg = <0x00000000 0x8000000>; | |
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_320 |
22 | &pmx_led_red_left_hdd &pmx_led_red_right_hdd | |
23 | &pmx_led_white_usb>; | |
24 | pinctrl-names = "default"; | |
25 | ||
09059e9f JL |
26 | blue-power { |
27 | label = "dns320:blue:power"; | |
3a31f2d7 | 28 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
dcdf14c7 | 29 | default-state = "keep"; |
09059e9f JL |
30 | }; |
31 | blue-usb { | |
32 | label = "dns320:blue:usb"; | |
3a31f2d7 | 33 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
09059e9f JL |
34 | }; |
35 | orange-l_hdd { | |
36 | label = "dns320:orange:l_hdd"; | |
3a31f2d7 | 37 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
09059e9f JL |
38 | }; |
39 | orange-r_hdd { | |
40 | label = "dns320:orange:r_hdd"; | |
3a31f2d7 | 41 | gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; |
09059e9f JL |
42 | }; |
43 | orange-usb { | |
44 | label = "dns320:orange:usb"; | |
3a31f2d7 | 45 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO 35 */ |
09059e9f JL |
46 | }; |
47 | }; | |
48 | ||
9007d100 JL |
49 | ocp@f1000000 { |
50 | serial@12000 { | |
9007d100 JL |
51 | status = "okay"; |
52 | }; | |
53 | ||
54 | serial@12100 { | |
9007d100 JL |
55 | status = "okay"; |
56 | }; | |
57 | }; | |
58 | }; |