projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix dtc warnings
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
NW718.dts
diff --git
a/target/linux/ramips/dts/NW718.dts
b/target/linux/ramips/dts/NW718.dts
index 60922555d678326df3d12677cf25ad73da89d8b0..26bdc0b72fe95a667e845aa5d6bb89f030f51736 100644
(file)
--- a/
target/linux/ramips/dts/NW718.dts
+++ b/
target/linux/ramips/dts/NW718.dts
@@
-2,46
+2,49
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
#include <dt-bindings/input/input.h>
/ {
- compatible = "
NW
718", "ralink,rt3050-soc";
+ compatible = "
netcore,nw
718", "ralink,rt3050-soc";
model = "Netcore NW718";
model = "Netcore NW718";
+ aliases {
+ led-status = &led_cpu;
+ };
+
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- cpu {
+
led_cpu:
cpu {
label = "nw718:amber:cpu";
label = "nw718:amber:cpu";
- gpios = <&gpio0 13
1
>;
+ gpios = <&gpio0 13
GPIO_ACTIVE_LOW
>;
};
usb {
label = "nw718:amber:usb";
};
usb {
label = "nw718:amber:usb";
- gpios = <&gpio0 8
1
>;
+ gpios = <&gpio0 8
GPIO_ACTIVE_LOW
>;
};
wps {
label = "nw718:amber:wps";
};
wps {
label = "nw718:amber:wps";
- gpios = <&gpio0 14
1
>;
+ gpios = <&gpio0 14
GPIO_ACTIVE_LOW
>;
};
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
};
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
poll-interval = <20>;
reset {
label = "reset";
- gpios = <&gpio0 10
1
>;
+ gpios = <&gpio0 10
GPIO_ACTIVE_LOW
>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio0 0
1
>;
+ gpios = <&gpio0 0
GPIO_ACTIVE_LOW
>;
linux,code = <KEY_WPS_BUTTON>;
};
};
linux,code = <KEY_WPS_BUTTON>;
};
};