mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ARM: dts: at91: correct gpio-keys properties
gpio-keys children do not use unit addresses. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220616005333.18491-39-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
17413b15ed
commit
fa8cc83a3b
6 changed files with 3 additions and 18 deletions
|
@ -30,8 +30,6 @@
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
button-reset {
|
button-reset {
|
||||||
label = "PB_RST";
|
label = "PB_RST";
|
||||||
|
|
|
@ -33,8 +33,6 @@
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
button-prog {
|
button-prog {
|
||||||
label = "PB_PROG";
|
label = "PB_PROG";
|
||||||
|
|
|
@ -36,8 +36,6 @@
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
key-prog {
|
key-prog {
|
||||||
label = "PB_PROG";
|
label = "PB_PROG";
|
||||||
|
|
|
@ -198,8 +198,6 @@
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
button-user {
|
button-user {
|
||||||
label = "user_pb";
|
label = "user_pb";
|
||||||
|
|
|
@ -14,11 +14,8 @@
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
irqbtn@18 {
|
button {
|
||||||
reg = <18>;
|
|
||||||
label = "IRQBTN";
|
label = "IRQBTN";
|
||||||
linux,code = <99>;
|
linux,code = <99>;
|
||||||
gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
|
gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -15,19 +15,15 @@
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
btn0@10 {
|
button-0 {
|
||||||
reg = <10>;
|
|
||||||
label = "BTNESC";
|
label = "BTNESC";
|
||||||
linux,code = <1>; /* ESC button */
|
linux,code = <1>; /* ESC button */
|
||||||
gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
|
gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
irqbtn@31 {
|
button-1 {
|
||||||
reg = <31>;
|
|
||||||
label = "IRQBTN";
|
label = "IRQBTN";
|
||||||
linux,code = <99>; /* SysReq button */
|
linux,code = <99>; /* SysReq button */
|
||||||
gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
|
gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue