Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
Andrew Lunn | 1bf370a | 2012-11-17 17:00:49 +0100 | [diff] [blame^] | 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 { |
| 21 | |
| 22 | pinctrl-0 = < &pmx_usb_power_enable |
| 23 | &pmx_led_green &pmx_led_orange >; |
| 24 | pinctrl-names = "default"; |
| 25 | |
| 26 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 27 | marvell,pins = "mpp29"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | pmx_led_green: pmx-led-green { |
| 31 | marvell,pins = "mpp46"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | pmx_led_orange: pmx-led-orange { |
| 35 | marvell,pins = "mpp47"; |
| 36 | marvell,function = "gpio"; |
| 37 | }; |
| 38 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 39 | serial@12000 { |
| 40 | clock-frequency = <200000000>; |
| 41 | status = "ok"; |
| 42 | }; |
| 43 | |
| 44 | nand@3000000 { |
| 45 | status = "okay"; |
| 46 | |
| 47 | partition@0 { |
| 48 | label = "u-boot"; |
| 49 | reg = <0x0000000 0x100000>; |
| 50 | read-only; |
| 51 | }; |
| 52 | |
| 53 | partition@100000 { |
| 54 | label = "uImage"; |
| 55 | reg = <0x0100000 0x400000>; |
| 56 | }; |
| 57 | |
| 58 | partition@500000 { |
| 59 | label = "data"; |
| 60 | reg = <0x0500000 0xfb00000>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |
| 64 | gpio-leds { |
| 65 | compatible = "gpio-leds"; |
| 66 | |
| 67 | health { |
| 68 | label = "status:green:health"; |
| 69 | gpios = <&gpio1 14 1>; |
| 70 | linux,default-trigger = "default-on"; |
| 71 | }; |
| 72 | fault { |
| 73 | label = "status:orange:fault"; |
| 74 | gpios = <&gpio1 15 1>; |
| 75 | }; |
| 76 | }; |
Andrew Lunn | c3ff813 | 2012-11-17 15:46:12 +0100 | [diff] [blame] | 77 | regulators { |
| 78 | compatible = "simple-bus"; |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <0>; |
| 81 | |
| 82 | usb_power: regulator@1 { |
| 83 | compatible = "regulator-fixed"; |
| 84 | reg = <1>; |
| 85 | regulator-name = "USB Power"; |
| 86 | regulator-min-microvolt = <5000000>; |
| 87 | regulator-max-microvolt = <5000000>; |
| 88 | enable-active-high; |
| 89 | regulator-always-on; |
| 90 | regulator-boot-on; |
| 91 | gpio = <&gpio0 29 0>; |
| 92 | }; |
| 93 | }; |
Sebastian Hesselbarth | 2f865c3 | 2012-08-14 22:43:42 +0200 | [diff] [blame] | 94 | }; |