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

Commit 822c9936 authored by AnilKumar Ch's avatar AnilKumar Ch Committed by Benoit Cousson
Browse files

ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm



Add gpio based volume keys device tree data to am335x-evm by adding
all the required parameters like keycode, gpios and etc.

Signed-off-by: default avatarAnilKumar Ch <anilkumar@ti.com>
Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
parent 404aa0d7
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -137,6 +137,27 @@
				0x0101001c	/* ENTER */
				0x0201006c>;	/* DOWN */
	};

	gpio_keys: volume_keys@0 {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;

		switch@9 {
			label = "volume-up";
			linux,code = <115>;
			gpios = <&gpio1 2 1>;
			gpio-key,wakeup;
		};

		switch@10 {
			label = "volume-down";
			linux,code = <114>;
			gpios = <&gpio1 3 1>;
			gpio-key,wakeup;
		};
	};
};

/include/ "tps65910.dtsi"