// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Apple iPhone 6 / 6 Plus common device tree * Copyright (c) 2022, Konrad Dybcio */ #include #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 = ; wakeup-source; }; button-power { label = "Power Button"; gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; linux,code = ; wakeup-source; }; button-volup { label = "Volume Up"; gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; linux,code = ; }; button-voldown { label = "Volume Down"; gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; linux,code = ; }; switch-mute { label = "Mute Switch"; gpios = <&pinctrl 131 GPIO_ACTIVE_LOW>; linux,code = ; }; }; };