blob: 6f62af99c9cbebe4da42d000c6ae28c34054e52f [file] [log] [blame]
Jason Cooper3d468b62012-02-27 16:07:13 +00001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
Jason Cooper3d468b62012-02-27 16:07:13 +00005
6/ {
7 model = "Globalscale Technologies Dreamplug";
Andrew Lunn77843502012-07-18 19:22:54 +02008 compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Jason Cooper3d468b62012-02-27 16:07:13 +00009
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x20000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk";
17 };
18
Jason Cooper163f2ce2012-03-15 01:00:27 +000019 ocp@f1000000 {
Andrew Lunn56942282012-11-17 17:00:50 +010020 pinctrl: pinctrl@10000 {
Andrew Lunn56942282012-11-17 17:00:50 +010021 pmx_led_bluetooth: pmx-led-bluetooth {
22 marvell,pins = "mpp47";
23 marvell,function = "gpio";
24 };
25 pmx_led_wifi: pmx-led-wifi {
26 marvell,pins = "mpp48";
27 marvell,function = "gpio";
28 };
29 pmx_led_wifi_ap: pmx-led-wifi-ap {
30 marvell,pins = "mpp49";
31 marvell,function = "gpio";
32 };
33 };
Jason Cooper163f2ce2012-03-15 01:00:27 +000034 serial@12000 {
Jason Cooper163f2ce2012-03-15 01:00:27 +000035 status = "ok";
36 };
Michael Wallebe2aa952012-06-06 20:40:30 +020037
38 spi@10600 {
39 status = "okay";
Thomas Petazzoni16f37ecc2013-05-24 11:44:41 +020040 pinctrl-0 = <&pmx_spi>;
41 pinctrl-names = "default";
Michael Wallebe2aa952012-06-06 20:40:30 +020042
43 m25p40@0 {
44 #address-cells = <1>;
45 #size-cells = <1>;
46 compatible = "mx25l1606e";
47 reg = <0>;
48 spi-max-frequency = <50000000>;
49 mode = <0>;
50
51 partition@0 {
52 reg = <0x0 0x80000>;
53 label = "u-boot";
54 };
55
56 partition@100000 {
57 reg = <0x100000 0x10000>;
58 label = "u-boot env";
59 };
60
61 partition@180000 {
62 reg = <0x180000 0x10000>;
63 label = "dtb";
64 };
65 };
66 };
Andrew Lunn2cef1a22012-06-10 16:58:11 +020067
68 sata@80000 {
69 status = "okay";
70 nr-ports = <1>;
71 };
Thomas Petazzonia49da462012-12-21 15:49:11 +010072
73 mvsdio@90000 {
74 pinctrl-0 = <&pmx_sdio>;
75 pinctrl-names = "default";
76 status = "okay";
77 /* No CD or WP GPIOs */
Simon Baatzd87b5fb2013-05-13 23:18:58 +020078 broken-cd;
Thomas Petazzonia49da462012-12-21 15:49:11 +010079 };
Jason Cooper759a4512012-02-27 16:07:14 +000080 };
Michael Wallebe2aa952012-06-06 20:40:30 +020081
Andrew Lunnb94a2572012-07-17 07:55:37 +020082 gpio-leds {
83 compatible = "gpio-leds";
Thomas Petazzoni16f37ecc2013-05-24 11:44:41 +020084 pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi
85 &pmx_led_wifi_ap >;
86 pinctrl-names = "default";
Andrew Lunnb94a2572012-07-17 07:55:37 +020087
88 bluetooth {
89 label = "dreamplug:blue:bluetooth";
90 gpios = <&gpio1 15 1>;
91 };
92 wifi {
93 label = "dreamplug:green:wifi";
94 gpios = <&gpio1 16 1>;
95 };
96 wifi-ap {
97 label = "dreamplug:green:wifi_ap";
98 gpios = <&gpio1 17 1>;
99 };
100 };
Jason Cooper3d468b62012-02-27 16:07:13 +0000101};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200102
103&mdio {
104 status = "okay";
105
106 ethphy0: ethernet-phy@0 {
107 device_type = "ethernet-phy";
108 reg = <0>;
109 };
110
111 ethphy1: ethernet-phy@1 {
112 device_type = "ethernet-phy";
113 reg = <1>;
114 };
115};
116
117&eth0 {
118 status = "okay";
119 ethernet0-port@0 {
120 phy-handle = <&ethphy0>;
121 };
122};
123
124&eth1 {
125 status = "okay";
126 ethernet1-port@0 {
127 phy-handle = <&ethphy1>;
128 };
129};