projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: clean up useless dts partition labels
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_yuncore_fap690.dts
diff --git
a/target/linux/ramips/dts/mt7621_yuncore_fap690.dts
b/target/linux/ramips/dts/mt7621_yuncore_fap690.dts
index caebe0b589a3ecd339cfe417c269aa02cd5c3539..9f7ca430922f36f55e86781e5f11ee3c32bd26f9 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_yuncore_fap690.dts
+++ b/
target/linux/ramips/dts/mt7621_yuncore_fap690.dts
@@
-4,6
+4,7
@@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "yuncore,fap690", "mediatek,mt7621-soc";
/ {
compatible = "yuncore,fap690", "mediatek,mt7621-soc";
@@
-25,17
+26,20
@@
compatible = "gpio-leds";
led_status_green: status_green {
compatible = "gpio-leds";
led_status_green: status_green {
- label = "green:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_status_red: status_red {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_status_red: status_red {
- label = "red:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_status_blue: status_blue {
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_status_blue: status_blue {
- label = "blue:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
@@
-89,7
+93,7
@@
* firmware, so we do not use it either
*/
* firmware, so we do not use it either
*/
-
factory:
partition@50000 {
+ partition@50000 {
label = "Factory";
reg = <0x50000 0x40000>;
read-only;
label = "Factory";
reg = <0x50000 0x40000>;
read-only;