3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "teltonika,rut5xx", "ralink,rt3050-soc";
9 model = "Teltonika RUT5XX";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 compatible = "linux,wdt-gpio";
41 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
43 /* hw_margin_ms is actually 280s but driver limits it to 60s */
44 hw_margin_ms = <60000>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
76 reg = <0x40000 0x10000>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 macaddr_factory_28: macaddr@28 {
95 compatible = "denx,uimage";
97 reg = <0x50000 0xfb0000>;
105 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
111 nvmem-cells = <&macaddr_factory_28>;
112 nvmem-cell-names = "mac-address";
116 mediatek,portmap = <0x3e>;
120 nvmem-cells = <&eeprom_factory_0>;
121 nvmem-cell-names = "eeprom";