1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/dts-v1/; 3f126890aSEmmanuel Vadot 4f126890aSEmmanuel Vadot#include "kirkwood.dtsi" 5f126890aSEmmanuel Vadot#include "kirkwood-6281.dtsi" 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "Seagate GoFlex Net"; 9f126890aSEmmanuel Vadot compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot memory { 12f126890aSEmmanuel Vadot device_type = "memory"; 13f126890aSEmmanuel Vadot reg = <0x00000000 0x8000000>; 14f126890aSEmmanuel Vadot }; 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot chosen { 17f126890aSEmmanuel Vadot bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10"; 18f126890aSEmmanuel Vadot stdout-path = &uart0; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot ocp@f1000000 { 22f126890aSEmmanuel Vadot pinctrl: pin-controller@10000 { 23f126890aSEmmanuel Vadot pmx_usb_power_enable: pmx-usb-power-enable { 24f126890aSEmmanuel Vadot marvell,pins = "mpp29"; 25f126890aSEmmanuel Vadot marvell,function = "gpio"; 26f126890aSEmmanuel Vadot }; 27f126890aSEmmanuel Vadot pmx_led_right_cap_0: pmx-led_right_cap_0 { 28f126890aSEmmanuel Vadot marvell,pins = "mpp38"; 29f126890aSEmmanuel Vadot marvell,function = "gpio"; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot pmx_led_right_cap_1: pmx-led_right_cap_1 { 32f126890aSEmmanuel Vadot marvell,pins = "mpp39"; 33f126890aSEmmanuel Vadot marvell,function = "gpio"; 34f126890aSEmmanuel Vadot }; 35f126890aSEmmanuel Vadot pmx_led_right_cap_2: pmx-led_right_cap_2 { 36f126890aSEmmanuel Vadot marvell,pins = "mpp40"; 37f126890aSEmmanuel Vadot marvell,function = "gpio"; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot pmx_led_right_cap_3: pmx-led_right_cap_3 { 40f126890aSEmmanuel Vadot marvell,pins = "mpp41"; 41f126890aSEmmanuel Vadot marvell,function = "gpio"; 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot pmx_led_left_cap_0: pmx-led_left_cap_0 { 44f126890aSEmmanuel Vadot marvell,pins = "mpp42"; 45f126890aSEmmanuel Vadot marvell,function = "gpio"; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot pmx_led_left_cap_1: pmx-led_left_cap_1 { 48f126890aSEmmanuel Vadot marvell,pins = "mpp43"; 49f126890aSEmmanuel Vadot marvell,function = "gpio"; 50f126890aSEmmanuel Vadot }; 51f126890aSEmmanuel Vadot pmx_led_left_cap_2: pmx-led_left_cap_2 { 52f126890aSEmmanuel Vadot marvell,pins = "mpp44"; 53f126890aSEmmanuel Vadot marvell,function = "gpio"; 54f126890aSEmmanuel Vadot }; 55f126890aSEmmanuel Vadot pmx_led_left_cap_3: pmx-led_left_cap_3 { 56f126890aSEmmanuel Vadot marvell,pins = "mpp45"; 57f126890aSEmmanuel Vadot marvell,function = "gpio"; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot pmx_led_green: pmx-led_green { 60f126890aSEmmanuel Vadot marvell,pins = "mpp46"; 61f126890aSEmmanuel Vadot marvell,function = "gpio"; 62f126890aSEmmanuel Vadot }; 63f126890aSEmmanuel Vadot pmx_led_orange: pmx-led_orange { 64f126890aSEmmanuel Vadot marvell,pins = "mpp47"; 65f126890aSEmmanuel Vadot marvell,function = "gpio"; 66f126890aSEmmanuel Vadot }; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot serial@12000 { 69f126890aSEmmanuel Vadot status = "okay"; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot sata@80000 { 73f126890aSEmmanuel Vadot status = "okay"; 74f126890aSEmmanuel Vadot nr-ports = <2>; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot }; 78f126890aSEmmanuel Vadot gpio-leds { 79f126890aSEmmanuel Vadot compatible = "gpio-leds"; 80f126890aSEmmanuel Vadot pinctrl-0 = < &pmx_led_orange 81f126890aSEmmanuel Vadot &pmx_led_left_cap_0 &pmx_led_left_cap_1 82f126890aSEmmanuel Vadot &pmx_led_left_cap_2 &pmx_led_left_cap_3 83f126890aSEmmanuel Vadot &pmx_led_right_cap_0 &pmx_led_right_cap_1 84f126890aSEmmanuel Vadot &pmx_led_right_cap_2 &pmx_led_right_cap_3 85f126890aSEmmanuel Vadot >; 86f126890aSEmmanuel Vadot pinctrl-names = "default"; 87f126890aSEmmanuel Vadot 88*0e8011faSEmmanuel Vadot led-health { 89f126890aSEmmanuel Vadot label = "status:green:health"; 90f126890aSEmmanuel Vadot gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 91f126890aSEmmanuel Vadot default-state = "keep"; 92f126890aSEmmanuel Vadot }; 93*0e8011faSEmmanuel Vadot led-fault { 94f126890aSEmmanuel Vadot label = "status:orange:fault"; 95f126890aSEmmanuel Vadot gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 96f126890aSEmmanuel Vadot }; 97*0e8011faSEmmanuel Vadot led-left0 { 98f126890aSEmmanuel Vadot label = "status:white:left0"; 99f126890aSEmmanuel Vadot gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 100f126890aSEmmanuel Vadot }; 101*0e8011faSEmmanuel Vadot led-left1 { 102f126890aSEmmanuel Vadot label = "status:white:left1"; 103f126890aSEmmanuel Vadot gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; 104f126890aSEmmanuel Vadot }; 105*0e8011faSEmmanuel Vadot led-left2 { 106f126890aSEmmanuel Vadot label = "status:white:left2"; 107f126890aSEmmanuel Vadot gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; 108f126890aSEmmanuel Vadot }; 109*0e8011faSEmmanuel Vadot led-left3 { 110f126890aSEmmanuel Vadot label = "status:white:left3"; 111f126890aSEmmanuel Vadot gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 112f126890aSEmmanuel Vadot }; 113*0e8011faSEmmanuel Vadot led-right0 { 114f126890aSEmmanuel Vadot label = "status:white:right0"; 115f126890aSEmmanuel Vadot gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 116f126890aSEmmanuel Vadot }; 117*0e8011faSEmmanuel Vadot led-right1 { 118f126890aSEmmanuel Vadot label = "status:white:right1"; 119f126890aSEmmanuel Vadot gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 120f126890aSEmmanuel Vadot }; 121*0e8011faSEmmanuel Vadot led-right2 { 122f126890aSEmmanuel Vadot label = "status:white:right2"; 123f126890aSEmmanuel Vadot gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 124f126890aSEmmanuel Vadot }; 125*0e8011faSEmmanuel Vadot led-right3 { 126f126890aSEmmanuel Vadot label = "status:white:right3"; 127f126890aSEmmanuel Vadot gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot }; 130f126890aSEmmanuel Vadot regulators { 131f126890aSEmmanuel Vadot compatible = "simple-bus"; 132f126890aSEmmanuel Vadot #address-cells = <1>; 133f126890aSEmmanuel Vadot #size-cells = <0>; 134f126890aSEmmanuel Vadot pinctrl-0 = <&pmx_usb_power_enable>; 135f126890aSEmmanuel Vadot pinctrl-names = "default"; 136f126890aSEmmanuel Vadot 137f126890aSEmmanuel Vadot usb_power: regulator@1 { 138f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 139f126890aSEmmanuel Vadot reg = <1>; 140f126890aSEmmanuel Vadot regulator-name = "USB Power"; 141f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 142f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 143f126890aSEmmanuel Vadot enable-active-high; 144f126890aSEmmanuel Vadot regulator-always-on; 145f126890aSEmmanuel Vadot regulator-boot-on; 146f126890aSEmmanuel Vadot gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot}; 150f126890aSEmmanuel Vadot 151f126890aSEmmanuel Vadot&nand { 152f126890aSEmmanuel Vadot chip-delay = <40>; 153f126890aSEmmanuel Vadot status = "okay"; 154f126890aSEmmanuel Vadot 155f126890aSEmmanuel Vadot partition@0 { 156f126890aSEmmanuel Vadot label = "u-boot"; 157f126890aSEmmanuel Vadot reg = <0x0000000 0x100000>; 158f126890aSEmmanuel Vadot read-only; 159f126890aSEmmanuel Vadot }; 160f126890aSEmmanuel Vadot 161f126890aSEmmanuel Vadot partition@100000 { 162f126890aSEmmanuel Vadot label = "uImage"; 163f126890aSEmmanuel Vadot reg = <0x0100000 0x400000>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot 166f126890aSEmmanuel Vadot partition@500000 { 167f126890aSEmmanuel Vadot label = "pogoplug"; 168f126890aSEmmanuel Vadot reg = <0x0500000 0x2000000>; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot 171f126890aSEmmanuel Vadot partition@2500000 { 172f126890aSEmmanuel Vadot label = "root"; 173f126890aSEmmanuel Vadot reg = <0x02500000 0xd800000>; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot}; 176f126890aSEmmanuel Vadot 177f126890aSEmmanuel Vadot&mdio { 178f126890aSEmmanuel Vadot status = "okay"; 179f126890aSEmmanuel Vadot 180f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 181f126890aSEmmanuel Vadot reg = <0>; 182f126890aSEmmanuel Vadot }; 183f126890aSEmmanuel Vadot}; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadotð0 { 186f126890aSEmmanuel Vadot status = "okay"; 187f126890aSEmmanuel Vadot ethernet0-port@0 { 188f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 189f126890aSEmmanuel Vadot }; 190f126890aSEmmanuel Vadot}; 191