Commit 62fb295c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Thomas Bogendoerfer
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 5ee46bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
	gpio-keys {
		compatible = "gpio-keys";

		sw1 {
		switch {
			label = "ci20:sw1";
			linux,code = <KEY_F13>;
			gpios = <&gpd 17 GPIO_ACTIVE_HIGH>;
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
		pinctrl-names = "default";
		pinctrl-0 = <&pinmux_gpio_gpio>;	/* GPIO11 */

		user_btn1 {
		button {
			label = "USER_BTN1";
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
			linux,code =<KEY_PROG1> ;
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
	gpio-keys {
		compatible = "gpio-keys";

		reset {
		key-reset {
			label = "reset";
			gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
			linux,code = <KEY_RESTART>;
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
	gpio-keys {
		compatible = "gpio-keys";

		reset {
		key-reset {
			label = "reset";
			gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
			linux,code = <KEY_RESTART>;