blob: 0b16adf07f79b15c75cfdf04605b26d4b716354e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Apple iPhone 5s common device tree
* Based on A7 (APL0698), up to 1.3GHz
*
* Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org>
*/
#include "s5l8960x.dtsi"
#include "s5l8960x-common.dtsi"
#include <dt-bindings/input/input.h>
/ {
chassis-type = "handset";
gpio-keys {
compatible = "gpio-keys";
button-home {
label = "Home Button";
gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>;
wakeup-source;
};
button-power {
label = "Power Button";
gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
wakeup-source;
};
button-voldown {
label = "Volume Down";
gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
button-volup {
label = "Volume Up";
gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
};
switch-mute {
label = "Mute Switch";
gpios = <&pinctrl 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_MUTE>;
};
};
};
|