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"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 21 | pinctrl: pin-controller@10000 { |
Andrew Lunn | 1bf370a | 2012-11-17 17:00:49 +0100 | [diff] [blame] | 22 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 23 | marvell,pins = "mpp29"; |
| 24 | marvell,function = "gpio"; |
| 25 | }; |
| 26 | pmx_led_green: pmx-led-green { |
| 27 | marvell,pins = "mpp46"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | pmx_led_orange: pmx-led-orange { |
| 31 | marvell,pins = "mpp47"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 35 | serial@12000 { |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 36 | status = "ok"; |
| 37 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 38 | }; |
| 39 | gpio-leds { |
| 40 | compatible = "gpio-leds"; |
Thomas Petazzoni | 2d74392 | 2013-05-24 11:44:40 +0200 | [diff] [blame] | 41 | pinctrl-0 = <&pmx_led_green &pmx_led_orange>; |
| 42 | pinctrl-names = "default"; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 43 | |
| 44 | health { |
| 45 | label = "status:green:health"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 46 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 47 | default-state = "keep"; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 48 | }; |
| 49 | fault { |
| 50 | label = "status:orange:fault"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 51 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 52 | }; |
| 53 | }; |
Andrew Lunn | c3ff813 | 2012-11-17 15:46:12 +0100 | [diff] [blame] | 54 | regulators { |
| 55 | compatible = "simple-bus"; |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <0>; |
Thomas Petazzoni | 2d74392 | 2013-05-24 11:44:40 +0200 | [diff] [blame] | 58 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 59 | pinctrl-names = "default"; |
Andrew Lunn | c3ff813 | 2012-11-17 15:46:12 +0100 | [diff] [blame] | 60 | |
| 61 | usb_power: regulator@1 { |
| 62 | compatible = "regulator-fixed"; |
| 63 | reg = <1>; |
| 64 | regulator-name = "USB Power"; |
| 65 | regulator-min-microvolt = <5000000>; |
| 66 | regulator-max-microvolt = <5000000>; |
| 67 | enable-active-high; |
| 68 | regulator-always-on; |
| 69 | regulator-boot-on; |
| 70 | gpio = <&gpio0 29 0>; |
| 71 | }; |
| 72 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 73 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 74 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 75 | &nand { |
| 76 | status = "okay"; |
| 77 | |
| 78 | partition@0 { |
| 79 | label = "u-boot"; |
| 80 | reg = <0x0000000 0x100000>; |
| 81 | read-only; |
| 82 | }; |
| 83 | |
| 84 | partition@100000 { |
| 85 | label = "uImage"; |
| 86 | reg = <0x0100000 0x400000>; |
| 87 | }; |
| 88 | |
| 89 | partition@500000 { |
| 90 | label = "data"; |
| 91 | reg = <0x0500000 0xfb00000>; |
| 92 | }; |
| 93 | }; |
| 94 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 95 | &mdio { |
| 96 | status = "okay"; |
| 97 | |
| 98 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 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 | }; |