15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT 25f62a964SEmmanuel Vadot/* 35f62a964SEmmanuel Vadot * Apple iPhone 7 / 7 Plus common device tree 45f62a964SEmmanuel Vadot * 55f62a964SEmmanuel Vadot * Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org> 65f62a964SEmmanuel Vadot */ 75f62a964SEmmanuel Vadot 85f62a964SEmmanuel Vadot#include "t8010.dtsi" 95f62a964SEmmanuel Vadot#include "t8010-common.dtsi" 105f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h> 115f62a964SEmmanuel Vadot 125f62a964SEmmanuel Vadot/ { 135f62a964SEmmanuel Vadot chassis-type = "handset"; 145f62a964SEmmanuel Vadot 155f62a964SEmmanuel Vadot gpio-keys { 165f62a964SEmmanuel Vadot compatible = "gpio-keys"; 175f62a964SEmmanuel Vadot 185f62a964SEmmanuel Vadot button-power { 195f62a964SEmmanuel Vadot label = "Power Button"; 205f62a964SEmmanuel Vadot gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>; 215f62a964SEmmanuel Vadot linux,code = <KEY_POWER>; 225f62a964SEmmanuel Vadot wakeup-source; 235f62a964SEmmanuel Vadot }; 245f62a964SEmmanuel Vadot 255f62a964SEmmanuel Vadot button-voldown { 265f62a964SEmmanuel Vadot label = "Volume Down"; 275f62a964SEmmanuel Vadot gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>; 285f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 295f62a964SEmmanuel Vadot }; 305f62a964SEmmanuel Vadot 315f62a964SEmmanuel Vadot button-volup { 325f62a964SEmmanuel Vadot label = "Volume Up"; 335f62a964SEmmanuel Vadot gpios = <&pinctrl_ap 23 GPIO_ACTIVE_LOW>; 345f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 355f62a964SEmmanuel Vadot }; 365f62a964SEmmanuel Vadot 375f62a964SEmmanuel Vadot switch-mute { 385f62a964SEmmanuel Vadot label = "Mute Switch"; 395f62a964SEmmanuel Vadot gpios = <&pinctrl_ap 86 GPIO_ACTIVE_LOW>; 405f62a964SEmmanuel Vadot linux,code = <KEY_MUTE>; 415f62a964SEmmanuel Vadot }; 425f62a964SEmmanuel Vadot }; 435f62a964SEmmanuel Vadot}; 44*8ccc0d23SEmmanuel Vadot 45*8ccc0d23SEmmanuel Vadot&framebuffer0 { 46*8ccc0d23SEmmanuel Vadot power-domains = <&ps_disp0_fe &ps_disp0_be &ps_mipi_dsi>; 47*8ccc0d23SEmmanuel Vadot}; 48*8ccc0d23SEmmanuel Vadot 49*8ccc0d23SEmmanuel Vadot&hurricane_opp09 { 50*8ccc0d23SEmmanuel Vadot status = "okay"; 51*8ccc0d23SEmmanuel Vadot}; 52*8ccc0d23SEmmanuel Vadot 53*8ccc0d23SEmmanuel Vadot&hurricane_opp10 { 54*8ccc0d23SEmmanuel Vadot status = "okay"; 55*8ccc0d23SEmmanuel Vadot}; 56