#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
- compatible = "RUT5XX", "ralink,rt3050-soc";
+ compatible = "teltonika,rut5xx", "ralink,rt3050-soc";
model = "Teltonika RUT5XX";
gpio-leds {
status {
label = "rut5xx:green:status";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
reset {
label = "reset";
- gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80", "n25q128a13";
+ reg = <0>;
spi-max-frequency = <10000000>;
partition@0 {