aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>2017-02-14 16:36:45 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-28 13:18:27 +0100
commitdc3537415ce01ec4c69500919aa03f5de19a10a3 (patch)
tree4afdeddf09e25bf5e355088bd7abff42eae5b71a
parent377315de4d1c05c860bb138a7c4c5b8a7d0e462a (diff)
downloadupstream-dc3537415ce01ec4c69500919aa03f5de19a10a3.tar.gz
upstream-dc3537415ce01ec4c69500919aa03f5de19a10a3.tar.bz2
upstream-dc3537415ce01ec4c69500919aa03f5de19a10a3.zip
brcm63xx: CPVA502+: fix LEDs and buttons at DTS
Leds are wrong and a button is missing, fix them. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
-rw-r--r--target/linux/brcm63xx/dts/cpva502plus.dts20
1 files changed, 17 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/cpva502plus.dts b/target/linux/brcm63xx/dts/cpva502plus.dts
index 6d9b5d329f..3ddc459836 100644
--- 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";
};
+ 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";
- power_green {
+ phone_green {
label = "CPVA502+:green:phone";
gpios = <&gpio0 0 1>;
};
- status {
+ link_amber {
label = "CPVA502+:amber:link";
- gpios = <&gpio0 1 1>;
+ gpios = <&gpio0 5 1>;
};
};
};