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";
62 compatible = "virtual,mdio-gpio";
63 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
64 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
68 phy0: ethernet-phy@1 {
70 device_type = "ethernet-phy";
78 reg = <0x30000000 0x00800000>;
79 /* TODO: add flash partitions here */
82 syscon: syscon@40000000 {
85 * gpio0bgrp cover line 7 used by GSM LED
86 * gpio0fgrp cover line 17 used by power LED
88 gpio0_default_pins: pinctrl-gpio0 {
96 * gpio1dgrp cover line 28-31 otherwise used
99 gpio1_default_pins: pinctrl-gpio1 {
102 groups = "gpio1dgrp";
108 gpio0: gpio@4d000000 {
109 pinctrl-names = "default";
110 pinctrl-0 = <&gpio0_default_pins>;
113 gpio1: gpio@4e000000 {
114 pinctrl-names = "default";
115 pinctrl-0 = <&gpio1_default_pins>;
123 phy-handle = <&phy0>;
126 /* Not used in this platform */