Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6ull-colibri: move gpio-keys node to som dtsi

The gpio-keys define module level wake-up pin functionality. Move it
from the carrier board dts file to the Som dtsi file.
While at it, also re-order the properties in the gpio-keys node
alphabetically and rename to sub-node from power to wakeup.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Marcel Ziswiler and committed by
Shawn Guo
a5fa132b 17c101d8

+15 -16
-15
arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
··· 8 8 stdout-path = "serial0:115200n8"; 9 9 }; 10 10 11 - gpio-keys { 12 - compatible = "gpio-keys"; 13 - pinctrl-names = "default"; 14 - pinctrl-0 = <&pinctrl_snvs_gpiokeys>; 15 - 16 - power { 17 - label = "Wake-Up"; 18 - gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 19 - linux,code = <KEY_WAKEUP>; 20 - debounce-interval = <10>; 21 - wakeup-source; 22 - }; 23 - }; 24 - 25 11 /* fixed crystal dedicated to mcp2515 */ 26 12 clk16m: clk16m { 27 13 compatible = "fixed-clock"; 28 14 #clock-cells = <0>; 29 15 clock-frequency = <16000000>; 30 16 }; 31 - 32 17 33 18 reg_3v3: regulator-3v3 { 34 19 compatible = "regulator-fixed";
+15 -1
arch/arm/boot/dts/imx6ull-colibri.dtsi
··· 24 24 status = "okay"; 25 25 }; 26 26 27 + gpio-keys { 28 + compatible = "gpio-keys"; 29 + pinctrl-names = "default"; 30 + pinctrl-0 = <&pinctrl_snvs_gpiokeys>; 31 + 32 + wakeup { 33 + debounce-interval = <10>; 34 + gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ 35 + label = "Wake-Up"; 36 + linux,code = <KEY_WAKEUP>; 37 + wakeup-source; 38 + }; 39 + }; 40 + 27 41 panel_dpi: panel-dpi { 28 42 compatible = "edt,et057090dhu"; 29 43 backlight = <&backlight>; ··· 721 707 722 708 pinctrl_snvs_gpiokeys: snvs-gpiokeys-grp { 723 709 fsl,pins = < 724 - MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x130a0 /* SODIMM 45 */ 710 + MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x130a0 /* SODIMM 45 / WAKE_UP */ 725 711 >; 726 712 }; 727 713