p3737: Align gpio-keys node names with dtschema

The node names should be generic and DT schema expects certain pattern
(e.g. with key/button/switch).

This change is based on change from mainline
	commit 012877d0a7c193c48bfbea9d7eb80663f822387d
	Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
	    arm64: tegra: Align gpio-keys node names with dtschema

Bug 4037899

Change-Id: I7daf15048d5f96cd9882b256deb03c90dfc12a50
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2873341
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-03-19 05:26:02 +00:00
parent 1b14f4edd5
commit 72ca2c5715

View File

@@ -1937,14 +1937,14 @@
compatible = "gpio-keys";
status = "okay";
force-recovery {
key-force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
linux,code = <BTN_1>;
};
power-key {
key-power {
label = "Power";
gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
@@ -1953,7 +1953,7 @@
wakeup-source;
};
suspend {
key-suspend {
label = "Suspend";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;