Commit 4da8b5e9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Matthias Brugger
Browse files

ARM: dts: mediatek: 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>
Link: https://lore.kernel.org/r/20220616005333.18491-18-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent c4218e8c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,13 +45,13 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&key_pins_a>;

		factory {
		button-factory {
			label = "factory";
			linux,code = <BTN_0>;
			gpios = <&pio 256 GPIO_ACTIVE_LOW>;
		};

		wps {
		button-wps {
			label = "wps";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 −2
Original line number Diff line number Diff line
@@ -45,13 +45,13 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&key_pins_a>;

		factory {
		button-factory {
			label = "factory";
			linux,code = <BTN_0>;
			gpios = <&pio 256 GPIO_ACTIVE_LOW>;
		};

		wps {
		button-wps {
			label = "wps";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 −2
Original line number Diff line number Diff line
@@ -91,13 +91,13 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&key_pins_a>;

		factory {
		button-factory {
			label = "factory";
			linux,code = <BTN_0>;
			gpios = <&pio 256 GPIO_ACTIVE_LOW>;
		};

		wps {
		button-wps {
			label = "wps";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 −2
Original line number Diff line number Diff line
@@ -60,13 +60,13 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&key_pins_a>;

		factory {
		button-factory {
			label = "factory";
			linux,code = <BTN_0>;
			gpios = <&pio 256 GPIO_ACTIVE_LOW>;
		};

		wps {
		button-wps {
			label = "wps";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 −2
Original line number Diff line number Diff line
@@ -23,13 +23,13 @@ chosen {
	gpio-keys {
		compatible = "gpio-keys";

		reset {
		button-reset {
			label = "factory";
			linux,code = <KEY_RESTART>;
			gpios = <&pio 60 GPIO_ACTIVE_LOW>;
		};

		wps {
		button-wps {
			label = "wps";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&pio 58 GPIO_ACTIVE_LOW>;