blob: e112ca62d978e9ccdedfb37d06bec0b8fe036de8 [file] [log] [blame]
Jamie Lentin9007d102012-04-18 11:06:40 +01001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood-dnskw.dtsi"
Jamie Lentin9007d102012-04-18 11:06:40 +01004
5/ {
6 model = "D-Link DNS-320 NAS (Rev A1)";
Andrew Lunn77843502012-07-18 19:22:54 +02007 compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jamie Lentin9007d102012-04-18 11:06:40 +01008
9 memory {
10 device_type = "memory";
11 reg = <0x00000000 0x8000000>;
12 };
13
14 chosen {
15 bootargs = "console=ttyS0,115200n8 earlyprintk";
16 };
17
Jamie Lentin09059e92012-07-19 21:30:58 +010018 gpio-leds {
19 compatible = "gpio-leds";
Thomas Petazzoni01369fe2013-05-24 11:44:39 +020020 pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_320
21 &pmx_led_red_left_hdd &pmx_led_red_right_hdd
22 &pmx_led_white_usb>;
23 pinctrl-names = "default";
24
Jamie Lentin09059e92012-07-19 21:30:58 +010025 blue-power {
26 label = "dns320:blue:power";
27 gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
28 linux,default-trigger = "default-on";
29 };
30 blue-usb {
31 label = "dns320:blue:usb";
32 gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
33 };
34 orange-l_hdd {
35 label = "dns320:orange:l_hdd";
36 gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
37 };
38 orange-r_hdd {
39 label = "dns320:orange:r_hdd";
40 gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
41 };
42 orange-usb {
43 label = "dns320:orange:usb";
44 gpios = <&gpio1 3 1>; /* GPIO 35 Active Low */
45 };
46 };
47
Jamie Lentin9007d102012-04-18 11:06:40 +010048 ocp@f1000000 {
49 serial@12000 {
Jamie Lentin9007d102012-04-18 11:06:40 +010050 status = "okay";
51 };
52
53 serial@12100 {
Thomas Petazzoni01369fe2013-05-24 11:44:39 +020054 pinctrl-0 = <&pmx_uart1>;
55 pinctrl-names = "default";
Jamie Lentin9007d102012-04-18 11:06:40 +010056 status = "okay";
57 };
Jamie Lentin9007d102012-04-18 11:06:40 +010058 };
59};