mirror of https://gitee.com/openkylin/linux.git
ARM: dts: use macro in gpio keys for exynos3250 boards
This patch replaces number by macro in gpio keys for exynos3250 boards. Cc: Youngjun Cho <yj44.cho@samsung.com> Cc: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
This commit is contained in:
parent
19f0d87bc2
commit
13b9b64e30
|
@ -15,6 +15,7 @@
|
|||
/dts-v1/;
|
||||
#include "exynos3250.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Samsung Monk board";
|
||||
|
@ -37,7 +38,7 @@ gpio_keys {
|
|||
compatible = "gpio-keys";
|
||||
|
||||
power_key {
|
||||
gpios = <&gpx2 7 1>;
|
||||
gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "power key";
|
||||
debounce-interval = <10>;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
/dts-v1/;
|
||||
#include "exynos3250.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Samsung Rinato board";
|
||||
|
@ -37,7 +38,7 @@ gpio_keys {
|
|||
compatible = "gpio-keys";
|
||||
|
||||
power_key {
|
||||
gpios = <&gpx2 7 1>;
|
||||
gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "power key";
|
||||
debounce-interval = <10>;
|
||||
|
|
Loading…
Reference in New Issue