2013-07-17 16:51:49 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2014-04-08 22:34:32 +00:00
|
|
|
#include "kirkwood-nsa3x0-common.dtsi"
|
2013-07-17 16:51:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* There are at least two different NSA310 designs. This variant does
|
|
|
|
* not have the red USB Led.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x10000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200";
|
2014-04-30 12:56:30 +00:00
|
|
|
stdout-path = &uart0;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 12:56:32 +00:00
|
|
|
pinctrl: pin-controller@10000 {
|
2013-07-17 16:51:49 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
pmx_led_esata_green: pmx-led-esata-green {
|
|
|
|
marvell,pins = "mpp12";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_esata_red: pmx-led-esata-red {
|
|
|
|
marvell,pins = "mpp13";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_usb_green: pmx-led-usb-green {
|
|
|
|
marvell,pins = "mpp15";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_sys_green: pmx-led-sys-green {
|
|
|
|
marvell,pins = "mpp28";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_sys_red: pmx-led-sys-red {
|
|
|
|
marvell,pins = "mpp29";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_hdd_green: pmx-led-hdd-green {
|
|
|
|
marvell,pins = "mpp41";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_hdd_red: pmx-led-hdd-red {
|
|
|
|
marvell,pins = "mpp42";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@11000 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
lm85: lm85@2e {
|
2014-03-22 12:46:00 +00:00
|
|
|
compatible = "national,lm85";
|
2013-07-17 16:51:49 +00:00
|
|
|
reg = <0x2e>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
green-sys {
|
|
|
|
label = "nsa310:green:sys";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
red-sys {
|
|
|
|
label = "nsa310:red:sys";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
green-hdd {
|
|
|
|
label = "nsa310:green:hdd";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
red-hdd {
|
|
|
|
label = "nsa310:red:hdd";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
green-esata {
|
|
|
|
label = "nsa310:green:esata";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
red-esata {
|
|
|
|
label = "nsa310:red:esata";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
green-usb {
|
|
|
|
label = "nsa310:green:usb";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
green-copy {
|
|
|
|
label = "nsa310:green:copy";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
red-copy {
|
|
|
|
label = "nsa310:red:copy";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
2013-07-17 16:51:49 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|