Commit 85423386 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Nishanth Menon
Browse files

arm64: dts: ti: 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>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20220616005333.18491-29-krzysztof.kozlowski@linaro.org
parent 5888f1ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -73,13 +73,13 @@ gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&push_button_pins_default>;

		sw5 {
		switch-5 {
			label = "GPIO Key USER1";
			linux,code = <BTN_0>;
			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_LOW>;
		};

		sw6 {
		switch-6 {
			label = "GPIO Key USER2";
			linux,code = <BTN_1>;
			gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>;
+2 −2
Original line number Diff line number Diff line
@@ -26,13 +26,13 @@ gpio_keys: gpio-keys {
		pinctrl-names = "default";
		pinctrl-0 = <&sw10_button_pins_default &sw11_button_pins_default>;

		sw10: sw10 {
		sw10: switch-10 {
			label = "GPIO Key USER1";
			linux,code = <BTN_0>;
			gpios = <&main_gpio0 0 GPIO_ACTIVE_LOW>;
		};

		sw11: sw11 {
		sw11: switch-11 {
			label = "GPIO Key USER2";
			linux,code = <BTN_1>;
			gpios = <&wkup_gpio0 7 GPIO_ACTIVE_LOW>;