]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6: add key- prefix for gpio-keys
authorFrank Li <Frank.Li@nxp.com>
Wed, 3 Sep 2025 20:19:55 +0000 (16:19 -0400)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 03:18:09 +0000 (11:18 +0800)
Add key- prefix for gpio-keys and rename button_0 to button-0 to fix below
CHECK_DTB warning:
  arch/arm/boot/dts/nxp/imx/imx6q-gw51xx.dtb: gpio-keys (gpio-keys): 'eeprom-wp', ...  do not match any of the regexes: '^(button|...))$', 'pinctrl-[0-9]+

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
31 files changed:
arch/arm/boot/dts/nxp/imx/imx6qdl-cubox-i.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-emcon.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw51xx.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw52xx.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw53xx.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw54xx.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw551x.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw552x.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw553x.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw560x.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5903.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5907.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5910.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5912.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5913.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-nit6xlite.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira-peb-eval-01.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-sabrelite.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-savageboard.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi
arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi
arch/arm/boot/dts/nxp/imx/imx6ul-phytec-segin-peb-eval-01.dtsi
arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dtsi
arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris.dtsi
arch/arm/boot/dts/nxp/imx/imx7s-warp.dts

index 41d073f5bfe7a5d42ecfe34341d8dc8a39f73801..c504cf7e9492a339658e60cff18ea7d86f3fbc4d 100644 (file)
                pinctrl-0 = <&pinctrl_gpio_key>;
                pinctrl-names = "default";
 
-               button_0 {
+               button-0 {
                        label = "Button 0";
                        gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
index 97763db3959fb1d5906b564ccedc0d1c13a7e02b..6fb873c2983fc03195ffa46245ca89813ca3d999 100644 (file)
@@ -33,7 +33,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_emcon_wake>;
 
-               wake {
+               key-wake {
                        label = "Wake";
                        linux,code = <KEY_WAKEUP>;
                        gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
index c61e70469b66003c1fe62c75dbcd9608a11661ea..d92d26e40a1cf1c29b6fa9a630858b87ebd15a12 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 4f66271bf4a4624cdc6403955022f8fdb69a0c4d..c1d124ad1d66139c62c52bffd9b22f81e3e3792f 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index cdb40046bd7e58319c897d45c74c9e9c0afe9867..63e604537b06e6af5596298f930dd1e73afee952 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 94f1d1ae59aa224d14bdcdf4d06d1bd2b6f8f6fc..66a7b3e03fa1214f4ee56b16835b342328867b3c 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 4db5ef4a3e563dc0889f9a21fffe3818c74d499b..07cb36e65df7c99b7e3a2f650f354f6e31fce3aa 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 5d5ef18a05936eda6fbd6f21911e933d3a17959e..f152ebbd203dfa1aa3caf793c6c485026ab58bdf 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index a9dfa7cb69ef5872ba6601286c618aef99de21c5..aef920c192b564d5ad4f7a99d128c786e2fd886e 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 11483daa59fc2c1bead0cff5284415a158b44136..ea92b2b5c50d93b2e3a03d3a6f8d7526bb8e6785 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index c48dd7d06bce7fc86e2ad4428a178b9d572f7f86..b518bcb6b7a99673de2a7eb49e2a34b75d41fb29 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 2d24f9bc4106ae185ec8cbccd866089278218879..3df4d345da9898762a55e31a1c2d139116321f76 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index e214a5f2f191b68b05b5101dcc5917fe830845ef..b73a170940a0126ebef98343028994be3ba50bd7 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 02bfec7af9f2cc752534a69ccd2926cd8747beb9..099ed2f94d61a0a5f594c4d85800a881c330a80d 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index add700bc11cc19807afca30d057bddb1d9dda8cd..cbca5e58e81211506987f38556da024467ddf48a 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 0dc239d4975c4583b22c0e38b3fde265a3198888..4e4dce5adc153e5668b2004d1edbb4b82ffb9655 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               user-pb {
+               key-user-pb {
                        label = "user_pb";
                        gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
-               user-pb1x {
+               key-user-pb1x {
                        label = "user_pb1x";
                        linux,code = <BTN_1>;
                        interrupt-parent = <&gsc>;
                        interrupts = <1>;
                };
 
-               eeprom-wp {
+               key-eeprom-wp {
                        label = "eeprom_wp";
                        linux,code = <BTN_3>;
                        interrupt-parent = <&gsc>;
                        interrupts = <2>;
                };
 
-               tamper {
+               key-tamper {
                        label = "tamper";
                        linux,code = <BTN_4>;
                        interrupt-parent = <&gsc>;
                        interrupts = <5>;
                };
 
-               switch-hold {
+               key-switch-hold {
                        label = "switch_hold";
                        linux,code = <BTN_5>;
                        interrupt-parent = <&gsc>;
index 8ee65f9858c0fcfa40e69ee4c08a5baf50e1e178..8d471450d5c5c76131ab9677986228c1615f584e 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio7 13 IRQ_TYPE_LEVEL_LOW>;
                        linux,code = <102>;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio4 5 IRQ_TYPE_LEVEL_LOW>;
                        linux,code = <158>;
index 43d474bbf55d1ca80e317cefa6326fcc81f83496..a096f4d985e753e280cd3f8b2f9ee26588c19e0f 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        wakeup-source;
                };
 
-               menu {
+               key-menu {
                        label = "Menu";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_MENU>;
                };
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_HOME>;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_BACK>;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index 8e64314fa8b2a6f69e10fa0577e49ef6bb931345..806af7f60419e7e81c8373cdbaca36453abbbba6 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        wakeup-source;
                };
 
-               menu {
+               key-menu {
                        label = "Menu";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_MENU>;
                };
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_HOME>;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_BACK>;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index 8a0bfc387a5996bcd4ff3fc7ee4dd26c04f3a947..c71aa7498acf4a0b1cc8f74c325c8944ed1a781c 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        wakeup-source;
                };
 
-               menu {
+               key-menu {
                        label = "Menu";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_MENU>;
                };
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_HOME>;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_BACK>;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index 037b60197598bca3eaaa3e2c61d176e401e2a7ae..060d2aeb1baf750c1b134ac716d9948fb64e5f10 100644 (file)
                pinctrl-0 = <&pinctrl_gpio_keys>;
                status = "disabled";
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WAKEUP>;
                        wakeup-source;
                };
 
-               sleep {
+               key-sleep {
                        label = "Sleep Button";
                        gpios = <&gpio6 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_SLEEP>;
index 2587d17c5918573cb103361234194a1b585b6548..b9dde0af3b995feb49fef38fb0fda69eee3a5750 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_HOME>;
                        wakeup-source;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_BACK>;
                        wakeup-source;
                };
 
-               program {
+               key-program {
                        label = "Program";
                        gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_PROGRAM>;
                        wakeup-source;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                        wakeup-source;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio5 14 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index bdef7e642d3cf2edd833dfa7b7aa9d9b67f61ef0..f7abc17c7c93a7016854d7beb7d041dc90301514 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        wakeup-source;
                };
 
-               menu {
+               key-menu {
                        label = "Menu";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_MENU>;
                };
 
-               home {
+               key-home {
                        label = "Home";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_HOME>;
                };
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_BACK>;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index 960e83f5e9043babb5fb9cc979208cdd94256cc8..e8368c6b27ef3be2bae1d1dadc7c29672db0e5df 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
                        wakeup-source;
                        linux,code = <KEY_POWER>;
                };
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                        wakeup-source;
                        linux,code = <KEY_VOLUMEUP>;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                        wakeup-source;
index 6823a639ed2fc25db1e153178ae376733d7c6472..2daf2b6af884965c80e1b309c2d3b8843b618bcc 100644 (file)
@@ -58,7 +58,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               power {
+               key-power {
                        gpios = <&gpio3 7 GPIO_ACTIVE_LOW>;
                        label = "Power Button";
                        linux,code = <KEY_POWER>;
index 2bb5b762c98400b285426341f0fb21a4e64a0258..57297d6521cf09f1fd629ae375c9994ebb683375 100644 (file)
@@ -44,7 +44,7 @@
        gpio-keys {
                compatible = "gpio-keys";
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_POWER>;
index 67cf09e63a638f6383ccdd659b2634670cb8f601..c7aeb99d8f002011a677ee50c7c849b9aab91374 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
-               volume-up {
+               key-volume-up {
                        label = "Volume Up";
                        gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                        wakeup-source;
                };
 
-               volume-down {
+               key-volume-down {
                        label = "Volume Down";
                        gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
index 2f3fd32a116795ada43a78d967704fa988f7ba3a..d4d6ce9756390d6b7aa296eb585fc7fe61a67443 100644 (file)
@@ -13,7 +13,7 @@
                pinctrl-0 = <&pinctrl_gpio_keys>;
                status = "disabled";
 
-               power {
+               key-power {
                        label = "Power Button";
                        gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
index de4dc7c1a03aee71800eb509201bdd57af515205..e75dad0f0e231cc4aa1c2596287ad783518c9cbe 100644 (file)
@@ -13,7 +13,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_snvs_gpiokeys>;
 
-               power {
+               key-power {
                        label = "Wake-Up";
                        gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_WAKEUP>;
index f52f8b5ad8a6ee73f2d0ce1f1d2183893e8f7179..bce6fbf230b3969b4a7ca22a794205b65bb27283 100644 (file)
@@ -13,7 +13,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_snvs_gpiokeys>;
 
-               power {
+               key-power {
                        label = "Wake-Up";
                        gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_WAKEUP>;
index f2cd95e992e74c04737184f3a7b217b8b8b95748..56dedd4fb8f0894c48eea5e34f2b8445cd38cace 100644 (file)
@@ -23,7 +23,7 @@
                pinctrl-0 = <&pinctrl_gpio>;
                autorepeat;
 
-               back {
+               key-back {
                        label = "Back";
                        gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_BACK>;