x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / arm / boot / dts / kirkwood-mv88f6281gtw-ge.dts
blobe650e35d120c07edee833ec6d5cb29bc2c9c335b
1 /*
2  * Marvell 88F6281 GTW GE Board
3  *
4  * Lennert Buytenhek <buytenh@marvell.com>
5  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6  *
7  * This file is licensed under the terms of the GNU General Public
8  * License version 2.  This program is licensed "as is" without any
9  * warranty of any kind, whether express or implied.
10  *
11  * This file contains the definitions that are common between the 6281
12  * and 6282 variants of the Marvell Kirkwood Development Board.
13  */
15 /dts-v1/;
17 #include "kirkwood.dtsi"
18 #include "kirkwood-6281.dtsi"
20 / {
21         model = "Marvell 88F6281 GTW GE Board";
22         compatible = "marvell,mv88f6281gtw-ge", "marvell,kirkwood-88f6281", "marvell,kirkwood";
24         memory {
25                 device_type = "memory";
26                 reg = <0x00000000 0x20000000>; /* 512 MB */
27         };
29         chosen {
30                 bootargs = "console=ttyS0,115200n8 earlyprintk";
31         };
33         mbus {
34                 pcie-controller {
35                         status = "okay";
37                         pcie@1,0 {
38                                 status = "okay";
39                         };
40                 };
41         };
43         ocp@f1000000 {
44                 pinctrl@10000 {
45                         pmx_usb_led: pmx-usb-led {
46                                 marvell,pins = "mpp12";
47                                 marvell,function = "gpo";
48                         };
50                         pmx_leds: pmx-leds {
51                                 marvell,pins = "mpp20", "mpp21";
52                                 marvell,function = "gpio";
53                         };
55                         pmx_keys: pmx-keys {
56                                 marvell,pins = "mpp46", "mpp47";
57                                 marvell,function = "gpio";
58                         };
59                 };
61                 spi@10600 {
62                         pinctrl-0 = <&pmx_spi>;
63                         pinctrl-names = "default";
64                         status = "okay";
66                         flash@0 {
67                                 #address-cells = <1>;
68                                 #size-cells = <1>;
69                                 compatible = "mx25l12805d";
70                                 reg = <0>;
71                                 spi-max-frequency = <50000000>;
72                                 mode = <0>;
73                         };
74                 };
76                 serial@12000 {
77                         pinctrl-0 = <&pmx_uart0>;
78                         pinctrl-names = "default";
79                         clock-frequency = <200000000>;
80                         status = "ok";
81                 };
83                 ehci@50000 {
84                         status = "okay";
85                 };
86         };
88         gpio-leds {
89                 compatible = "gpio-leds";
90                 pinctrl-0 = <&pmx_leds &pmx_usb_led>;
91                 pinctrl-names = "default";
93                 green-status {
94                         label = "gtw:green:Status";
95                         gpios = <&gpio0 20 0>;
96                 };
98                 red-status {
99                         label = "gtw:red:Status";
100                         gpios = <&gpio0 21 0>;
101                 };
103                 green-usb {
104                         label = "gtw:green:USB";
105                         gpios = <&gpio0 12 0>;
106                 };
107         };
109         gpio_keys {
110                 compatible = "gpio-keys";
111                 #address-cells = <1>;
112                 #size-cells = <0>;
113                 pinctrl-0 = <&pmx_keys>;
114                 pinctrl-names = "default";
116                 button@1 {
117                         label = "SWR Button";
118                         linux,code = <0x198>; /* KEY_RESTART */
119                         gpios = <&gpio1 15 1>;
120                 };
121                 button@2 {
122                         label = "WPS Button";
123                         linux,code = <0x211>; /* KEY_WPS_BUTTON */
124                         gpios = <&gpio1 14 1>;
125                 };
126         };