0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include "kirkwood.dtsi"
0005 #include "kirkwood-6281.dtsi"
0006
0007 / {
0008 model = "Iomega StorCenter ix2-200";
0009 compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0010
0011 memory {
0012 device_type = "memory";
0013 reg = <0x00000000 0x10000000>;
0014 };
0015
0016 chosen {
0017 bootargs = "console=ttyS0,115200n8 earlyprintk";
0018 stdout-path = &uart0;
0019 };
0020
0021 ocp@f1000000 {
0022 pinctrl: pin-controller@10000 {
0023 pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
0024 &pmx_led_sata_brt_ctrl_2
0025 &pmx_led_backup_brt_ctrl_1
0026 &pmx_led_backup_brt_ctrl_2
0027 &pmx_led_power_brt_ctrl_1
0028 &pmx_led_power_brt_ctrl_2
0029 &pmx_led_health_brt_ctrl_1
0030 &pmx_led_health_brt_ctrl_2
0031 &pmx_led_rebuild_brt_ctrl_1
0032 &pmx_led_rebuild_brt_ctrl_2 >;
0033 pinctrl-names = "default";
0034
0035 pmx_button_reset: pmx-button-reset {
0036 marvell,pins = "mpp12";
0037 marvell,function = "gpio";
0038 };
0039 pmx_button_power: pmx-button-power {
0040 marvell,pins = "mpp14";
0041 marvell,function = "gpio";
0042 };
0043 pmx_led_backup: pmx-led-backup {
0044 marvell,pins = "mpp15";
0045 marvell,function = "gpio";
0046 };
0047 pmx_led_power: pmx-led-power {
0048 marvell,pins = "mpp16";
0049 marvell,function = "gpio";
0050 };
0051 pmx_button_otb: pmx-button-otb {
0052 marvell,pins = "mpp35";
0053 marvell,function = "gpio";
0054 };
0055 pmx_led_rebuild: pmx-led-rebuild {
0056 marvell,pins = "mpp36";
0057 marvell,function = "gpio";
0058 };
0059 pmx_led_health: pmx-led_health {
0060 marvell,pins = "mpp37";
0061 marvell,function = "gpio";
0062 };
0063 pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 {
0064 marvell,pins = "mpp38";
0065 marvell,function = "gpio";
0066 };
0067 pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 {
0068 marvell,pins = "mpp39";
0069 marvell,function = "gpio";
0070 };
0071 pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 {
0072 marvell,pins = "mpp40";
0073 marvell,function = "gpio";
0074 };
0075 pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 {
0076 marvell,pins = "mpp41";
0077 marvell,function = "gpio";
0078 };
0079 pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 {
0080 marvell,pins = "mpp42";
0081 marvell,function = "gpio";
0082 };
0083 pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 {
0084 marvell,pins = "mpp43";
0085 marvell,function = "gpio";
0086 };
0087 pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
0088 marvell,pins = "mpp44";
0089 marvell,function = "gpio";
0090 };
0091 pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
0092 marvell,pins = "mpp45";
0093 marvell,function = "gpio";
0094 };
0095 pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 {
0096 marvell,pins = "mpp46";
0097 marvell,function = "gpio";
0098 };
0099 pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 {
0100 marvell,pins = "mpp47";
0101 marvell,function = "gpio";
0102 };
0103
0104 };
0105 i2c@11000 {
0106 status = "okay";
0107
0108 lm63: lm63@4c {
0109 compatible = "national,lm63";
0110 reg = <0x4c>;
0111 };
0112 };
0113
0114 serial@12000 {
0115 status = "okay";
0116 };
0117
0118 sata@80000 {
0119 status = "okay";
0120 nr-ports = <2>;
0121 };
0122
0123 };
0124 gpio-leds {
0125 compatible = "gpio-leds";
0126 pinctrl-0 = < &pmx_led_backup &pmx_led_power
0127 &pmx_led_rebuild &pmx_led_health >;
0128 pinctrl-names = "default";
0129
0130 power_led {
0131 label = "status:white:power_led";
0132 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
0133 default-state = "keep";
0134 };
0135 rebuild_led {
0136 label = "status:white:rebuild_led";
0137 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
0138 };
0139 health_led {
0140 label = "status:red:health_led";
0141 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
0142 };
0143 backup_led {
0144 label = "status:blue:backup_led";
0145 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
0146 };
0147 };
0148 gpio-keys {
0149 compatible = "gpio-keys";
0150 #address-cells = <1>;
0151 #size-cells = <0>;
0152 pinctrl-0 = <&pmx_button_reset &pmx_button_power
0153 &pmx_button_otb>;
0154 pinctrl-names = "default";
0155
0156
0157 Power {
0158 label = "Power Button";
0159 linux,code = <KEY_POWER>;
0160 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
0161 };
0162 Reset {
0163 label = "Reset Button";
0164 linux,code = <KEY_RESTART>;
0165 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
0166 };
0167 OTB {
0168 label = "OTB Button";
0169 linux,code = <KEY_COPY>;
0170 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
0171 };
0172 };
0173 gpio-poweroff {
0174 compatible = "gpio-poweroff";
0175 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
0176 };
0177 };
0178
0179 &nand {
0180 status = "okay";
0181
0182 partition@0 {
0183 label = "u-boot";
0184 reg = <0x0000000 0x100000>;
0185 read-only;
0186 };
0187
0188 partition@a0000 {
0189 label = "env";
0190 reg = <0xa0000 0x20000>;
0191 read-only;
0192 };
0193
0194 partition@100000 {
0195 label = "uImage";
0196 reg = <0x100000 0x300000>;
0197 };
0198
0199 partition@400000 {
0200 label = "rootfs";
0201 reg = <0x400000 0x1C00000>;
0202 };
0203 };
0204
0205 &mdio {
0206 status = "okay";
0207
0208 ethphy1: ethernet-phy@11 {
0209 reg = <11>;
0210 };
0211 };
0212
0213 ð0 {
0214 status = "okay";
0215 ethernet0-port@0 {
0216 speed = <1000>;
0217 duplex = <1>;
0218 };
0219 };
0220
0221 ð1 {
0222 status = "okay";
0223 ethernet1-port@0 {
0224 phy-handle = <ðphy1>;
0225 };
0226 };