Commit 41340053 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski
Browse files

ARM: dts: marvell: 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-13-krzysztof.kozlowski@linaro.org
parent eef3af89
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -75,25 +75,25 @@ keys {
		pinctrl-0 = <&pmx_buttons>;
		pinctrl-names = "default";

		power {
		button-power {
			label = "Power Button";
			linux,code = <KEY_POWER>;
			gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
		};

		reset {
		button-reset {
			label = "Reset Button";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
		};

		usb1 {
		button-usb1 {
			label = "USB1 Button";
			linux,code = <BTN_0>;
			gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
		};

		usb2 {
		button-usb2 {
			label = "USB2 Button";
			linux,code = <BTN_1>;
			gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+3 −3
Original line number Diff line number Diff line
@@ -111,19 +111,19 @@ gpio-keys {
		#address-cells = <1>;
		#size-cells = <0>;

		power {
		button-power {
			label = "Power button";
			linux,code = <KEY_POWER>;
			gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
			debounce-interval = <100>;
		};
		backup {
		button-backup {
			label = "Backup button";
			linux,code = <KEY_OPTION>;
			gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
			debounce-interval = <100>;
		};
		reset {
		button-reset {
			label = "Reset Button";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+3 −3
Original line number Diff line number Diff line
@@ -86,19 +86,19 @@ gpio-keys {
		#address-cells = <1>;
		#size-cells = <0>;

		power {
		button-power {
			label = "Power button";
			linux,code = <KEY_POWER>;
			gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
			debounce-interval = <100>;
		};
		reset {
		button-reset {
			label = "Reset Button";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
			debounce-interval = <100>;
		};
		button {
		button-usb {
			label = "USB VBUS error";
			linux,code = <KEY_UNKNOWN>;
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ gpio-keys {
		pinctrl-0 = <&front_button_pins>;
		pinctrl-names = "default";

		factory_default {
		key-factory-default {
			label = "Factory Default";
			gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_RESTART>;
+2 −2
Original line number Diff line number Diff line
@@ -256,14 +256,14 @@ gpio-keys {
		pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>;
		pinctrl-names = "default";

		button_0 {
		button-0 {
			label = "Rear Button";
			gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
			linux,can-disable;
			linux,code = <BTN_0>;
		};

		button_1 {
		button-1 {
			label = "Front Button";
			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
			linux,can-disable;
Loading