mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

Add DTS files for the A8X SoC and the only device based on it, the iPad Air 2. Signed-off-by: Konrad Dybcio <konradybcio@kernel.org> [Markuss: System memory bits] Co-developed-by: Markuss Broks <markuss.broks@gmail.com> Signed-off-by: Markuss Broks <markuss.broks@gmail.com> [Nick: SMP, m1n1 and gpio-keys support, pinctrl fixes] Co-developed-by: Nick Chan <towinchenmi@gmail.com> Signed-off-by: Nick Chan <towinchenmi@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Hector Martin <marcan@marcan.st>
74 lines
1.4 KiB
Text
74 lines
1.4 KiB
Text
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Apple iPad Air 2 common device tree
|
|
* Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org>
|
|
*/
|
|
|
|
#include "t7001.dtsi"
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
/ {
|
|
chassis-type = "tablet";
|
|
|
|
chosen {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
stdout-path = "serial0";
|
|
|
|
framebuffer0: framebuffer@0 {
|
|
compatible = "apple,simple-framebuffer", "simple-framebuffer";
|
|
reg = <0 0 0 0>; /* To be filled by loader */
|
|
/* Format properties will be added by loader */
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
button-home {
|
|
label = "Home Button";
|
|
gpios = <&pinctrl 0 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_HOMEPAGE>;
|
|
wakeup-source;
|
|
};
|
|
|
|
button-power {
|
|
label = "Power Button";
|
|
gpios = <&pinctrl 1 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_POWER>;
|
|
wakeup-source;
|
|
};
|
|
|
|
button-volup {
|
|
label = "Volume Up";
|
|
gpios = <&pinctrl 92 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_VOLUMEUP>;
|
|
};
|
|
|
|
button-voldown {
|
|
label = "Volume Down";
|
|
gpios = <&pinctrl 93 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_VOLUMEDOWN>;
|
|
};
|
|
};
|
|
|
|
memory@800000000 {
|
|
device_type = "memory";
|
|
reg = <0x8 0 0 0>; /* To be filled by loader */
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
/* To be filled by loader */
|
|
};
|
|
};
|
|
|
|
&serial0 {
|
|
status = "okay";
|
|
};
|