Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t8010-n112.dts

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