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>
This commit is contained in:
Daniel Gonzalez Cabanelas 2017-02-14 16:36:45 +01:00 committed by Jonas Gorski
parent 377315de4d
commit dc3537415c
1 changed files with 17 additions and 3 deletions

View File

@ -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 { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power_green { phone_green {
label = "CPVA502+:green:phone"; label = "CPVA502+:green:phone";
gpios = <&gpio0 0 1>; gpios = <&gpio0 0 1>;
}; };
status { link_amber {
label = "CPVA502+:amber:link"; label = "CPVA502+:amber:link";
gpios = <&gpio0 1 1>; gpios = <&gpio0 5 1>;
}; };
}; };
}; };