projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: CPVA502+: fix LEDs and buttons at DTS
[openwrt/staging/yousong.git]
/
target
/
linux
/
brcm63xx
/
dts
/
cpva502plus.dts
diff --git
a/target/linux/brcm63xx/dts/cpva502plus.dts
b/target/linux/brcm63xx/dts/cpva502plus.dts
index 6d9b5d329f35bc3a569cacceda3cf6c1a5ce1407..3ddc459836c11bd2144c82d97b2e113dbb09f6a8 100644
(file)
--- a/
target/linux/brcm63xx/dts/cpva502plus.dts
+++ b/
target/linux/brcm63xx/dts/cpva502plus.dts
@@
-12,17
+12,31
@@
bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
};
bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
};
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+ debounce-interval = <60>;
+
+ reset {
+ label = "reset";
+ gpios = <&gpio1 4 1>;
+ linux,code = <KEY_RESTART>;
+ };
+ };
+
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- p
ower
_green {
+ p
hone
_green {
label = "CPVA502+:green:phone";
gpios = <&gpio0 0 1>;
};
label = "CPVA502+:green:phone";
gpios = <&gpio0 0 1>;
};
-
status
{
+
link_amber
{
label = "CPVA502+:amber:link";
label = "CPVA502+:amber:link";
- gpios = <&gpio0
1
1>;
+ gpios = <&gpio0
5
1>;
};
};
};
};
};
};