1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Teltonika RUT1xx
9 #include <dt-bindings/input/input.h>
12 model = "Teltonika RUT1xx";
13 compatible = "teltonika,rut1xx", "cortina,gemini";
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8";
28 compatible = "gpio-keys";
33 debounce_interval = <50>;
35 linux,code = <KEY_SETUP>;
36 label = "Reset to defaults";
37 /* Conflict with TVC */
38 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-leds";
45 /* FIXME: add the LED color */
46 label = "rut1xx::gsm";
47 /* Conflict with ICE */
48 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
52 /* FIXME: add the LED color */
53 label = "rut1xx::power";
54 /* Conflict with NAND CE0 */
55 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
56 default-state = "off";
57 linux,default-trigger = "heartbeat";
65 reg = <0x30000000 0x00800000>;
66 /* TODO: add flash partitions here */
69 syscon: syscon@40000000 {
72 * gpio0bgrp cover line 7 used by GSM LED
73 * gpio0fgrp cover line 17 used by power LED
75 gpio0_default_pins: pinctrl-gpio0 {
83 * gpio1dgrp cover line 28-31 otherwise used
86 gpio1_default_pins: pinctrl-gpio1 {
95 gpio0: gpio@4d000000 {
96 pinctrl-names = "default";
97 pinctrl-0 = <&gpio0_default_pins>;
100 gpio1: gpio@4e000000 {
101 pinctrl-names = "default";
102 pinctrl-0 = <&gpio1_default_pins>;