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