Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a898aa9f authored by Alexandre Torgue's avatar Alexandre Torgue Committed by Greg Kroah-Hartman
Browse files

ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards



[ Upstream commit bf24b91f4baf7e421c770a1d9c7d381b10206ac9 ]

Fix following warning observed with "make dtbs_check W=1" command.
It concerns f429 eval and disco boards, f769 disco board.

Warning (unit_address_vs_reg): /gpio_keys/button@0: node has a unit name,
but no reg or ranges property

Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5c17edaa
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -112,17 +112,15 @@
		};
	};

	gpio_keys {
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
		button@0 {
		button-0 {
			label = "Wake up";
			linux,code = <KEY_WAKEUP>;
			gpios = <&gpioa 0 0>;
		};
		button@1 {
		button-1 {
			label = "Tamper";
			linux,code = <KEY_RESTART>;
			gpios = <&gpioc 13 0>;
+2 −4
Original line number Diff line number Diff line
@@ -81,12 +81,10 @@
		};
	};

	gpio_keys {
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
		button@0 {
		button-0 {
			label = "Wake up";
			linux,code = <KEY_WAKEUP>;
			gpios = <&gpioc 13 0>;
+2 −4
Original line number Diff line number Diff line
@@ -79,12 +79,10 @@
		};
	};

	gpio_keys {
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
		button@0 {
		button-0 {
			label = "User";
			linux,code = <KEY_HOME>;
			gpios = <&gpioa 0 0>;
+2 −4
Original line number Diff line number Diff line
@@ -104,12 +104,10 @@
		};
	};

	gpio_keys {
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
		button@0 {
		button-0 {
			label = "User";
			linux,code = <KEY_WAKEUP>;
			gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
+2 −4
Original line number Diff line number Diff line
@@ -75,12 +75,10 @@
		};
	};

	gpio_keys {
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;
		button@0 {
		button-0 {
			label = "User";
			linux,code = <KEY_HOME>;
			gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;