MIPS: dts: 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). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
5ee46bfbb6
commit
62fb295ce7
|
@ -31,7 +31,7 @@
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
sw1 {
|
switch {
|
||||||
label = "ci20:sw1";
|
label = "ci20:sw1";
|
||||||
linux,code = <KEY_F13>;
|
linux,code = <KEY_F13>;
|
||||||
gpios = <&gpd 17 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpd 17 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinmux_gpio_gpio>; /* GPIO11 */
|
pinctrl-0 = <&pinmux_gpio_gpio>; /* GPIO11 */
|
||||||
|
|
||||||
user_btn1 {
|
button {
|
||||||
label = "USER_BTN1";
|
label = "USER_BTN1";
|
||||||
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
||||||
linux,code =<KEY_PROG1> ;
|
linux,code =<KEY_PROG1> ;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
reset {
|
key-reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
reset {
|
key-reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
|
Loading…
Reference in New Issue