Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t8011-pro2.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Apple iPad Pro 2 common device tree
4 *
5 * Copyright (c) 2022, Konrad Dybcio <[email protected]>
6 */
7
8 #include <dt-bindings/input/input.h>
9
10 / {
11 chassis-type = "tablet";
12
13 gpio-keys {
14 compatible = "gpio-keys";
15
16 button-home {
17 label = "Home Button";
18 gpios = <&pinctrl_ap 139 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_HOMEPAGE>;
20 wakeup-source;
21 };
22
23 button-power {
24 label = "Power Button";
25 gpios = <&pinctrl_ap 138 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_POWER>;
27 wakeup-source;
28 };
29
30 button-voldown {
31 label = "Volume Down";
32 gpios = <&pinctrl_ap 43 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_VOLUMEDOWN>;
34 };
35
36 button-volup {
37 label = "Volume Up";
38 gpios = <&pinctrl_ap 40 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_VOLUMEUP>;
40 };
41 };
42 };
43
44 &ps_dcs6 {
45 apple,always-on; /* LPDDR4 interface */
46 };
47
48 &ps_dcs7 {
49 apple,always-on; /* LPDDR4 interface */
50 };