blob: 5e586ed04c58a45d2f6ddb61db84b4e9cd53e457 [file] [log] [blame]
Jamie Lentin9007d102012-04-18 11:06:40 +01001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood-dnskw.dtsi"
Jamie Lentin9007d102012-04-18 11:06:40 +01004
5/ {
6 model = "D-Link DNS-325 NAS (Rev A1)";
Andrew Lunn77843502012-07-18 19:22:54 +02007 compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jamie Lentin9007d102012-04-18 11:06:40 +01008
9 memory {
10 device_type = "memory";
11 reg = <0x00000000 0x10000000>;
12 };
13
14 chosen {
15 bootargs = "console=ttyS0,115200n8 earlyprintk";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020016 stdout-path = &uart0;
Jamie Lentin9007d102012-04-18 11:06:40 +010017 };
18
Jamie Lentin09059e92012-07-19 21:30:58 +010019 gpio-leds {
20 compatible = "gpio-leds";
Thomas Petazzoni01369fe2013-05-24 11:44:39 +020021 pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325
22 &pmx_led_red_left_hdd &pmx_led_red_right_hdd
23 &pmx_led_white_usb>;
24 pinctrl-names = "default";
25
Jamie Lentin09059e92012-07-19 21:30:58 +010026 white-power {
27 label = "dns325:white:power";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010028 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +000029 default-state = "keep";
Jamie Lentin09059e92012-07-19 21:30:58 +010030 };
31 white-usb {
32 label = "dns325:white:usb";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010033 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
Jamie Lentin09059e92012-07-19 21:30:58 +010034 };
35 red-l_hdd {
36 label = "dns325:red:l_hdd";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010037 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010038 };
39 red-r_hdd {
40 label = "dns325:red:r_hdd";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010041 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010042 };
43 red-usb {
44 label = "dns325:red:usb";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010045 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
Jamie Lentin09059e92012-07-19 21:30:58 +010046 };
47 };
48
Jamie Lentin9007d102012-04-18 11:06:40 +010049 ocp@f1000000 {
Andrew Lunn55650d42012-07-16 12:19:34 +020050 i2c@11000 {
51 status = "okay";
52
53 lm75: lm75@48 {
54 compatible = "national,lm75";
55 reg = <0x48>;
56 };
57 };
Jamie Lentin9007d102012-04-18 11:06:40 +010058 serial@12000 {
Jamie Lentin9007d102012-04-18 11:06:40 +010059 status = "okay";
60 };
Jamie Lentin9007d102012-04-18 11:06:40 +010061 };
62};