Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood.dtsi" |
| 4 | #include "kirkwood-6281.dtsi" |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "Seagate FreeAgent Dockstar"; |
| 8 | compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x8000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10"; |
| 17 | }; |
| 18 | |
| 19 | ocp@f1000000 { |
Andrew Lunn | 1bf370a | 2012-11-17 17:00:49 +0100 | [diff] [blame] | 20 | pinctrl: pinctrl@10000 { |
Andrew Lunn | 1bf370a | 2012-11-17 17:00:49 +0100 | [diff] [blame] | 21 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 22 | marvell,pins = "mpp29"; |
| 23 | marvell,function = "gpio"; |
| 24 | }; |
| 25 | pmx_led_green: pmx-led-green { |
| 26 | marvell,pins = "mpp46"; |
| 27 | marvell,function = "gpio"; |
| 28 | }; |
| 29 | pmx_led_orange: pmx-led-orange { |
| 30 | marvell,pins = "mpp47"; |
| 31 | marvell,function = "gpio"; |
| 32 | }; |
| 33 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 34 | serial@12000 { |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 35 | status = "ok"; |
| 36 | }; |
| 37 | |
| 38 | nand@3000000 { |
| 39 | status = "okay"; |
| 40 | |
| 41 | partition@0 { |
| 42 | label = "u-boot"; |
| 43 | reg = <0x0000000 0x100000>; |
| 44 | read-only; |
| 45 | }; |
| 46 | |
| 47 | partition@100000 { |
| 48 | label = "uImage"; |
| 49 | reg = <0x0100000 0x400000>; |
| 50 | }; |
| 51 | |
| 52 | partition@500000 { |
| 53 | label = "data"; |
| 54 | reg = <0x0500000 0xfb00000>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | gpio-leds { |
| 59 | compatible = "gpio-leds"; |
Thomas Petazzoni | 2d74392 | 2013-05-24 11:44:40 +0200 | [diff] [blame] | 60 | pinctrl-0 = <&pmx_led_green &pmx_led_orange>; |
| 61 | pinctrl-names = "default"; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 62 | |
| 63 | health { |
| 64 | label = "status:green:health"; |
| 65 | gpios = <&gpio1 14 1>; |
| 66 | linux,default-trigger = "default-on"; |
| 67 | }; |
| 68 | fault { |
| 69 | label = "status:orange:fault"; |
| 70 | gpios = <&gpio1 15 1>; |
| 71 | }; |
| 72 | }; |
Andrew Lunn | c3ff813 | 2012-11-17 15:46:12 +0100 | [diff] [blame] | 73 | regulators { |
| 74 | compatible = "simple-bus"; |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
Thomas Petazzoni | 2d74392 | 2013-05-24 11:44:40 +0200 | [diff] [blame] | 77 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 78 | pinctrl-names = "default"; |
Andrew Lunn | c3ff813 | 2012-11-17 15:46:12 +0100 | [diff] [blame] | 79 | |
| 80 | usb_power: regulator@1 { |
| 81 | compatible = "regulator-fixed"; |
| 82 | reg = <1>; |
| 83 | regulator-name = "USB Power"; |
| 84 | regulator-min-microvolt = <5000000>; |
| 85 | regulator-max-microvolt = <5000000>; |
| 86 | enable-active-high; |
| 87 | regulator-always-on; |
| 88 | regulator-boot-on; |
| 89 | gpio = <&gpio0 29 0>; |
| 90 | }; |
| 91 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 92 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 93 | |
| 94 | &mdio { |
| 95 | status = "okay"; |
| 96 | |
| 97 | ethphy0: ethernet-phy@0 { |
| 98 | device_type = "ethernet-phy"; |
| 99 | compatible = "marvell,88e1116"; |
| 100 | reg = <0>; |
| 101 | }; |
| 102 | }; |
| 103 | |
| 104 | ð0 { |
| 105 | status = "okay"; |
| 106 | ethernet0-port@0 { |
| 107 | phy-handle = <ðphy0>; |
| 108 | }; |
| 109 | }; |