Merge branch 'linux-4.12' of git://github.com/skeggsb/linux into drm-next
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / gemini-rut1xx.dts
1 /*
2  * Device Tree file for Teltonika RUT1xx
3  */
4
5 /dts-v1/;
6
7 #include "gemini.dtsi"
8 #include <dt-bindings/input/input.h>
9
10 / {
11         model = "Teltonika RUT1xx";
12         compatible = "teltonika,rut1xx", "cortina,gemini";
13         #address-cells = <1>;
14         #size-cells = <1>;
15
16         memory { /* 128 MB */
17                 device_type = "memory";
18                 reg = <0x00000000 0x8000000>;
19         };
20
21         chosen {
22                 bootargs = "console=ttyS0,115200n8";
23                 stdout-path = &uart0;
24         };
25
26         gpio_keys {
27                 compatible = "gpio-keys";
28                 #address-cells = <1>;
29                 #size-cells = <0>;
30
31                 button@28 {
32                         debounce_interval = <50>;
33                         wakeup-source;
34                         linux,code = <KEY_SETUP>;
35                         label = "Reset to defaults";
36                         gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
37                 };
38         };
39
40         leds {
41                 compatible = "gpio-leds";
42                 led@7 {
43                         /* FIXME: add the LED color */
44                         label = "rut1xx::gsm";
45                         gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
46                         default-state = "on";
47                 };
48                 led@31 {
49                         /* FIXME: add the LED color */
50                         label = "rut1xx::power";
51                         gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
52                         default-state = "off";
53                         linux,default-trigger = "heartbeat";
54                 };
55         };
56
57         soc {
58                 flash@30000000 {
59                         status = "okay";
60                         /* 8MB of flash */
61                         reg = <0x30000000 0x00800000>;
62                         /* TODO: add flash partitions here */
63                 };
64         };
65 };