// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Apple iPhone 5s common device tree * Based on A7 (APL0698), up to 1.3GHz * * Copyright (c) 2022, Konrad Dybcio */ #include "s5l8960x.dtsi" #include "s5l8960x-common.dtsi" #include / { chassis-type = "handset"; gpio-keys { compatible = "gpio-keys"; button-home { label = "Home Button"; gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; linux,code = ; wakeup-source; }; button-power { label = "Power Button"; gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; linux,code = ; wakeup-source; }; button-voldown { label = "Volume Down"; gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; linux,code = ; }; button-volup { label = "Volume Up"; gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; linux,code = ; }; switch-mute { label = "Mute Switch"; gpios = <&pinctrl 16 GPIO_ACTIVE_LOW>; linux,code = ; }; }; };