1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/dts-v1/;
3*724ba675SRob Herring
4*724ba675SRob Herring#include "kirkwood-dnskw.dtsi"
5*724ba675SRob Herring
6*724ba675SRob Herring/ {
7*724ba675SRob Herring	model = "D-Link DNS-320 NAS (Rev A1)";
8*724ba675SRob Herring	compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9*724ba675SRob Herring
10*724ba675SRob Herring	memory {
11*724ba675SRob Herring		device_type = "memory";
12*724ba675SRob Herring		reg = <0x00000000 0x8000000>;
13*724ba675SRob Herring	};
14*724ba675SRob Herring
15*724ba675SRob Herring	chosen {
16*724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
17*724ba675SRob Herring		stdout-path = &uart0;
18*724ba675SRob Herring	};
19*724ba675SRob Herring
20*724ba675SRob Herring	gpio-leds {
21*724ba675SRob Herring		compatible = "gpio-leds";
22*724ba675SRob Herring		pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_320
23*724ba675SRob Herring			     &pmx_led_red_left_hdd &pmx_led_red_right_hdd
24*724ba675SRob Herring			     &pmx_led_white_usb>;
25*724ba675SRob Herring		pinctrl-names = "default";
26*724ba675SRob Herring
27*724ba675SRob Herring		blue-power {
28*724ba675SRob Herring			label = "dns320:blue:power";
29*724ba675SRob Herring			gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
30*724ba675SRob Herring			default-state = "keep";
31*724ba675SRob Herring		};
32*724ba675SRob Herring		blue-usb {
33*724ba675SRob Herring			label = "dns320:blue:usb";
34*724ba675SRob Herring			gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
35*724ba675SRob Herring		};
36*724ba675SRob Herring		orange-l_hdd {
37*724ba675SRob Herring			label = "dns320:orange:l_hdd";
38*724ba675SRob Herring			gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
39*724ba675SRob Herring		};
40*724ba675SRob Herring		orange-r_hdd {
41*724ba675SRob Herring			label = "dns320:orange:r_hdd";
42*724ba675SRob Herring			gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
43*724ba675SRob Herring		};
44*724ba675SRob Herring		orange-usb {
45*724ba675SRob Herring			label = "dns320:orange:usb";
46*724ba675SRob Herring			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO 35 */
47*724ba675SRob Herring		};
48*724ba675SRob Herring	};
49*724ba675SRob Herring
50*724ba675SRob Herring	ocp@f1000000 {
51*724ba675SRob Herring		serial@12000 {
52*724ba675SRob Herring			status = "okay";
53*724ba675SRob Herring		};
54*724ba675SRob Herring
55*724ba675SRob Herring		serial@12100 {
56*724ba675SRob Herring			status = "okay";
57*724ba675SRob Herring		};
58*724ba675SRob Herring	};
59*724ba675SRob Herring};
60