Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t8010-7.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Apple iPhone 7 / 7 Plus common device tree
4 *
5 * Copyright (c) 2022, Konrad Dybcio <[email protected]>
6 */
7
8 #include "t8010.dtsi"
9 #include "t8010-common.dtsi"
10 #include <dt-bindings/input/input.h>
11
12 / {
13 chassis-type = "handset";
14
15 gpio-keys {
16 compatible = "gpio-keys";
17
18 button-power {
19 label = "Power Button";
20 gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_POWER>;
22 wakeup-source;
23 };
24
25 button-voldown {
26 label = "Volume Down";
27 gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_VOLUMEDOWN>;
29 };
30
31 button-volup {
32 label = "Volume Up";
33 gpios = <&pinctrl_ap 23 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_VOLUMEUP>;
35 };
36
37 switch-mute {
38 label = "Mute Switch";
39 gpios = <&pinctrl_ap 86 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_MUTE>;
41 };
42 };
43 };
44
45 &framebuffer0 {
46 power-domains = <&ps_disp0_fe &ps_disp0_be &ps_mipi_dsi>;
47 };
48
49 &hurricane_opp09 {
50 status = "okay";
51 };
52
53 &hurricane_opp10 {
54 status = "okay";
55 };