2012-08-20 22:29:07 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 21:18:02 +08:00
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-6281.dtsi"
|
2012-08-20 22:29:07 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Iomega StorCenter ix2-200";
|
|
|
|
compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x10000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
2014-04-30 20:56:30 +08:00
|
|
|
stdout-path = &uart0;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 20:56:32 +08:00
|
|
|
pinctrl: pin-controller@10000 {
|
2013-05-24 17:44:47 +08:00
|
|
|
pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
|
2012-11-18 00:00:54 +08:00
|
|
|
&pmx_led_sata_brt_ctrl_2
|
|
|
|
&pmx_led_backup_brt_ctrl_1
|
|
|
|
&pmx_led_backup_brt_ctrl_2
|
|
|
|
&pmx_led_power_brt_ctrl_1
|
|
|
|
&pmx_led_power_brt_ctrl_2
|
|
|
|
&pmx_led_health_brt_ctrl_1
|
|
|
|
&pmx_led_health_brt_ctrl_2
|
|
|
|
&pmx_led_rebuild_brt_ctrl_1
|
|
|
|
&pmx_led_rebuild_brt_ctrl_2 >;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
pmx_button_reset: pmx-button-reset {
|
|
|
|
marvell,pins = "mpp12";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_button_power: pmx-button-power {
|
|
|
|
marvell,pins = "mpp14";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_backup: pmx-led-backup {
|
|
|
|
marvell,pins = "mpp15";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_power: pmx-led-power {
|
|
|
|
marvell,pins = "mpp16";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_button_otb: pmx-button-otb {
|
|
|
|
marvell,pins = "mpp35";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_rebuild: pmx-led-rebuild {
|
|
|
|
marvell,pins = "mpp36";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_health: pmx-led_health {
|
|
|
|
marvell,pins = "mpp37";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 {
|
|
|
|
marvell,pins = "mpp38";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 {
|
|
|
|
marvell,pins = "mpp39";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 {
|
|
|
|
marvell,pins = "mpp40";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 {
|
|
|
|
marvell,pins = "mpp41";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 {
|
|
|
|
marvell,pins = "mpp42";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 {
|
|
|
|
marvell,pins = "mpp43";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
|
|
|
|
marvell,pins = "mpp44";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
|
|
|
|
marvell,pins = "mpp45";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 {
|
2013-04-01 20:03:22 +08:00
|
|
|
marvell,pins = "mpp46";
|
2012-11-18 00:00:54 +08:00
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 {
|
2013-04-01 20:03:22 +08:00
|
|
|
marvell,pins = "mpp47";
|
2012-11-18 00:00:54 +08:00
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
2012-08-20 22:29:07 +08:00
|
|
|
i2c@11000 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
lm63: lm63@4c {
|
|
|
|
compatible = "national,lm63";
|
|
|
|
reg = <0x4c>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@12000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
sata@80000 {
|
|
|
|
status = "okay";
|
|
|
|
nr-ports = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2013-05-24 17:44:47 +08:00
|
|
|
pinctrl-0 = < &pmx_led_backup &pmx_led_power
|
|
|
|
&pmx_led_rebuild &pmx_led_health >;
|
|
|
|
pinctrl-names = "default";
|
2012-08-20 22:29:07 +08:00
|
|
|
|
|
|
|
power_led {
|
|
|
|
label = "status:white:power_led";
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
2013-10-15 01:37:55 +08:00
|
|
|
default-state = "keep";
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
2013-04-01 20:03:22 +08:00
|
|
|
rebuild_led {
|
|
|
|
label = "status:white:rebuild_led";
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
|
2013-04-01 20:03:22 +08:00
|
|
|
};
|
|
|
|
health_led {
|
2012-08-20 22:29:07 +08:00
|
|
|
label = "status:red:health_led";
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
backup_led {
|
|
|
|
label = "status:blue:backup_led";
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-05-24 17:44:47 +08:00
|
|
|
pinctrl-0 = <&pmx_button_reset &pmx_button_power
|
|
|
|
&pmx_button_otb>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
|
2012-08-20 22:29:07 +08:00
|
|
|
Power {
|
|
|
|
label = "Power Button";
|
2013-12-04 23:51:38 +08:00
|
|
|
linux,code = <KEY_POWER>;
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
Reset {
|
|
|
|
label = "Reset Button";
|
2013-12-04 23:51:38 +08:00
|
|
|
linux,code = <KEY_RESTART>;
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
OTB {
|
|
|
|
label = "OTB Button";
|
2013-12-04 23:51:38 +08:00
|
|
|
linux,code = <KEY_COPY>;
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
|
|
|
};
|
2014-12-11 02:40:41 +08:00
|
|
|
gpio-poweroff {
|
|
|
|
compatible = "gpio-poweroff";
|
|
|
|
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2012-08-20 22:29:07 +08:00
|
|
|
};
|
2013-07-08 04:34:56 +08:00
|
|
|
|
2013-09-18 02:44:33 +08:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0000000 0x100000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@a0000 {
|
|
|
|
label = "env";
|
|
|
|
reg = <0xa0000 0x20000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
label = "uImage";
|
|
|
|
reg = <0x100000 0x300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@400000 {
|
2014-12-15 03:53:39 +08:00
|
|
|
label = "rootfs";
|
|
|
|
reg = <0x400000 0x1C00000>;
|
2013-09-18 02:44:33 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-07-08 04:34:56 +08:00
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy1: ethernet-phy@11 {
|
|
|
|
reg = <11>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
ethernet0-port@0 {
|
|
|
|
speed = <1000>;
|
|
|
|
duplex = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
|
|
|
ethernet1-port@0 {
|
|
|
|
phy-handle = <ðphy1>;
|
|
|
|
};
|
|
|
|
};
|