xref: /linux/arch/arm/boot/dts/marvell/kirkwood-dns325.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-325 NAS (Rev A1)";
8724ba675SRob Herring	compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9724ba675SRob Herring
10724ba675SRob Herring	memory {
11724ba675SRob Herring		device_type = "memory";
12724ba675SRob Herring		reg = <0x00000000 0x10000000>;
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_325
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-white-power {
28724ba675SRob Herring			label = "dns325:white:power";
29724ba675SRob Herring			gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
30724ba675SRob Herring			default-state = "keep";
31724ba675SRob Herring		};
32*9d0120b7SKrzysztof Kozlowski		led-white-usb {
33724ba675SRob Herring			label = "dns325:white:usb";
34724ba675SRob Herring			gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
35724ba675SRob Herring		};
36*9d0120b7SKrzysztof Kozlowski		led-red-l_hdd {
37724ba675SRob Herring			label = "dns325:red:l_hdd";
38724ba675SRob Herring			gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
39724ba675SRob Herring		};
40*9d0120b7SKrzysztof Kozlowski		led-red-r_hdd {
41724ba675SRob Herring			label = "dns325:red:r_hdd";
42724ba675SRob Herring			gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
43724ba675SRob Herring		};
44*9d0120b7SKrzysztof Kozlowski		led-red-usb {
45724ba675SRob Herring			label = "dns325:red:usb";
46724ba675SRob Herring			gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
47724ba675SRob Herring		};
48724ba675SRob Herring	};
49724ba675SRob Herring
50724ba675SRob Herring	ocp@f1000000 {
51724ba675SRob Herring		i2c@11000 {
52724ba675SRob Herring			status = "okay";
53724ba675SRob Herring
54724ba675SRob Herring			lm75: lm75@48 {
55724ba675SRob Herring				compatible = "national,lm75";
56724ba675SRob Herring				reg = <0x48>;
57724ba675SRob Herring			};
58724ba675SRob Herring		};
59724ba675SRob Herring		serial@12000 {
60724ba675SRob Herring			status = "okay";
61724ba675SRob Herring		};
62724ba675SRob Herring	};
63724ba675SRob Herring};
64