ARM: rockchip: rk3228: implement function rk3228_restart
[firefly-linux-kernel-4.4.55.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                         status = "ok";
42                 };
43
44                 spi@10600 {
45                         status = "okay";
46
47                         m25p40@0 {
48                                 #address-cells = <1>;
49                                 #size-cells = <1>;
50                                 compatible = "mx25l1606e";
51                                 reg = <0>;
52                                 spi-max-frequency = <50000000>;
53                                 mode = <0>;
54
55                                 partition@0 {
56                                         reg = <0x0 0x80000>;
57                                         label = "u-boot";
58                                 };
59
60                                 partition@100000 {
61                                         reg = <0x100000 0x10000>;
62                                         label = "u-boot env";
63                                 };
64
65                                 partition@180000 {
66                                         reg = <0x180000 0x10000>;
67                                         label = "dtb";
68                                 };
69                         };
70                 };
71
72                 sata@80000 {
73                         status = "okay";
74                         nr-ports = <1>;
75                 };
76
77                 mvsdio@90000 {
78                         pinctrl-0 = <&pmx_sdio>;
79                         pinctrl-names = "default";
80                         status = "okay";
81                         /* No CD or WP GPIOs */
82                 };
83         };
84
85         gpio-leds {
86                 compatible = "gpio-leds";
87
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         };
101 };