Commit c8b35008 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Michal Simek
Browse files

ARM: dts: xilinx: 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-31-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
parent f2906aa8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,14 +30,14 @@ chosen {
	gpio-keys {
		compatible = "gpio-keys";
		autorepeat;
		sw14 {
		switch-14 {
			label = "sw14";
			gpios = <&gpio0 12 0>;
			linux,code = <108>; /* down */
			wakeup-source;
			autorepeat;
		};
		sw13 {
		switch-13 {
			label = "sw13";
			gpios = <&gpio0 14 0>;
			linux,code = <103>; /* up */
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ usr-led2 {
	gpio-keys {
		compatible = "gpio-keys";
		autorepeat;
		K1 {
		key {
			label = "K1";
			gpios = <&gpio0 0x32 0x1>;
			linux,code = <0x66>;