mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
arm64: zynqmp: Align gpio-key node names with dtschema
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). It is based on kernel commit (228e8a88b1915a2b467c83d8d0976605f1272fae). Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/ae23999097553acb21dfca9288a913bb8b24587a.1670590595.git.michal.simek@amd.com
This commit is contained in:
parent
8dfdb6958b
commit
b1d3e7fd9a
@ -53,7 +53,7 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
fwuen {
|
key-fwuen {
|
||||||
label = "fwuen";
|
label = "fwuen";
|
||||||
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_MISC>;
|
linux,code = <BTN_MISC>;
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
sw4 {
|
switch-4 {
|
||||||
label = "sw4";
|
label = "sw4";
|
||||||
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_POWER>;
|
linux,code = <KEY_POWER>;
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
sw19 {
|
switch-19 {
|
||||||
label = "sw19";
|
label = "sw19";
|
||||||
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <KEY_DOWN>;
|
linux,code = <KEY_DOWN>;
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
sw19 {
|
switch-19 {
|
||||||
label = "sw19";
|
label = "sw19";
|
||||||
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <KEY_DOWN>;
|
linux,code = <KEY_DOWN>;
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
sw19 {
|
switch-19 {
|
||||||
label = "sw19";
|
label = "sw19";
|
||||||
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <KEY_DOWN>;
|
linux,code = <KEY_DOWN>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user