Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple iPad 6 common device tree
4 *
5 * Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org>
6 */
7
8#include "t8010.dtsi"
9#include "t8010-common.dtsi"
10#include <dt-bindings/input/input.h>
11
12/ {
13 chassis-type = "tablet";
14
15 gpio-keys {
16 compatible = "gpio-keys";
17
18 button-home {
19 label = "Home Button";
20 gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_HOMEPAGE>;
22 wakeup-source;
23 };
24
25 button-power {
26 label = "Power Button";
27 gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_POWER>;
29 wakeup-source;
30 };
31
32 button-voldown {
33 label = "Volume Down";
34 gpios = <&pinctrl_ap 89 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_VOLUMEDOWN>;
36 };
37
38 button-volup {
39 label = "Volume Up";
40 gpios = <&pinctrl_ap 90 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_VOLUMEUP>;
42 };
43 };
44};
45
46&framebuffer0 {
47 power-domains = <&ps_disp0_fe &ps_disp0_be &ps_dp>;
48};
49
50&hurricane_opp09 {
51 status = "okay";
52};
53
54&hurricane_opp10 {
55 status = "okay";
56};