Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +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" |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "LaCie CloudBox"; |
| 8 | compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x10000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +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 { |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 22 | pmx_cloudbox_sata0: pmx-cloudbox-sata0 { |
| 23 | marvell,pins = "mpp15"; |
| 24 | marvell,function = "sata0"; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | serial@12000 { |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | sata@80000 { |
Thomas Petazzoni | 2dd432e | 2013-05-24 11:44:38 +0200 | [diff] [blame] | 33 | pinctrl-0 = <&pmx_cloudbox_sata0>; |
| 34 | pinctrl-names = "default"; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 35 | status = "okay"; |
| 36 | nr-ports = <1>; |
| 37 | }; |
| 38 | |
| 39 | spi@10600 { |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 40 | status = "okay"; |
| 41 | |
| 42 | flash@0 { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
Rafał Miłecki | 943d45a | 2015-05-19 13:40:16 +0200 | [diff] [blame] | 45 | compatible = "mxicy,mx25l4005a", "jedec,spi-nor"; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 46 | reg = <0>; |
| 47 | spi-max-frequency = <20000000>; |
| 48 | mode = <0>; |
| 49 | |
| 50 | partition@0 { |
| 51 | reg = <0x0 0x80000>; |
| 52 | label = "u-boot"; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | gpio_keys { |
| 59 | compatible = "gpio-keys"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
| 62 | |
Andrew Lunn | 395c755 | 2016-04-03 04:03:43 +0200 | [diff] [blame] | 63 | power { |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 64 | label = "Power push button"; |
Andrew Lunn | 2330119 | 2013-12-04 16:51:38 +0100 | [diff] [blame] | 65 | linux,code = <KEY_POWER>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 66 | gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 67 | }; |
| 68 | }; |
| 69 | |
| 70 | gpio-leds { |
| 71 | compatible = "gpio-leds"; |
| 72 | |
| 73 | red-fail { |
| 74 | label = "cloudbox:red:fail"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 75 | gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 76 | }; |
| 77 | blue-sata { |
| 78 | label = "cloudbox:blue:sata"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 79 | gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 80 | }; |
| 81 | }; |
| 82 | |
| 83 | gpio_poweroff { |
| 84 | compatible = "gpio-poweroff"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 85 | gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; |
Simon Guinot | 98d4f2a | 2013-04-09 00:41:28 +0200 | [diff] [blame] | 86 | }; |
| 87 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 88 | |
| 89 | &mdio { |
| 90 | status = "okay"; |
| 91 | |
| 92 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 93 | reg = <0>; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | ð0 { |
| 98 | status = "okay"; |
| 99 | ethernet0-port@0 { |
| 100 | phy-handle = <ðphy0>; |
| 101 | }; |
| 102 | }; |