linux-loongson/arch/arm64/boot/dts/apple/t7000-6.dtsi
Nick Chan e97323994f arm64: dts: apple: t7000: Add cpufreq nodes
Add cpufreq nodes for Apple A8 SoC.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
2025-02-09 11:49:40 +00:00

59 lines
1.1 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Apple iPhone 6 / 6 Plus common device tree
* Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org>
*/
#include <dt-bindings/input/input.h>
#include "t7000.dtsi"
#include "t7000-common.dtsi"
#include "t7000-handheld.dtsi"
/ {
chassis-type = "handset";
gpio-keys {
compatible = "gpio-keys";
button-home {
label = "Home Button";
gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOMEPAGE>;
wakeup-source;
};
button-power {
label = "Power Button";
gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
wakeup-source;
};
button-volup {
label = "Volume Up";
gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
};
button-voldown {
label = "Volume Down";
gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
switch-mute {
label = "Mute Switch";
gpios = <&pinctrl 131 GPIO_ACTIVE_LOW>;
linux,code = <KEY_MUTE>;
};
};
};
&framebuffer0 {
power-domains = <&ps_disp0 &ps_mipi_dsi>;
};
&typhoon_opp06 {
status = "okay";
};