Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t7000-mini4.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Apple iPad mini 4 common device tree
4 *
5 * Copyright (c) 2022, Konrad Dybcio <[email protected]>
6 */
7
8 #include "t7000.dtsi"
9 #include "t7000-common.dtsi"
10 #include "t7000-handheld.dtsi"
11 #include <dt-bindings/input/input.h>
12
13 / {
14 chassis-type = "tablet";
15
16 gpio-keys {
17 compatible = "gpio-keys";
18
19 button-home {
20 label = "Home Button";
21 gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_HOMEPAGE>;
23 wakeup-source;
24 };
25
26 button-power {
27 label = "Power Button";
28 gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_POWER>;
30 wakeup-source;
31 };
32
33 button-volup {
34 label = "Volume Up";
35 gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_VOLUMEUP>;
37 };
38
39 button-voldown {
40 label = "Volume Down";
41 gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_VOLUMEDOWN>;
43 };
44
45 switch-mute {
46 label = "Mute Switch";
47 gpios = <&pinctrl 36 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_MUTE>;
49 };
50 };
51 };
52
53 &framebuffer0 {
54 power-domains = <&ps_disp0 &ps_dp>;
55 };
56
57 &typhoon_opp06 {
58 status = "okay";
59 };
60
61 &typhoon_opp07 {
62 status = "okay";
63 };