15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT 25f62a964SEmmanuel Vadot/* 35f62a964SEmmanuel Vadot * Apple iPad mini 4 common device tree 45f62a964SEmmanuel Vadot * 55f62a964SEmmanuel Vadot * Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org> 65f62a964SEmmanuel Vadot */ 75f62a964SEmmanuel Vadot 85f62a964SEmmanuel Vadot#include "t7000.dtsi" 95f62a964SEmmanuel Vadot#include "t7000-common.dtsi" 105f62a964SEmmanuel Vadot#include "t7000-handheld.dtsi" 115f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h> 125f62a964SEmmanuel Vadot 135f62a964SEmmanuel Vadot/ { 145f62a964SEmmanuel Vadot chassis-type = "tablet"; 155f62a964SEmmanuel Vadot 165f62a964SEmmanuel Vadot gpio-keys { 175f62a964SEmmanuel Vadot compatible = "gpio-keys"; 185f62a964SEmmanuel Vadot 195f62a964SEmmanuel Vadot button-home { 205f62a964SEmmanuel Vadot label = "Home Button"; 215f62a964SEmmanuel Vadot gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>; 225f62a964SEmmanuel Vadot linux,code = <KEY_HOMEPAGE>; 235f62a964SEmmanuel Vadot wakeup-source; 245f62a964SEmmanuel Vadot }; 255f62a964SEmmanuel Vadot 265f62a964SEmmanuel Vadot button-power { 275f62a964SEmmanuel Vadot label = "Power Button"; 285f62a964SEmmanuel Vadot gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; 295f62a964SEmmanuel Vadot linux,code = <KEY_POWER>; 305f62a964SEmmanuel Vadot wakeup-source; 315f62a964SEmmanuel Vadot }; 325f62a964SEmmanuel Vadot 335f62a964SEmmanuel Vadot button-volup { 345f62a964SEmmanuel Vadot label = "Volume Up"; 355f62a964SEmmanuel Vadot gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; 365f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 375f62a964SEmmanuel Vadot }; 385f62a964SEmmanuel Vadot 395f62a964SEmmanuel Vadot button-voldown { 405f62a964SEmmanuel Vadot label = "Volume Down"; 415f62a964SEmmanuel Vadot gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; 425f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 435f62a964SEmmanuel Vadot }; 445f62a964SEmmanuel Vadot 455f62a964SEmmanuel Vadot switch-mute { 465f62a964SEmmanuel Vadot label = "Mute Switch"; 475f62a964SEmmanuel Vadot gpios = <&pinctrl 36 GPIO_ACTIVE_LOW>; 485f62a964SEmmanuel Vadot linux,code = <KEY_MUTE>; 495f62a964SEmmanuel Vadot }; 505f62a964SEmmanuel Vadot }; 515f62a964SEmmanuel Vadot}; 52*8ccc0d23SEmmanuel Vadot 53*8ccc0d23SEmmanuel Vadot&framebuffer0 { 54*8ccc0d23SEmmanuel Vadot power-domains = <&ps_disp0 &ps_dp>; 55*8ccc0d23SEmmanuel Vadot}; 56*8ccc0d23SEmmanuel Vadot 57*8ccc0d23SEmmanuel Vadot&typhoon_opp06 { 58*8ccc0d23SEmmanuel Vadot status = "okay"; 59*8ccc0d23SEmmanuel Vadot}; 60*8ccc0d23SEmmanuel Vadot 61*8ccc0d23SEmmanuel Vadot&typhoon_opp07 { 62*8ccc0d23SEmmanuel Vadot status = "okay"; 63*8ccc0d23SEmmanuel Vadot}; 64