From 19e9aadb89804bfe46d1875feff54ba80606d8ca Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Fri, 17 Jun 2022 16:10:16 +0200 Subject: [PATCH] apm821xx: align gpio-keys node names with dt-schema As per the series: "Enforce specific naming pattern for children (keys) to narrow the pattern thus do not match other properties. This will require all children to be properly prefixed or suffixed (button, event, switch or key)." Signed-off-by: Christian Lamparter (cherry picked from commit cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d) --- target/linux/apm821xx/dts/meraki-mr24.dts | 2 +- target/linux/apm821xx/dts/meraki-mx60.dts | 2 +- target/linux/apm821xx/dts/netgear-wndap6x0.dtsi | 2 +- target/linux/apm821xx/dts/netgear-wndr4700.dts | 8 ++++---- target/linux/apm821xx/dts/wd-mybooklive.dts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts index e20d4f1fa9..049895828f 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -176,7 +176,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { /* Label as per Meraki's "MR24 Installation Guide" */ label = "Factory Reset Button"; linux,code = ; diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 06dfa07965..ca3cdd168c 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -170,7 +170,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset button"; linux,code = ; gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>; diff --git a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi index a8e2dbfece..0f324eed14 100644 --- a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi +++ b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi @@ -121,7 +121,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset Button"; gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>; linux,code = ; diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 286eba203b..c7def6413b 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -325,7 +325,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset button"; gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>; linux,code = ; @@ -334,7 +334,7 @@ debounce-interval = <60>; }; - backup_hd { + button-backup_hd { label = "Backup HD button"; gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>; linux,code = ; @@ -343,7 +343,7 @@ debounce-interval = <60>; }; - rfkill { + button-rfkill { label = "RFKILL button"; gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>; linux,code = ; @@ -352,7 +352,7 @@ debounce-interval = <60>; }; - wps { + button-wps { label = "WPS button"; gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>; linux,code = ; diff --git a/target/linux/apm821xx/dts/wd-mybooklive.dts b/target/linux/apm821xx/dts/wd-mybooklive.dts index c96e7f75e9..00ae14effb 100644 --- a/target/linux/apm821xx/dts/wd-mybooklive.dts +++ b/target/linux/apm821xx/dts/wd-mybooklive.dts @@ -113,7 +113,7 @@ poll-interval = <60>; /* 3 * 20 = 60ms */ autorepeat; - reset-button { + button-restart { label = "Reset button"; linux,code = ; gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;