Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [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" |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "Globalscale Technologies Dreamplug"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x20000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 18 | }; |
| 19 | |
Jason Cooper | 163f2ce | 2012-03-15 01:00:27 +0000 | [diff] [blame] | 20 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 21 | pinctrl: pin-controller@10000 { |
Andrew Lunn | 5694228 | 2012-11-17 17:00:50 +0100 | [diff] [blame] | 22 | pmx_led_bluetooth: pmx-led-bluetooth { |
| 23 | marvell,pins = "mpp47"; |
| 24 | marvell,function = "gpio"; |
| 25 | }; |
| 26 | pmx_led_wifi: pmx-led-wifi { |
| 27 | marvell,pins = "mpp48"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | pmx_led_wifi_ap: pmx-led-wifi-ap { |
| 31 | marvell,pins = "mpp49"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | }; |
Jason Cooper | 163f2ce | 2012-03-15 01:00:27 +0000 | [diff] [blame] | 35 | serial@12000 { |
Jason Cooper | 163f2ce | 2012-03-15 01:00:27 +0000 | [diff] [blame] | 36 | status = "ok"; |
| 37 | }; |
Michael Walle | be2aa95 | 2012-06-06 20:40:30 +0200 | [diff] [blame] | 38 | |
| 39 | spi@10600 { |
| 40 | status = "okay"; |
| 41 | |
| 42 | m25p40@0 { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
Andrew Lunn | dcdf9cf | 2014-03-22 13:46:00 +0100 | [diff] [blame] | 45 | compatible = "mxicy,mx25l1606e"; |
Michael Walle | be2aa95 | 2012-06-06 20:40:30 +0200 | [diff] [blame] | 46 | reg = <0>; |
| 47 | spi-max-frequency = <50000000>; |
| 48 | mode = <0>; |
| 49 | |
| 50 | partition@0 { |
| 51 | reg = <0x0 0x80000>; |
| 52 | label = "u-boot"; |
| 53 | }; |
| 54 | |
| 55 | partition@100000 { |
| 56 | reg = <0x100000 0x10000>; |
| 57 | label = "u-boot env"; |
| 58 | }; |
| 59 | |
| 60 | partition@180000 { |
| 61 | reg = <0x180000 0x10000>; |
| 62 | label = "dtb"; |
| 63 | }; |
| 64 | }; |
| 65 | }; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 66 | |
| 67 | sata@80000 { |
| 68 | status = "okay"; |
| 69 | nr-ports = <1>; |
| 70 | }; |
Thomas Petazzoni | a49da46 | 2012-12-21 15:49:11 +0100 | [diff] [blame] | 71 | |
| 72 | mvsdio@90000 { |
| 73 | pinctrl-0 = <&pmx_sdio>; |
| 74 | pinctrl-names = "default"; |
| 75 | status = "okay"; |
| 76 | /* No CD or WP GPIOs */ |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 77 | broken-cd; |
Thomas Petazzoni | a49da46 | 2012-12-21 15:49:11 +0100 | [diff] [blame] | 78 | }; |
Jason Cooper | 759a451 | 2012-02-27 16:07:14 +0000 | [diff] [blame] | 79 | }; |
Michael Walle | be2aa95 | 2012-06-06 20:40:30 +0200 | [diff] [blame] | 80 | |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 81 | gpio-leds { |
| 82 | compatible = "gpio-leds"; |
Thomas Petazzoni | 16f37ecc | 2013-05-24 11:44:41 +0200 | [diff] [blame] | 83 | pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi |
| 84 | &pmx_led_wifi_ap >; |
| 85 | pinctrl-names = "default"; |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 86 | |
| 87 | bluetooth { |
| 88 | label = "dreamplug:blue:bluetooth"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 89 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 90 | }; |
| 91 | wifi { |
| 92 | label = "dreamplug:green:wifi"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 93 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 94 | }; |
| 95 | wifi-ap { |
| 96 | label = "dreamplug:green:wifi_ap"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 97 | gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 98 | }; |
| 99 | }; |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 100 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 101 | |
| 102 | &mdio { |
| 103 | status = "okay"; |
| 104 | |
| 105 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 106 | reg = <0>; |
| 107 | }; |
| 108 | |
| 109 | ethphy1: ethernet-phy@1 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 110 | reg = <1>; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | ð0 { |
| 115 | status = "okay"; |
| 116 | ethernet0-port@0 { |
| 117 | phy-handle = <ðphy0>; |
| 118 | }; |
| 119 | }; |
| 120 | |
| 121 | ð1 { |
| 122 | status = "okay"; |
| 123 | ethernet1-port@0 { |
| 124 | phy-handle = <ðphy1>; |
| 125 | }; |
| 126 | }; |