blob: 94d9c06cbbf5cd81a915acea05556a678ec94751 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Jamie Lentin9007d102012-04-18 11:06:40 +01002/dts-v1/;
3
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03004#include "kirkwood-dnskw.dtsi"
Jamie Lentin9007d102012-04-18 11:06:40 +01005
6/ {
7 model = "D-Link DNS-325 NAS (Rev A1)";
Andrew Lunn77843502012-07-18 19:22:54 +02008 compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jamie Lentin9007d102012-04-18 11:06:40 +01009
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x10000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020017 stdout-path = &uart0;
Jamie Lentin9007d102012-04-18 11:06:40 +010018 };
19
Jamie Lentin09059e92012-07-19 21:30:58 +010020 gpio-leds {
21 compatible = "gpio-leds";
Thomas Petazzoni01369fe2013-05-24 11:44:39 +020022 pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325
23 &pmx_led_red_left_hdd &pmx_led_red_right_hdd
24 &pmx_led_white_usb>;
25 pinctrl-names = "default";
26
Jamie Lentin09059e92012-07-19 21:30:58 +010027 white-power {
28 label = "dns325:white:power";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010029 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +000030 default-state = "keep";
Jamie Lentin09059e92012-07-19 21:30:58 +010031 };
32 white-usb {
33 label = "dns325:white:usb";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010034 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
Jamie Lentin09059e92012-07-19 21:30:58 +010035 };
36 red-l_hdd {
37 label = "dns325:red:l_hdd";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010038 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010039 };
40 red-r_hdd {
41 label = "dns325:red:r_hdd";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010042 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010043 };
44 red-usb {
45 label = "dns325:red:usb";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010046 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010047 };
48 };
49
Jamie Lentin9007d102012-04-18 11:06:40 +010050 ocp@f1000000 {
Andrew Lunn55650d42012-07-16 12:19:34 +020051 i2c@11000 {
52 status = "okay";
53
54 lm75: lm75@48 {
55 compatible = "national,lm75";
56 reg = <0x48>;
57 };
58 };
Jamie Lentin9007d102012-04-18 11:06:40 +010059 serial@12000 {
Jamie Lentin9007d102012-04-18 11:06:40 +010060 status = "okay";
61 };
Jamie Lentin9007d102012-04-18 11:06:40 +010062 };
63};