diff options
author | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2018-01-10 11:33:52 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-15 16:29:02 -0500 |
commit | 100fb0bd9989d1722c75d83baaf08d5285e7a62c (patch) | |
tree | abeb6ba9600cc97211fab5b32c69ee11d0f8f40e /arch | |
parent | e0cc0b6c6d84de8f36b85c5c324ea74d338068ca (diff) | |
download | u-boot-100fb0bd9989d1722c75d83baaf08d5285e7a62c.zip u-boot-100fb0bd9989d1722c75d83baaf08d5285e7a62c.tar.gz u-boot-100fb0bd9989d1722c75d83baaf08d5285e7a62c.tar.bz2 |
db820c: stop autoboot when vol- pressed
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/dragonboard820c-uboot.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/dragonboard820c-uboot.dtsi b/arch/arm/dts/dragonboard820c-uboot.dtsi new file mode 100644 index 0000000..167e72c --- /dev/null +++ b/arch/arm/dts/dragonboard820c-uboot.dtsi @@ -0,0 +1,19 @@ +/* + * U-Boot addition to handle Dragonboard 820c pins + * + * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +&pm8994_pon { + key_vol_down { + gpios = <&pm8994_pon 1 0>; + label = "key_vol_down"; + }; + + key_power { + gpios = <&pm8994_pon 0 0>; + label = "key_power"; + }; +}; |