1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Apple iPad Air 2 common device tree 4 * Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org> 5 */ 6 7#include "t7001.dtsi" 8#include <dt-bindings/input/input.h> 9 10/ { 11 chassis-type = "tablet"; 12 13 chosen { 14 #address-cells = <2>; 15 #size-cells = <2>; 16 ranges; 17 18 stdout-path = "serial0"; 19 20 framebuffer0: framebuffer@0 { 21 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 22 reg = <0 0 0 0>; /* To be filled by loader */ 23 /* Format properties will be added by loader */ 24 status = "disabled"; 25 }; 26 }; 27 28 gpio-keys { 29 compatible = "gpio-keys"; 30 31 button-home { 32 label = "Home Button"; 33 gpios = <&pinctrl 0 GPIO_ACTIVE_LOW>; 34 linux,code = <KEY_HOMEPAGE>; 35 wakeup-source; 36 }; 37 38 button-power { 39 label = "Power Button"; 40 gpios = <&pinctrl 1 GPIO_ACTIVE_LOW>; 41 linux,code = <KEY_POWER>; 42 wakeup-source; 43 }; 44 45 button-volup { 46 label = "Volume Up"; 47 gpios = <&pinctrl 92 GPIO_ACTIVE_LOW>; 48 linux,code = <KEY_VOLUMEUP>; 49 }; 50 51 button-voldown { 52 label = "Volume Down"; 53 gpios = <&pinctrl 93 GPIO_ACTIVE_LOW>; 54 linux,code = <KEY_VOLUMEDOWN>; 55 }; 56 }; 57 58 memory@800000000 { 59 device_type = "memory"; 60 reg = <0x8 0 0 0>; /* To be filled by loader */ 61 }; 62 63 reserved-memory { 64 #address-cells = <2>; 65 #size-cells = <2>; 66 ranges; 67 68 /* To be filled by loader */ 69 }; 70}; 71 72&serial0 { 73 status = "okay"; 74}; 75