xref: /linux/arch/arm/boot/dts/marvell/kirkwood-dns320.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include "kirkwood-dnskw.dtsi"
5724ba675SRob Herring
6724ba675SRob Herring/ {
7724ba675SRob Herring	model = "D-Link DNS-320 NAS (Rev A1)";
8724ba675SRob Herring	compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9724ba675SRob Herring
10724ba675SRob Herring	memory {
11724ba675SRob Herring		device_type = "memory";
12724ba675SRob Herring		reg = <0x00000000 0x8000000>;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	chosen {
16724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
17724ba675SRob Herring		stdout-path = &uart0;
18724ba675SRob Herring	};
19724ba675SRob Herring
20724ba675SRob Herring	gpio-leds {
21724ba675SRob Herring		compatible = "gpio-leds";
22724ba675SRob Herring		pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_320
23724ba675SRob Herring			     &pmx_led_red_left_hdd &pmx_led_red_right_hdd
24724ba675SRob Herring			     &pmx_led_white_usb>;
25724ba675SRob Herring		pinctrl-names = "default";
26724ba675SRob Herring
27*9d0120b7SKrzysztof Kozlowski		led-blue-power {
28724ba675SRob Herring			label = "dns320:blue:power";
29724ba675SRob Herring			gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
30724ba675SRob Herring			default-state = "keep";
31724ba675SRob Herring		};
32*9d0120b7SKrzysztof Kozlowski		led-blue-usb {
33724ba675SRob Herring			label = "dns320:blue:usb";
34724ba675SRob Herring			gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
35724ba675SRob Herring		};
36*9d0120b7SKrzysztof Kozlowski		led-orange-l_hdd {
37724ba675SRob Herring			label = "dns320:orange:l_hdd";
38724ba675SRob Herring			gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
39724ba675SRob Herring		};
40*9d0120b7SKrzysztof Kozlowski		led-orange-r_hdd {
41724ba675SRob Herring			label = "dns320:orange:r_hdd";
42724ba675SRob Herring			gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
43724ba675SRob Herring		};
44*9d0120b7SKrzysztof Kozlowski		led-orange-usb {
45724ba675SRob Herring			label = "dns320:orange:usb";
46724ba675SRob Herring			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO 35 */
47724ba675SRob Herring		};
48724ba675SRob Herring	};
49724ba675SRob Herring
50724ba675SRob Herring	ocp@f1000000 {
51724ba675SRob Herring		serial@12000 {
52724ba675SRob Herring			status = "okay";
53724ba675SRob Herring		};
54724ba675SRob Herring
55724ba675SRob Herring		serial@12100 {
56724ba675SRob Herring			status = "okay";
57724ba675SRob Herring		};
58724ba675SRob Herring	};
59724ba675SRob Herring};
60