diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-06-17 16:10:16 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-06-19 12:40:30 +0200 |
commit | cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d (patch) | |
tree | 690a5b80911d024e9c7edb733aad1a6b4b344b4d /target/linux/apm821xx | |
parent | c9725d4fb62062b42197ff181b87874be336d39f (diff) | |
download | upstream-cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d.tar.gz upstream-cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d.tar.bz2 upstream-cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d.zip |
apm821xx: align gpio-keys node names with dt-schema
As per the series:
<https://www.spinics.net/lists/devicetree/msg508906.html>
"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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx')
-rw-r--r-- | target/linux/apm821xx/dts/meraki-mr24.dts | 2 | ||||
-rw-r--r-- | target/linux/apm821xx/dts/meraki-mx60.dts | 2 | ||||
-rw-r--r-- | target/linux/apm821xx/dts/netgear-wndap6x0.dtsi | 2 | ||||
-rw-r--r-- | target/linux/apm821xx/dts/netgear-wndr4700.dts | 8 | ||||
-rw-r--r-- | 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 4b43c683e1..14bedc5984 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -180,7 +180,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { /* Label as per Meraki's "MR24 Installation Guide" */ label = "Factory Reset Button"; linux,code = <KEY_RESTART>; diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 79e055c2ea..33f9a3d9f7 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -175,7 +175,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset button"; linux,code = <KEY_RESTART>; 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 8a15a78dce..144b17950e 100644 --- a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi +++ b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi @@ -130,7 +130,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset Button"; gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 342f9a01db..cbfe1235e9 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -355,7 +355,7 @@ keys { compatible = "gpio-keys"; - reset { + button-restart { label = "Reset button"; gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; @@ -364,7 +364,7 @@ debounce-interval = <60>; }; - backup_hd { + button-backup_hd { label = "Backup HD button"; gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>; linux,code = <BTN_0>; @@ -373,7 +373,7 @@ debounce-interval = <60>; }; - rfkill { + button-rfkill { label = "RFKILL button"; gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>; linux,code = <KEY_RFKILL>; @@ -382,7 +382,7 @@ debounce-interval = <60>; }; - wps { + button-wps { label = "WPS button"; gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; diff --git a/target/linux/apm821xx/dts/wd-mybooklive.dts b/target/linux/apm821xx/dts/wd-mybooklive.dts index 5fcddb0cd8..588f45078c 100644 --- a/target/linux/apm821xx/dts/wd-mybooklive.dts +++ b/target/linux/apm821xx/dts/wd-mybooklive.dts @@ -116,7 +116,7 @@ poll-interval = <60>; /* 3 * 20 = 60ms */ autorepeat; - reset-button { + button-restart { label = "Reset button"; linux,code = <KEY_RESTART>; gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>; |