Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood-ns2-common.dtsi" |
Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 4 | |
| 5 | / { |
Simon Guinot | d3dde4d | 2013-04-09 00:41:29 +0200 | [diff] [blame] | 6 | /* This machine is embedded in the first LaCie CloudBox product. */ |
Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 7 | model = "LaCie Network Space Mini v2"; |
| 8 | compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x8000000>; |
| 13 | }; |
| 14 | |
| 15 | ocp@f1000000 { |
| 16 | sata@80000 { |
Thomas Petazzoni | ef519a4 | 2013-05-24 11:44:48 +0200 | [diff] [blame] | 17 | pinctrl-0 = <&pmx_ns2_sata0>; |
| 18 | pinctrl-names = "default"; |
Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 19 | status = "okay"; |
| 20 | nr-ports = <1>; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | gpio_fan { |
| 25 | compatible = "gpio-fan"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 26 | gpios = <&gpio0 22 GPIO_ACTIVE_LOW |
| 27 | &gpio0 7 GPIO_ACTIVE_LOW |
| 28 | &gpio1 1 GPIO_ACTIVE_LOW |
| 29 | &gpio0 23 GPIO_ACTIVE_LOW>; |
Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 30 | gpio-fan,speed-map = |
| 31 | < 0 0 |
| 32 | 3000 15 |
| 33 | 3180 14 |
| 34 | 4140 13 |
| 35 | 4570 12 |
| 36 | 6760 11 |
| 37 | 7140 10 |
| 38 | 7980 9 |
| 39 | 9200 8>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 40 | alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; |
Simon Guinot | 7f9871d | 2012-10-17 12:09:06 +0200 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | ns2-leds { |
| 44 | compatible = "lacie,ns2-leds"; |
| 45 | |
| 46 | blue-sata { |
| 47 | label = "ns2:blue:sata"; |
| 48 | slow-gpio = <&gpio0 29 0>; |
| 49 | cmd-gpio = <&gpio0 30 0>; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 53 | |
| 54 | ðphy0 { reg = <0>; }; |