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