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 = "Seagate GoFlex Net"; 9724ba675SRob Herring compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x00000000 0x8000000>; 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring chosen { 17724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10"; 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring ocp@f1000000 { 22724ba675SRob Herring pinctrl: pin-controller@10000 { 23724ba675SRob Herring pmx_usb_power_enable: pmx-usb-power-enable { 24724ba675SRob Herring marvell,pins = "mpp29"; 25724ba675SRob Herring marvell,function = "gpio"; 26724ba675SRob Herring }; 27724ba675SRob Herring pmx_led_right_cap_0: pmx-led_right_cap_0 { 28724ba675SRob Herring marvell,pins = "mpp38"; 29724ba675SRob Herring marvell,function = "gpio"; 30724ba675SRob Herring }; 31724ba675SRob Herring pmx_led_right_cap_1: pmx-led_right_cap_1 { 32724ba675SRob Herring marvell,pins = "mpp39"; 33724ba675SRob Herring marvell,function = "gpio"; 34724ba675SRob Herring }; 35724ba675SRob Herring pmx_led_right_cap_2: pmx-led_right_cap_2 { 36724ba675SRob Herring marvell,pins = "mpp40"; 37724ba675SRob Herring marvell,function = "gpio"; 38724ba675SRob Herring }; 39724ba675SRob Herring pmx_led_right_cap_3: pmx-led_right_cap_3 { 40724ba675SRob Herring marvell,pins = "mpp41"; 41724ba675SRob Herring marvell,function = "gpio"; 42724ba675SRob Herring }; 43724ba675SRob Herring pmx_led_left_cap_0: pmx-led_left_cap_0 { 44724ba675SRob Herring marvell,pins = "mpp42"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring pmx_led_left_cap_1: pmx-led_left_cap_1 { 48724ba675SRob Herring marvell,pins = "mpp43"; 49724ba675SRob Herring marvell,function = "gpio"; 50724ba675SRob Herring }; 51724ba675SRob Herring pmx_led_left_cap_2: pmx-led_left_cap_2 { 52724ba675SRob Herring marvell,pins = "mpp44"; 53724ba675SRob Herring marvell,function = "gpio"; 54724ba675SRob Herring }; 55724ba675SRob Herring pmx_led_left_cap_3: pmx-led_left_cap_3 { 56724ba675SRob Herring marvell,pins = "mpp45"; 57724ba675SRob Herring marvell,function = "gpio"; 58724ba675SRob Herring }; 59724ba675SRob Herring pmx_led_green: pmx-led_green { 60724ba675SRob Herring marvell,pins = "mpp46"; 61724ba675SRob Herring marvell,function = "gpio"; 62724ba675SRob Herring }; 63724ba675SRob Herring pmx_led_orange: pmx-led_orange { 64724ba675SRob Herring marvell,pins = "mpp47"; 65724ba675SRob Herring marvell,function = "gpio"; 66724ba675SRob Herring }; 67724ba675SRob Herring }; 68724ba675SRob Herring serial@12000 { 69724ba675SRob Herring status = "okay"; 70724ba675SRob Herring }; 71724ba675SRob Herring 72724ba675SRob Herring sata@80000 { 73724ba675SRob Herring status = "okay"; 74724ba675SRob Herring nr-ports = <2>; 75724ba675SRob Herring }; 76724ba675SRob Herring 77724ba675SRob Herring }; 78724ba675SRob Herring gpio-leds { 79724ba675SRob Herring compatible = "gpio-leds"; 80724ba675SRob Herring pinctrl-0 = < &pmx_led_orange 81724ba675SRob Herring &pmx_led_left_cap_0 &pmx_led_left_cap_1 82724ba675SRob Herring &pmx_led_left_cap_2 &pmx_led_left_cap_3 83724ba675SRob Herring &pmx_led_right_cap_0 &pmx_led_right_cap_1 84724ba675SRob Herring &pmx_led_right_cap_2 &pmx_led_right_cap_3 85724ba675SRob Herring >; 86724ba675SRob Herring pinctrl-names = "default"; 87724ba675SRob Herring 88*9d0120b7SKrzysztof Kozlowski led-health { 89724ba675SRob Herring label = "status:green:health"; 90724ba675SRob Herring gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 91724ba675SRob Herring default-state = "keep"; 92724ba675SRob Herring }; 93*9d0120b7SKrzysztof Kozlowski led-fault { 94724ba675SRob Herring label = "status:orange:fault"; 95724ba675SRob Herring gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 96724ba675SRob Herring }; 97*9d0120b7SKrzysztof Kozlowski led-left0 { 98724ba675SRob Herring label = "status:white:left0"; 99724ba675SRob Herring gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 100724ba675SRob Herring }; 101*9d0120b7SKrzysztof Kozlowski led-left1 { 102724ba675SRob Herring label = "status:white:left1"; 103724ba675SRob Herring gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; 104724ba675SRob Herring }; 105*9d0120b7SKrzysztof Kozlowski led-left2 { 106724ba675SRob Herring label = "status:white:left2"; 107724ba675SRob Herring gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; 108724ba675SRob Herring }; 109*9d0120b7SKrzysztof Kozlowski led-left3 { 110724ba675SRob Herring label = "status:white:left3"; 111724ba675SRob Herring gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 112724ba675SRob Herring }; 113*9d0120b7SKrzysztof Kozlowski led-right0 { 114724ba675SRob Herring label = "status:white:right0"; 115724ba675SRob Herring gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 116724ba675SRob Herring }; 117*9d0120b7SKrzysztof Kozlowski led-right1 { 118724ba675SRob Herring label = "status:white:right1"; 119724ba675SRob Herring gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 120724ba675SRob Herring }; 121*9d0120b7SKrzysztof Kozlowski led-right2 { 122724ba675SRob Herring label = "status:white:right2"; 123724ba675SRob Herring gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 124724ba675SRob Herring }; 125*9d0120b7SKrzysztof Kozlowski led-right3 { 126724ba675SRob Herring label = "status:white:right3"; 127724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 128724ba675SRob Herring }; 129724ba675SRob Herring }; 130724ba675SRob Herring regulators { 131724ba675SRob Herring compatible = "simple-bus"; 132724ba675SRob Herring #address-cells = <1>; 133724ba675SRob Herring #size-cells = <0>; 134724ba675SRob Herring pinctrl-0 = <&pmx_usb_power_enable>; 135724ba675SRob Herring pinctrl-names = "default"; 136724ba675SRob Herring 137724ba675SRob Herring usb_power: regulator@1 { 138724ba675SRob Herring compatible = "regulator-fixed"; 139724ba675SRob Herring reg = <1>; 140724ba675SRob Herring regulator-name = "USB Power"; 141724ba675SRob Herring regulator-min-microvolt = <5000000>; 142724ba675SRob Herring regulator-max-microvolt = <5000000>; 143724ba675SRob Herring enable-active-high; 144724ba675SRob Herring regulator-always-on; 145724ba675SRob Herring regulator-boot-on; 146724ba675SRob Herring gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 147724ba675SRob Herring }; 148724ba675SRob Herring }; 149724ba675SRob Herring}; 150724ba675SRob Herring 151724ba675SRob Herring&nand { 152724ba675SRob Herring chip-delay = <40>; 153724ba675SRob Herring status = "okay"; 154724ba675SRob Herring 155724ba675SRob Herring partition@0 { 156724ba675SRob Herring label = "u-boot"; 157724ba675SRob Herring reg = <0x0000000 0x100000>; 158724ba675SRob Herring read-only; 159724ba675SRob Herring }; 160724ba675SRob Herring 161724ba675SRob Herring partition@100000 { 162724ba675SRob Herring label = "uImage"; 163724ba675SRob Herring reg = <0x0100000 0x400000>; 164724ba675SRob Herring }; 165724ba675SRob Herring 166724ba675SRob Herring partition@500000 { 167724ba675SRob Herring label = "pogoplug"; 168724ba675SRob Herring reg = <0x0500000 0x2000000>; 169724ba675SRob Herring }; 170724ba675SRob Herring 171724ba675SRob Herring partition@2500000 { 172724ba675SRob Herring label = "root"; 173724ba675SRob Herring reg = <0x02500000 0xd800000>; 174724ba675SRob Herring }; 175724ba675SRob Herring}; 176724ba675SRob Herring 177724ba675SRob Herring&mdio { 178724ba675SRob Herring status = "okay"; 179724ba675SRob Herring 180724ba675SRob Herring ethphy0: ethernet-phy@0 { 181724ba675SRob Herring reg = <0>; 182724ba675SRob Herring }; 183724ba675SRob Herring}; 184724ba675SRob Herring 185724ba675SRob Herringð0 { 186724ba675SRob Herring status = "okay"; 187724ba675SRob Herring ethernet0-port@0 { 188724ba675SRob Herring phy-handle = <ðphy0>; 189724ba675SRob Herring }; 190724ba675SRob Herring}; 191