diff options
author | Tom Rini | 2024-07-20 11:15:22 -0600 |
---|---|---|
committer | Tom Rini | 2024-07-20 11:15:22 -0600 |
commit | 5024a96db8ea6ff2e814f4599af9e5faf09296b7 (patch) | |
tree | bc0d02e7022f796932c5d24c9d6b61b166488efa /dts/upstream/src/arm64/sprd/sp9860g-1h10.dts | |
parent | d353e30ef3610c01b031dc9ada53701b13d473d4 (diff) | |
parent | 762f85bb2e36762ee4d7395002b8181905aec690 (diff) |
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/
Diffstat (limited to 'dts/upstream/src/arm64/sprd/sp9860g-1h10.dts')
-rw-r--r-- | dts/upstream/src/arm64/sprd/sp9860g-1h10.dts | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/dts/upstream/src/arm64/sprd/sp9860g-1h10.dts b/dts/upstream/src/arm64/sprd/sp9860g-1h10.dts index 6b95fd94cee..1ce3cbbd966 100644 --- a/dts/upstream/src/arm64/sprd/sp9860g-1h10.dts +++ b/dts/upstream/src/arm64/sprd/sp9860g-1h10.dts @@ -24,7 +24,7 @@ spi0 = &adi_bus; }; - memory{ + memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0 0x60000000>, <0x1 0x80000000 0 0x60000000>; @@ -34,6 +34,34 @@ stdout-path = "serial1:115200n8"; }; + gpio-keys { + compatible = "gpio-keys"; + + key-volumedown { + label = "Volume Down Key"; + linux,code = <KEY_VOLUMEDOWN>; + gpios = <&eic_debounce 2 GPIO_ACTIVE_LOW>; + debounce-interval = <2>; + wakeup-source; + }; + + key-volumeup { + label = "Volume Up Key"; + linux,code = <KEY_VOLUMEUP>; + gpios = <&pmic_eic 10 GPIO_ACTIVE_HIGH>; + debounce-interval = <2>; + wakeup-source; + }; + + key-power { + label = "Power Key"; + linux,code = <KEY_POWER>; + gpios = <&pmic_eic 1 GPIO_ACTIVE_HIGH>; + debounce-interval = <2>; + wakeup-source; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; |