2012-04-30 21:55:17 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 13:18:02 +00:00
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-6281.dtsi"
|
2012-04-30 21:55:17 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
|
2013-10-03 03:06:45 +00:00
|
|
|
compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
2012-04-30 21:55:17 +00:00
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x10000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
2014-04-30 12:56:30 +00:00
|
|
|
stdout-path = &uart0;
|
2012-04-30 21:55:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 12:56:32 +00:00
|
|
|
pinctrl: pin-controller@10000 {
|
2012-11-17 16:00:52 +00:00
|
|
|
pmx_led_os_red: pmx-led-os-red {
|
|
|
|
marvell,pins = "mpp22";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_power_off: pmx-power-off {
|
|
|
|
marvell,pins = "mpp24";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_os_green: pmx-led-os-green {
|
|
|
|
marvell,pins = "mpp25";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_usb_transfer: pmx-led-usb-transfer {
|
|
|
|
marvell,pins = "mpp27";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_button_reset: pmx-button-reset {
|
|
|
|
marvell,pins = "mpp28";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_button_usb_copy: pmx-button-usb-copy {
|
|
|
|
marvell,pins = "mpp29";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
2013-10-03 03:06:45 +00:00
|
|
|
|
2012-04-30 21:55:17 +00:00
|
|
|
serial@12000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-06-10 14:58:11 +00:00
|
|
|
sata@80000 {
|
|
|
|
status = "okay";
|
|
|
|
nr-ports = <2>;
|
|
|
|
};
|
2012-04-30 21:55:17 +00:00
|
|
|
};
|
2012-07-16 10:48:20 +00:00
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-05-24 09:44:44 +00:00
|
|
|
pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2016-04-03 02:03:43 +00:00
|
|
|
copy {
|
2012-07-16 10:48:20 +00:00
|
|
|
label = "USB Copy";
|
2013-12-04 15:51:38 +00:00
|
|
|
linux,code = <KEY_COPY>;
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
|
2012-07-16 10:48:20 +00:00
|
|
|
};
|
2016-04-03 02:03:43 +00:00
|
|
|
reset {
|
2012-07-16 10:48:20 +00:00
|
|
|
label = "Reset";
|
2013-12-04 15:51:38 +00:00
|
|
|
linux,code = <KEY_RESTART>;
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
2012-07-16 10:48:20 +00:00
|
|
|
};
|
|
|
|
};
|
2013-10-03 03:06:45 +00:00
|
|
|
|
2012-07-17 06:14:19 +00:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2013-05-24 09:44:44 +00:00
|
|
|
pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
|
|
|
|
&pmx_led_usb_transfer>;
|
|
|
|
pinctrl-names = "default";
|
2012-07-17 06:14:19 +00:00
|
|
|
|
|
|
|
green-os {
|
|
|
|
label = "ib62x0:green:os";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
2013-10-14 17:37:55 +00:00
|
|
|
default-state = "keep";
|
2012-07-17 06:14:19 +00:00
|
|
|
};
|
|
|
|
red-os {
|
|
|
|
label = "ib62x0:red:os";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
|
2012-07-17 06:14:19 +00:00
|
|
|
};
|
|
|
|
usb-copy {
|
|
|
|
label = "ib62x0:red:usb_copy";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
|
2012-07-17 06:14:19 +00:00
|
|
|
};
|
|
|
|
};
|
2013-10-03 03:06:45 +00:00
|
|
|
|
2012-11-17 08:51:06 +00:00
|
|
|
gpio_poweroff {
|
|
|
|
compatible = "gpio-poweroff";
|
2013-05-24 09:44:44 +00:00
|
|
|
pinctrl-0 = <&pmx_power_off>;
|
|
|
|
pinctrl-names = "default";
|
2013-12-04 15:51:39 +00:00
|
|
|
gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
|
2012-11-17 08:51:06 +00:00
|
|
|
};
|
2012-04-30 21:55:17 +00:00
|
|
|
};
|
2013-07-07 20:34:56 +00:00
|
|
|
|
2013-09-17 18:44:33 +00:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
2013-10-03 03:06:45 +00:00
|
|
|
reg = <0x0000000 0xe0000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@e0000 {
|
|
|
|
label = "u-boot environment";
|
2016-08-12 17:12:50 +00:00
|
|
|
reg = <0xe0000 0x20000>;
|
2013-09-17 18:44:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
label = "uImage";
|
|
|
|
reg = <0x0100000 0x600000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@700000 {
|
|
|
|
label = "root";
|
|
|
|
reg = <0x0700000 0xf900000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2013-07-07 20:34:56 +00:00
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy0: ethernet-phy@8 {
|
|
|
|
reg = <8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
2013-10-03 03:06:45 +00:00
|
|
|
|
2013-07-07 20:34:56 +00:00
|
|
|
ethernet0-port@0 {
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
|
|
|
};
|