From 03dc18ccd9c8a2c955283514cc7f8f2c209016ff Mon Sep 17 00:00:00 2001 From: Jaechul Lee Date: Mon, 29 Apr 2019 11:13:30 +0900 Subject: ARM64: dts: bcm2710-rpi-3-b: Changes GPIO26 to GPIO25 for play/pause GPIO26 is already used by PIO TCT and key names are changed clearly. Signed-off-by: Jaechul Lee Change-Id: Idd74bc7e4f5c26b9d4aee89d62b8f3810ee7736f --- arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts | 34 +++++++++++++++--------------- arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 34 +++++++++++++++--------------- 2 files changed, 34 insertions(+), 34 deletions(-) (limited to 'arch') diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts index 33f7006d564e..f024be1431e5 100644 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts @@ -38,34 +38,34 @@ gpio-keys { compatible = "gpio-keys"; - key-up { - lable = "up"; + key-volume-up { + lable = "volume-up"; linux,code = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; - key-down { - lable = "down"; + key-volume-down { + lable = "volume-down"; linux,code = ; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; - key-left { - lable = "left"; + key-fastforward { + lable = "fastforward"; linux,code = ; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; - key-right { - lable = "right"; + key-rewind { + lable = "rewind"; linux,code = ; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; }; - key-center { - lable = "center"; + key-playpause { + lable = "playpause"; linux,code = ; - gpios = <&gpio 26 GPIO_ACTIVE_LOW>; + gpios = <&gpio 25 GPIO_ACTIVE_LOW>; }; }; }; @@ -126,32 +126,32 @@ }; /* Needs to describe gpio settings at config.txt */ - key_up: key_up { + key_volume_up: key_volume_up { brcm,pins = <16>; brcm,function = <1>; /* BCM2835_FSEL_GPIO_IN */ brcm,pull = <2>; /* BCM2835_PUD_UP */ }; - key_down: key_down { + key_volume_down: key_volume_down { brcm,pins = <13>; brcm,function = <1>; brcm,pull = <2>; }; - key_left: key_left { + key_fastforward: key_fastforward { brcm,pins = <6>; brcm,function = <1>; brcm,pull = <2>; }; - key_right: key_right { + key_rewind: key_rewind { brcm,pins = <12>; brcm,function = <1>; brcm,pull = <2>; }; - key_center: key_center { - brcm,pins = <26>; + key_playpause: key_playpause { + brcm,pins = <25>; brcm,function = <1>; brcm,pull = <2>; }; diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts index d27ab2b35b4b..62327354f0da 100644 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts @@ -38,34 +38,34 @@ gpio-keys { compatible = "gpio-keys"; - key-up { - lable = "up"; + key-volume-up { + lable = "volume-up"; linux,code = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; - key-down { - lable = "down"; + key-volume-down { + lable = "volume-down"; linux,code = ; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; - key-left { - lable = "left"; + key-fastforward { + lable = "fastforward"; linux,code = ; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; - key-right { - lable = "right"; + key-rewind { + lable = "rewind"; linux,code = ; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; }; - key-center { - lable = "center"; + key-playpause { + lable = "playpause"; linux,code = ; - gpios = <&gpio 26 GPIO_ACTIVE_LOW>; + gpios = <&gpio 25 GPIO_ACTIVE_LOW>; }; }; }; @@ -126,32 +126,32 @@ }; /* Needs to describe gpio settings at config.txt */ - key_up: key_up { + key_volume_up: key_volume_up { brcm,pins = <16>; brcm,function = <1>; /* BCM2835_FSEL_GPIO_IN */ brcm,pull = <2>; /* BCM2835_PUD_UP */ }; - key_down: key_down { + key_volume_down: key_volume_down { brcm,pins = <13>; brcm,function = <1>; brcm,pull = <2>; }; - key_left: key_left { + key_fastforward: key_fastforward { brcm,pins = <6>; brcm,function = <1>; brcm,pull = <2>; }; - key_right: key_right { + key_rewind: key_rewind { brcm,pins = <12>; brcm,function = <1>; brcm,pull = <2>; }; - key_center: key_center { - brcm,pins = <26>; + key_playpause: key_playpause { + brcm,pins = <25>; brcm,function = <1>; brcm,pull = <2>; }; -- cgit v1.2.3