1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include "kirkwood.dtsi" 5724ba675SRob Herring#include "kirkwood-6281.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "Iomega StorCenter ix2-200"; 9724ba675SRob Herring compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x00000000 0x10000000>; 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring chosen { 17724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring ocp@f1000000 { 22724ba675SRob Herring pinctrl: pin-controller@10000 { 23724ba675SRob Herring pinctrl-0 = < &pmx_led_sata_brt_ctrl_1 24724ba675SRob Herring &pmx_led_sata_brt_ctrl_2 25724ba675SRob Herring &pmx_led_backup_brt_ctrl_1 26724ba675SRob Herring &pmx_led_backup_brt_ctrl_2 27724ba675SRob Herring &pmx_led_power_brt_ctrl_1 28724ba675SRob Herring &pmx_led_power_brt_ctrl_2 29724ba675SRob Herring &pmx_led_health_brt_ctrl_1 30724ba675SRob Herring &pmx_led_health_brt_ctrl_2 31724ba675SRob Herring &pmx_led_rebuild_brt_ctrl_1 32724ba675SRob Herring &pmx_led_rebuild_brt_ctrl_2 >; 33724ba675SRob Herring pinctrl-names = "default"; 34724ba675SRob Herring 35724ba675SRob Herring pmx_button_reset: pmx-button-reset { 36724ba675SRob Herring marvell,pins = "mpp12"; 37724ba675SRob Herring marvell,function = "gpio"; 38724ba675SRob Herring }; 39724ba675SRob Herring pmx_button_power: pmx-button-power { 40724ba675SRob Herring marvell,pins = "mpp14"; 41724ba675SRob Herring marvell,function = "gpio"; 42724ba675SRob Herring }; 43724ba675SRob Herring pmx_led_backup: pmx-led-backup { 44724ba675SRob Herring marvell,pins = "mpp15"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring pmx_led_power: pmx-led-power { 48724ba675SRob Herring marvell,pins = "mpp16"; 49724ba675SRob Herring marvell,function = "gpio"; 50724ba675SRob Herring }; 51724ba675SRob Herring pmx_button_otb: pmx-button-otb { 52724ba675SRob Herring marvell,pins = "mpp35"; 53724ba675SRob Herring marvell,function = "gpio"; 54724ba675SRob Herring }; 55724ba675SRob Herring pmx_led_rebuild: pmx-led-rebuild { 56724ba675SRob Herring marvell,pins = "mpp36"; 57724ba675SRob Herring marvell,function = "gpio"; 58724ba675SRob Herring }; 59724ba675SRob Herring pmx_led_health: pmx-led_health { 60724ba675SRob Herring marvell,pins = "mpp37"; 61724ba675SRob Herring marvell,function = "gpio"; 62724ba675SRob Herring }; 63724ba675SRob Herring pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 { 64724ba675SRob Herring marvell,pins = "mpp38"; 65724ba675SRob Herring marvell,function = "gpio"; 66724ba675SRob Herring }; 67724ba675SRob Herring pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 { 68724ba675SRob Herring marvell,pins = "mpp39"; 69724ba675SRob Herring marvell,function = "gpio"; 70724ba675SRob Herring }; 71724ba675SRob Herring pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 { 72724ba675SRob Herring marvell,pins = "mpp40"; 73724ba675SRob Herring marvell,function = "gpio"; 74724ba675SRob Herring }; 75724ba675SRob Herring pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 { 76724ba675SRob Herring marvell,pins = "mpp41"; 77724ba675SRob Herring marvell,function = "gpio"; 78724ba675SRob Herring }; 79724ba675SRob Herring pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 { 80724ba675SRob Herring marvell,pins = "mpp42"; 81724ba675SRob Herring marvell,function = "gpio"; 82724ba675SRob Herring }; 83724ba675SRob Herring pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 { 84724ba675SRob Herring marvell,pins = "mpp43"; 85724ba675SRob Herring marvell,function = "gpio"; 86724ba675SRob Herring }; 87724ba675SRob Herring pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 { 88724ba675SRob Herring marvell,pins = "mpp44"; 89724ba675SRob Herring marvell,function = "gpio"; 90724ba675SRob Herring }; 91724ba675SRob Herring pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 { 92724ba675SRob Herring marvell,pins = "mpp45"; 93724ba675SRob Herring marvell,function = "gpio"; 94724ba675SRob Herring }; 95724ba675SRob Herring pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 { 96724ba675SRob Herring marvell,pins = "mpp46"; 97724ba675SRob Herring marvell,function = "gpio"; 98724ba675SRob Herring }; 99724ba675SRob Herring pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 { 100724ba675SRob Herring marvell,pins = "mpp47"; 101724ba675SRob Herring marvell,function = "gpio"; 102724ba675SRob Herring }; 103724ba675SRob Herring 104724ba675SRob Herring }; 105724ba675SRob Herring i2c@11000 { 106724ba675SRob Herring status = "okay"; 107724ba675SRob Herring 108724ba675SRob Herring lm63: lm63@4c { 109724ba675SRob Herring compatible = "national,lm63"; 110724ba675SRob Herring reg = <0x4c>; 111724ba675SRob Herring }; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring serial@12000 { 115724ba675SRob Herring status = "okay"; 116724ba675SRob Herring }; 117724ba675SRob Herring 118724ba675SRob Herring sata@80000 { 119724ba675SRob Herring status = "okay"; 120724ba675SRob Herring nr-ports = <2>; 121724ba675SRob Herring }; 122724ba675SRob Herring 123724ba675SRob Herring }; 124724ba675SRob Herring gpio-leds { 125724ba675SRob Herring compatible = "gpio-leds"; 126724ba675SRob Herring pinctrl-0 = < &pmx_led_backup &pmx_led_power 127724ba675SRob Herring &pmx_led_rebuild &pmx_led_health >; 128724ba675SRob Herring pinctrl-names = "default"; 129724ba675SRob Herring 130*9d0120b7SKrzysztof Kozlowski led-power-led { 131724ba675SRob Herring label = "status:white:power_led"; 132724ba675SRob Herring gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 133724ba675SRob Herring default-state = "keep"; 134724ba675SRob Herring }; 135*9d0120b7SKrzysztof Kozlowski led-rebuild-led { 136724ba675SRob Herring label = "status:white:rebuild_led"; 137724ba675SRob Herring gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 138724ba675SRob Herring }; 139*9d0120b7SKrzysztof Kozlowski led-health-led { 140724ba675SRob Herring label = "status:red:health_led"; 141724ba675SRob Herring gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 142724ba675SRob Herring }; 143*9d0120b7SKrzysztof Kozlowski led-backup-led { 144724ba675SRob Herring label = "status:blue:backup_led"; 145724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 146724ba675SRob Herring }; 147724ba675SRob Herring }; 148724ba675SRob Herring gpio-keys { 149724ba675SRob Herring compatible = "gpio-keys"; 150724ba675SRob Herring pinctrl-0 = <&pmx_button_reset &pmx_button_power 151724ba675SRob Herring &pmx_button_otb>; 152724ba675SRob Herring pinctrl-names = "default"; 153724ba675SRob Herring 154724ba675SRob Herring 155b98a9191SKrzysztof Kozlowski button-power { 156724ba675SRob Herring label = "Power Button"; 157724ba675SRob Herring linux,code = <KEY_POWER>; 158724ba675SRob Herring gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 159724ba675SRob Herring }; 160b98a9191SKrzysztof Kozlowski button-reset { 161724ba675SRob Herring label = "Reset Button"; 162724ba675SRob Herring linux,code = <KEY_RESTART>; 163724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 164724ba675SRob Herring }; 165b98a9191SKrzysztof Kozlowski button-otb { 166724ba675SRob Herring label = "OTB Button"; 167724ba675SRob Herring linux,code = <KEY_COPY>; 168724ba675SRob Herring gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 169724ba675SRob Herring }; 170724ba675SRob Herring }; 171724ba675SRob Herring gpio-poweroff { 172724ba675SRob Herring compatible = "gpio-poweroff"; 173724ba675SRob Herring gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 174724ba675SRob Herring }; 175724ba675SRob Herring}; 176724ba675SRob Herring 177724ba675SRob Herring&nand { 178724ba675SRob Herring status = "okay"; 179724ba675SRob Herring 180724ba675SRob Herring partition@0 { 181724ba675SRob Herring label = "u-boot"; 182724ba675SRob Herring reg = <0x0000000 0x100000>; 183724ba675SRob Herring read-only; 184724ba675SRob Herring }; 185724ba675SRob Herring 186724ba675SRob Herring partition@a0000 { 187724ba675SRob Herring label = "env"; 188724ba675SRob Herring reg = <0xa0000 0x20000>; 189724ba675SRob Herring read-only; 190724ba675SRob Herring }; 191724ba675SRob Herring 192724ba675SRob Herring partition@100000 { 193724ba675SRob Herring label = "uImage"; 194724ba675SRob Herring reg = <0x100000 0x300000>; 195724ba675SRob Herring }; 196724ba675SRob Herring 197724ba675SRob Herring partition@400000 { 198724ba675SRob Herring label = "rootfs"; 199724ba675SRob Herring reg = <0x400000 0x1C00000>; 200724ba675SRob Herring }; 201724ba675SRob Herring}; 202724ba675SRob Herring 203724ba675SRob Herring&mdio { 204724ba675SRob Herring status = "okay"; 205724ba675SRob Herring 206724ba675SRob Herring ethphy1: ethernet-phy@11 { 207724ba675SRob Herring reg = <11>; 208724ba675SRob Herring }; 209724ba675SRob Herring}; 210724ba675SRob Herring 211724ba675SRob Herringð0 { 212724ba675SRob Herring status = "okay"; 213724ba675SRob Herring ethernet0-port@0 { 214724ba675SRob Herring speed = <1000>; 215724ba675SRob Herring duplex = <1>; 216724ba675SRob Herring }; 217724ba675SRob Herring}; 218724ba675SRob Herring 219724ba675SRob Herringð1 { 220724ba675SRob Herring status = "okay"; 221724ba675SRob Herring ethernet1-port@0 { 222724ba675SRob Herring phy-handle = <ðphy1>; 223724ba675SRob Herring }; 224724ba675SRob Herring}; 225