#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
compatible = "planex,vr500", "mediatek,mt7621-soc";
model = "Planex VR500";
+ aliases {
+ led-status = &led_power;
+ };
+
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
gpio-leds {
compatible = "gpio-leds";
- power {
+ led_power: power {
label = "vr500:green:power";
- gpios = <&gpio1 13 1>;
+ gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
};
reset {
label = "reset";
- gpios = <&gpio1 15 1>;
+ gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};