Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetoot...
[cascardo/linux.git] / arch / arm / boot / dts / kirkwood-dreamplug.dts
1 /dts-v1/;
2
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6281.dtsi"
5
6 / {
7         model = "Globalscale Technologies Dreamplug";
8         compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x20000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17         };
18
19         ocp@f1000000 {
20                 pinctrl: pinctrl@10000 {
21
22                         pinctrl-0 = < &pmx_spi
23                                       &pmx_led_bluetooth &pmx_led_wifi
24                                       &pmx_led_wifi_ap >;
25                         pinctrl-names = "default";
26
27                         pmx_led_bluetooth: pmx-led-bluetooth {
28                                 marvell,pins = "mpp47";
29                                 marvell,function = "gpio";
30                         };
31                         pmx_led_wifi: pmx-led-wifi {
32                                 marvell,pins = "mpp48";
33                                 marvell,function = "gpio";
34                         };
35                         pmx_led_wifi_ap: pmx-led-wifi-ap {
36                                 marvell,pins = "mpp49";
37                                 marvell,function = "gpio";
38                         };
39                 };
40                 serial@12000 {
41                         clock-frequency = <200000000>;
42                         status = "ok";
43                 };
44
45                 spi@10600 {
46                         status = "okay";
47
48                         m25p40@0 {
49                                 #address-cells = <1>;
50                                 #size-cells = <1>;
51                                 compatible = "mx25l1606e";
52                                 reg = <0>;
53                                 spi-max-frequency = <50000000>;
54                                 mode = <0>;
55
56                                 partition@0 {
57                                         reg = <0x0 0x80000>;
58                                         label = "u-boot";
59                                 };
60
61                                 partition@100000 {
62                                         reg = <0x100000 0x10000>;
63                                         label = "u-boot env";
64                                 };
65
66                                 partition@180000 {
67                                         reg = <0x180000 0x10000>;
68                                         label = "dtb";
69                                 };
70                         };
71                 };
72
73                 sata@80000 {
74                         status = "okay";
75                         nr-ports = <1>;
76                 };
77
78                 mvsdio@90000 {
79                         pinctrl-0 = <&pmx_sdio>;
80                         pinctrl-names = "default";
81                         status = "okay";
82                         /* No CD or WP GPIOs */
83                 };
84         };
85
86         gpio-leds {
87                 compatible = "gpio-leds";
88
89                 bluetooth {
90                         label = "dreamplug:blue:bluetooth";
91                         gpios = <&gpio1 15 1>;
92                 };
93                 wifi {
94                         label = "dreamplug:green:wifi";
95                         gpios = <&gpio1 16 1>;
96                 };
97                 wifi-ap {
98                         label = "dreamplug:green:wifi_ap";
99                         gpios = <&gpio1 17 1>;
100                 };
101         };
102 };