2012-05-01 04:55:17 +07:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 20:18:02 +07:00
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-6281.dtsi"
|
2012-05-01 04:55:17 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
|
2013-10-03 10:06:45 +07: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-05-01 04:55:17 +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-05-01 04:55:17 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 19:56:32 +07:00
|
|
|
pinctrl: pin-controller@10000 {
|
2012-11-17 23:00:52 +07: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 10:06:45 +07:00
|
|
|
|
2012-05-01 04:55:17 +07:00
|
|
|
serial@12000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-06-10 21:58:11 +07:00
|
|
|
sata@80000 {
|
|
|
|
status = "okay";
|
|
|
|
nr-ports = <2>;
|
|
|
|
};
|
2012-05-01 04:55:17 +07:00
|
|
|
};
|
2012-07-16 17:48:20 +07:00
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-05-24 16:44:44 +07:00
|
|
|
pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2016-04-03 09:03:43 +07:00
|
|
|
copy {
|
2012-07-16 17:48:20 +07:00
|
|
|
label = "USB Copy";
|
2013-12-04 22:51:38 +07:00
|
|
|
linux,code = <KEY_COPY>;
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
|
2012-07-16 17:48:20 +07:00
|
|
|
};
|
2016-04-03 09:03:43 +07:00
|
|
|
reset {
|
2012-07-16 17:48:20 +07:00
|
|
|
label = "Reset";
|
2013-12-04 22:51:38 +07:00
|
|
|
linux,code = <KEY_RESTART>;
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
2012-07-16 17:48:20 +07:00
|
|
|
};
|
|
|
|
};
|
2013-10-03 10:06:45 +07:00
|
|
|
|
2012-07-17 13:14:19 +07:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2013-05-24 16:44:44 +07:00
|
|
|
pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
|
|
|
|
&pmx_led_usb_transfer>;
|
|
|
|
pinctrl-names = "default";
|
2012-07-17 13:14:19 +07:00
|
|
|
|
|
|
|
green-os {
|
|
|
|
label = "ib62x0:green:os";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
2013-10-15 00:37:55 +07:00
|
|
|
default-state = "keep";
|
2012-07-17 13:14:19 +07:00
|
|
|
};
|
|
|
|
red-os {
|
|
|
|
label = "ib62x0:red:os";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
|
2012-07-17 13:14:19 +07:00
|
|
|
};
|
|
|
|
usb-copy {
|
|
|
|
label = "ib62x0:red:usb_copy";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
|
2012-07-17 13:14:19 +07:00
|
|
|
};
|
|
|
|
};
|
2013-10-03 10:06:45 +07:00
|
|
|
|
2012-11-17 15:51:06 +07:00
|
|
|
gpio_poweroff {
|
|
|
|
compatible = "gpio-poweroff";
|
2013-05-24 16:44:44 +07:00
|
|
|
pinctrl-0 = <&pmx_power_off>;
|
|
|
|
pinctrl-names = "default";
|
2013-12-04 22:51:39 +07:00
|
|
|
gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
|
2012-11-17 15:51:06 +07:00
|
|
|
};
|
2012-05-01 04:55:17 +07:00
|
|
|
};
|
2013-07-08 03:34:56 +07:00
|
|
|
|
2013-09-18 01:44:33 +07:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
2013-10-03 10:06:45 +07:00
|
|
|
reg = <0x0000000 0xe0000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@e0000 {
|
|
|
|
label = "u-boot environment";
|
|
|
|
reg = <0xe0000 0x100000>;
|
2013-09-18 01:44:33 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
label = "uImage";
|
|
|
|
reg = <0x0100000 0x600000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@700000 {
|
|
|
|
label = "root";
|
|
|
|
reg = <0x0700000 0xf900000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2013-07-08 03:34:56 +07:00
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy0: ethernet-phy@8 {
|
|
|
|
reg = <8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
2013-10-03 10:06:45 +07:00
|
|
|
|
2013-07-08 03:34:56 +07:00
|
|
|
ethernet0-port@0 {
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
|
|
|
};
|