2012-04-18 17:06:40 +07:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 20:18:02 +07:00
|
|
|
#include "kirkwood-dnskw.dtsi"
|
2012-04-18 17:06:40 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "D-Link DNS-325 NAS (Rev A1)";
|
2012-07-19 00:22:54 +07:00
|
|
|
compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
2012-04-18 17:06:40 +07:00
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x10000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
2014-04-30 19:56:30 +07:00
|
|
|
stdout-path = &uart0;
|
2012-04-18 17:06:40 +07:00
|
|
|
};
|
|
|
|
|
2012-07-20 03:30:58 +07:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2013-05-24 16:44:39 +07:00
|
|
|
pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325
|
|
|
|
&pmx_led_red_left_hdd &pmx_led_red_right_hdd
|
|
|
|
&pmx_led_white_usb>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2012-07-20 03:30:58 +07:00
|
|
|
white-power {
|
|
|
|
label = "dns325:white:power";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
|
2013-10-15 00:37:55 +07:00
|
|
|
default-state = "keep";
|
2012-07-20 03:30:58 +07:00
|
|
|
};
|
|
|
|
white-usb {
|
|
|
|
label = "dns325:white:usb";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
|
2012-07-20 03:30:58 +07:00
|
|
|
};
|
|
|
|
red-l_hdd {
|
|
|
|
label = "dns325:red:l_hdd";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
2012-07-20 03:30:58 +07:00
|
|
|
};
|
|
|
|
red-r_hdd {
|
|
|
|
label = "dns325:red:r_hdd";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
|
2012-07-20 03:30:58 +07:00
|
|
|
};
|
|
|
|
red-usb {
|
|
|
|
label = "dns325:red:usb";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
|
2012-07-20 03:30:58 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-04-18 17:06:40 +07:00
|
|
|
ocp@f1000000 {
|
2012-07-16 17:19:34 +07:00
|
|
|
i2c@11000 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
lm75: lm75@48 {
|
|
|
|
compatible = "national,lm75";
|
|
|
|
reg = <0x48>;
|
|
|
|
};
|
|
|
|
};
|
2012-04-18 17:06:40 +07:00
|
|
|
serial@12000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|