[PATCH] arm64: zynqmp: Fix gpio-key DT description
Michal Simek
michal.simek at amd.com
Tue Mar 12 16:12:35 CET 2024
On 3/8/24 09:40, Michal Simek wrote:
> All gpio-key descriptionos with dt-schema.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> arch/arm/dts/zynqmp-sc-revB.dts | 2 +-
> arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts | 2 +-
> arch/arm/dts/zynqmp-vpk120-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu208-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu216-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu670-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu670-revB.dts | 2 +-
> 7 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-sc-revB.dts b/arch/arm/dts/zynqmp-sc-revB.dts
> index 8517bdad6f47..de2d7842ae28 100644
> --- a/arch/arm/dts/zynqmp-sc-revB.dts
> +++ b/arch/arm/dts/zynqmp-sc-revB.dts
> @@ -49,7 +49,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - fwuen {
> + key-fwuen {
> label = "sw16";
> gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
> linux,code = <BTN_MISC>;
> diff --git a/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts b/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> index 2a3bbe170472..b626d1aacf58 100644
> --- a/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> @@ -47,7 +47,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - j383 {
> + key-j383 {
> label = "j383";
> gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
> linux,code = <BTN_MISC>;
> diff --git a/arch/arm/dts/zynqmp-vpk120-revA.dts b/arch/arm/dts/zynqmp-vpk120-revA.dts
> index e0e4f1b13ada..e0632883e4ec 100644
> --- a/arch/arm/dts/zynqmp-vpk120-revA.dts
> +++ b/arch/arm/dts/zynqmp-vpk120-revA.dts
> @@ -47,7 +47,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - sw16 {
> + button-16 {
> label = "sw16";
> gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
> linux,code = <BTN_MISC>;
> diff --git a/arch/arm/dts/zynqmp-zcu208-revA.dts b/arch/arm/dts/zynqmp-zcu208-revA.dts
> index b4e24745a9a6..a113e475082f 100644
> --- a/arch/arm/dts/zynqmp-zcu208-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu208-revA.dts
> @@ -46,7 +46,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - sw19 {
> + switch-19 {
> label = "sw19";
> gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> linux,code = <KEY_DOWN>;
> diff --git a/arch/arm/dts/zynqmp-zcu216-revA.dts b/arch/arm/dts/zynqmp-zcu216-revA.dts
> index 6f593e80841f..4d7d5d2e5eff 100644
> --- a/arch/arm/dts/zynqmp-zcu216-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu216-revA.dts
> @@ -46,7 +46,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - sw19 {
> + switch-19 {
> label = "sw19";
> gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> linux,code = <KEY_DOWN>;
> diff --git a/arch/arm/dts/zynqmp-zcu670-revA.dts b/arch/arm/dts/zynqmp-zcu670-revA.dts
> index 7f70904f44e7..def3b53cef7f 100644
> --- a/arch/arm/dts/zynqmp-zcu670-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu670-revA.dts
> @@ -49,7 +49,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - sw1 {
> + switch-1 {
> label = "sw1";
> gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> linux,code = <BTN_MISC>;
> diff --git a/arch/arm/dts/zynqmp-zcu670-revB.dts b/arch/arm/dts/zynqmp-zcu670-revB.dts
> index 0adb2062aef1..41f9a23d06ad 100644
> --- a/arch/arm/dts/zynqmp-zcu670-revB.dts
> +++ b/arch/arm/dts/zynqmp-zcu670-revB.dts
> @@ -49,7 +49,7 @@
> gpio-keys {
> compatible = "gpio-keys";
> autorepeat;
> - sw1 {
> + switch-1 {
> label = "sw1";
> gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> linux,code = <BTN_MISC>;
Applied.
M
More information about the U-Boot
mailing list