// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Apple iPhone 7 / 7 Plus common device tree * * Copyright (c) 2022, Konrad Dybcio */ #include "t8010.dtsi" #include "t8010-common.dtsi" #include / { chassis-type = "handset"; gpio-keys { compatible = "gpio-keys"; button-power { label = "Power Button"; gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>; linux,code = ; wakeup-source; }; button-voldown { label = "Volume Down"; gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>; linux,code = ; }; button-volup { label = "Volume Up"; gpios = <&pinctrl_ap 23 GPIO_ACTIVE_LOW>; linux,code = ; }; switch-mute { label = "Mute Switch"; gpios = <&pinctrl_ap 86 GPIO_ACTIVE_LOW>; linux,code = ; }; }; };