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