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";
17 memory@0 { /* 128 MB */
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8";
28 compatible = "gpio-keys";
31 debounce-interval = <50>;
33 linux,code = <KEY_SETUP>;
34 label = "Reset to defaults";
35 /* Conflict with TVC */
36 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
43 /* FIXME: add the LED color */
44 label = "rut1xx::gsm";
45 /* Conflict with ICE */
46 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
50 /* FIXME: add the LED color */
51 label = "rut1xx::power";
52 /* Conflict with NAND CE0 */
53 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
55 linux,default-trigger = "heartbeat";
60 compatible = "virtual,mdio-gpio";
61 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
62 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
66 phy0: ethernet-phy@1 {
68 device_type = "ethernet-phy";
76 reg = <0x30000000 0x00800000>;
77 /* TODO: add flash partitions here */
80 syscon: syscon@40000000 {
83 * gpio0bgrp cover line 7 used by GSM LED
84 * gpio0fgrp cover line 17 used by power LED
86 gpio0_default_pins: pinctrl-gpio0 {
94 * gpio1dgrp cover line 28-31 otherwise used
97 gpio1_default_pins: pinctrl-gpio1 {
100 groups = "gpio1dgrp";
106 gpio0: gpio@4d000000 {
107 pinctrl-names = "default";
108 pinctrl-0 = <&gpio0_default_pins>;
111 gpio1: gpio@4e000000 {
112 pinctrl-names = "default";
113 pinctrl-0 = <&gpio1_default_pins>;
121 phy-handle = <&phy0>;
124 /* Not used in this platform */