15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT 25f62a964SEmmanuel Vadot/* 35f62a964SEmmanuel Vadot * Apple iPod touch 6, N102, iPod7,1 (A1574) 45f62a964SEmmanuel Vadot * Copyright (c) 2022, Konrad Dybcio <konradybcio@kernel.org> 55f62a964SEmmanuel Vadot */ 65f62a964SEmmanuel Vadot 75f62a964SEmmanuel Vadot/dts-v1/; 85f62a964SEmmanuel Vadot 95f62a964SEmmanuel Vadot#include "t7000.dtsi" 105f62a964SEmmanuel Vadot#include "t7000-common.dtsi" 115f62a964SEmmanuel Vadot#include "t7000-handheld.dtsi" 125f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h> 135f62a964SEmmanuel Vadot 145f62a964SEmmanuel Vadot/ { 155f62a964SEmmanuel Vadot compatible = "apple,n102", "apple,t7000", "apple,arm-platform"; 165f62a964SEmmanuel Vadot model = "Apple iPod touch 6"; 175f62a964SEmmanuel Vadot chassis-type = "handset"; 185f62a964SEmmanuel Vadot 195f62a964SEmmanuel Vadot gpio-keys { 205f62a964SEmmanuel Vadot compatible = "gpio-keys"; 215f62a964SEmmanuel Vadot 225f62a964SEmmanuel Vadot button-home { 235f62a964SEmmanuel Vadot label = "Home Button"; 245f62a964SEmmanuel Vadot gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>; 255f62a964SEmmanuel Vadot linux,code = <KEY_HOMEPAGE>; 265f62a964SEmmanuel Vadot wakeup-source; 275f62a964SEmmanuel Vadot }; 285f62a964SEmmanuel Vadot 295f62a964SEmmanuel Vadot button-power { 305f62a964SEmmanuel Vadot label = "Power Button"; 315f62a964SEmmanuel Vadot gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; 325f62a964SEmmanuel Vadot linux,code = <KEY_POWER>; 335f62a964SEmmanuel Vadot wakeup-source; 345f62a964SEmmanuel Vadot }; 355f62a964SEmmanuel Vadot 365f62a964SEmmanuel Vadot button-voldown { 375f62a964SEmmanuel Vadot label = "Volume Down"; 385f62a964SEmmanuel Vadot gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; 395f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 405f62a964SEmmanuel Vadot }; 415f62a964SEmmanuel Vadot 425f62a964SEmmanuel Vadot button-volup { 435f62a964SEmmanuel Vadot label = "Volume Up"; 445f62a964SEmmanuel Vadot gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; 455f62a964SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 465f62a964SEmmanuel Vadot }; 475f62a964SEmmanuel Vadot }; 485f62a964SEmmanuel Vadot}; 49*8ccc0d23SEmmanuel Vadot 50*8ccc0d23SEmmanuel Vadot&framebuffer0 { 51*8ccc0d23SEmmanuel Vadot power-domains = <&ps_disp0 &ps_mipi_dsi>; 52*8ccc0d23SEmmanuel Vadot}; 53