1f126890aSEmmanuel Vadot/* 2f126890aSEmmanuel Vadot * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 3f126890aSEmmanuel Vadot * 4f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms 5f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual 6f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a 7f126890aSEmmanuel Vadot * whole. 8f126890aSEmmanuel Vadot * 9f126890aSEmmanuel Vadot * a) This file is free software; you can redistribute it and/or 10f126890aSEmmanuel Vadot * modify it under the terms of the GNU General Public License 11f126890aSEmmanuel Vadot * version 2 as published by the Free Software Foundation. 12f126890aSEmmanuel Vadot * 13f126890aSEmmanuel Vadot * This file is distributed in the hope that it will be useful, 14f126890aSEmmanuel Vadot * but WITHOUT ANY WARRANTY; without even the implied warranty of 15f126890aSEmmanuel Vadot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16f126890aSEmmanuel Vadot * GNU General Public License for more details. 17f126890aSEmmanuel Vadot * 18f126890aSEmmanuel Vadot * Or, alternatively, 19f126890aSEmmanuel Vadot * 20f126890aSEmmanuel Vadot * b) Permission is hereby granted, free of charge, to any person 21f126890aSEmmanuel Vadot * obtaining a copy of this software and associated documentation 22f126890aSEmmanuel Vadot * files (the "Software"), to deal in the Software without 23f126890aSEmmanuel Vadot * restriction, including without limitation the rights to use, 24f126890aSEmmanuel Vadot * copy, modify, merge, publish, distribute, sublicense, and/or 25f126890aSEmmanuel Vadot * sell copies of the Software, and to permit persons to whom the 26f126890aSEmmanuel Vadot * Software is furnished to do so, subject to the following 27f126890aSEmmanuel Vadot * conditions: 28f126890aSEmmanuel Vadot * 29f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be 30f126890aSEmmanuel Vadot * included in all copies or substantial portions of the Software. 31f126890aSEmmanuel Vadot * 32f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33f126890aSEmmanuel Vadot * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34f126890aSEmmanuel Vadot * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35f126890aSEmmanuel Vadot * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36f126890aSEmmanuel Vadot * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37f126890aSEmmanuel Vadot * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38f126890aSEmmanuel Vadot * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39f126890aSEmmanuel Vadot * OTHER DEALINGS IN THE SOFTWARE. 40f126890aSEmmanuel Vadot */ 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot/dts-v1/; 43f126890aSEmmanuel Vadot#include "imx53-tx53.dtsi" 44f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 45f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 46f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h> 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot/ { 49f126890aSEmmanuel Vadot model = "Ka-Ro electronics TX53 module (LCD)"; 50f126890aSEmmanuel Vadot compatible = "karo,tx53", "fsl,imx53"; 51f126890aSEmmanuel Vadot 52f126890aSEmmanuel Vadot aliases { 53f126890aSEmmanuel Vadot display = &display; 54f126890aSEmmanuel Vadot }; 55f126890aSEmmanuel Vadot 56f126890aSEmmanuel Vadot display: disp0 { 57f126890aSEmmanuel Vadot compatible = "fsl,imx-parallel-display"; 58f126890aSEmmanuel Vadot interface-pix-fmt = "rgb24"; 59f126890aSEmmanuel Vadot pinctrl-names = "default"; 60f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rgb24_vga1>; 61f126890aSEmmanuel Vadot status = "okay"; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot port { 64f126890aSEmmanuel Vadot display0_in: endpoint { 65f126890aSEmmanuel Vadot remote-endpoint = <&ipu_di0_disp0>; 66f126890aSEmmanuel Vadot }; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot display-timings { 70*0e8011faSEmmanuel Vadot timing-vga { 71f126890aSEmmanuel Vadot clock-frequency = <25200000>; 72f126890aSEmmanuel Vadot hactive = <640>; 73f126890aSEmmanuel Vadot vactive = <480>; 74f126890aSEmmanuel Vadot hback-porch = <48>; 75f126890aSEmmanuel Vadot hsync-len = <96>; 76f126890aSEmmanuel Vadot hfront-porch = <16>; 77f126890aSEmmanuel Vadot vback-porch = <31>; 78f126890aSEmmanuel Vadot vsync-len = <2>; 79f126890aSEmmanuel Vadot vfront-porch = <12>; 80f126890aSEmmanuel Vadot hsync-active = <0>; 81f126890aSEmmanuel Vadot vsync-active = <0>; 82f126890aSEmmanuel Vadot de-active = <1>; 83f126890aSEmmanuel Vadot pixelclk-active = <0>; 84f126890aSEmmanuel Vadot }; 85f126890aSEmmanuel Vadot 86*0e8011faSEmmanuel Vadot timing-etc570 { 87f126890aSEmmanuel Vadot clock-frequency = <25200000>; 88f126890aSEmmanuel Vadot hactive = <640>; 89f126890aSEmmanuel Vadot vactive = <480>; 90f126890aSEmmanuel Vadot hback-porch = <114>; 91f126890aSEmmanuel Vadot hsync-len = <30>; 92f126890aSEmmanuel Vadot hfront-porch = <16>; 93f126890aSEmmanuel Vadot vback-porch = <32>; 94f126890aSEmmanuel Vadot vsync-len = <3>; 95f126890aSEmmanuel Vadot vfront-porch = <10>; 96f126890aSEmmanuel Vadot hsync-active = <0>; 97f126890aSEmmanuel Vadot vsync-active = <0>; 98f126890aSEmmanuel Vadot de-active = <1>; 99f126890aSEmmanuel Vadot pixelclk-active = <0>; 100f126890aSEmmanuel Vadot }; 101f126890aSEmmanuel Vadot 102*0e8011faSEmmanuel Vadot timing-et0350 { 103f126890aSEmmanuel Vadot clock-frequency = <6413760>; 104f126890aSEmmanuel Vadot hactive = <320>; 105f126890aSEmmanuel Vadot vactive = <240>; 106f126890aSEmmanuel Vadot hback-porch = <34>; 107f126890aSEmmanuel Vadot hsync-len = <34>; 108f126890aSEmmanuel Vadot hfront-porch = <20>; 109f126890aSEmmanuel Vadot vback-porch = <15>; 110f126890aSEmmanuel Vadot vsync-len = <3>; 111f126890aSEmmanuel Vadot vfront-porch = <4>; 112f126890aSEmmanuel Vadot hsync-active = <0>; 113f126890aSEmmanuel Vadot vsync-active = <0>; 114f126890aSEmmanuel Vadot de-active = <1>; 115f126890aSEmmanuel Vadot pixelclk-active = <0>; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot 118*0e8011faSEmmanuel Vadot timing-et0430 { 119f126890aSEmmanuel Vadot clock-frequency = <9009000>; 120f126890aSEmmanuel Vadot hactive = <480>; 121f126890aSEmmanuel Vadot vactive = <272>; 122f126890aSEmmanuel Vadot hback-porch = <2>; 123f126890aSEmmanuel Vadot hsync-len = <41>; 124f126890aSEmmanuel Vadot hfront-porch = <2>; 125f126890aSEmmanuel Vadot vback-porch = <2>; 126f126890aSEmmanuel Vadot vsync-len = <10>; 127f126890aSEmmanuel Vadot vfront-porch = <2>; 128f126890aSEmmanuel Vadot hsync-active = <0>; 129f126890aSEmmanuel Vadot vsync-active = <0>; 130f126890aSEmmanuel Vadot de-active = <1>; 131f126890aSEmmanuel Vadot pixelclk-active = <1>; 132f126890aSEmmanuel Vadot }; 133f126890aSEmmanuel Vadot 134*0e8011faSEmmanuel Vadot timing-et0500 { 135f126890aSEmmanuel Vadot clock-frequency = <33264000>; 136f126890aSEmmanuel Vadot hactive = <800>; 137f126890aSEmmanuel Vadot vactive = <480>; 138f126890aSEmmanuel Vadot hback-porch = <88>; 139f126890aSEmmanuel Vadot hsync-len = <128>; 140f126890aSEmmanuel Vadot hfront-porch = <40>; 141f126890aSEmmanuel Vadot vback-porch = <33>; 142f126890aSEmmanuel Vadot vsync-len = <2>; 143f126890aSEmmanuel Vadot vfront-porch = <10>; 144f126890aSEmmanuel Vadot hsync-active = <0>; 145f126890aSEmmanuel Vadot vsync-active = <0>; 146f126890aSEmmanuel Vadot de-active = <1>; 147f126890aSEmmanuel Vadot pixelclk-active = <0>; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot 150*0e8011faSEmmanuel Vadot timing-et0700 { /* same as ET0500 */ 151f126890aSEmmanuel Vadot clock-frequency = <33264000>; 152f126890aSEmmanuel Vadot hactive = <800>; 153f126890aSEmmanuel Vadot vactive = <480>; 154f126890aSEmmanuel Vadot hback-porch = <88>; 155f126890aSEmmanuel Vadot hsync-len = <128>; 156f126890aSEmmanuel Vadot hfront-porch = <40>; 157f126890aSEmmanuel Vadot vback-porch = <33>; 158f126890aSEmmanuel Vadot vsync-len = <2>; 159f126890aSEmmanuel Vadot vfront-porch = <10>; 160f126890aSEmmanuel Vadot hsync-active = <0>; 161f126890aSEmmanuel Vadot vsync-active = <0>; 162f126890aSEmmanuel Vadot de-active = <1>; 163f126890aSEmmanuel Vadot pixelclk-active = <0>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot 166*0e8011faSEmmanuel Vadot timing-etq570 { 167f126890aSEmmanuel Vadot clock-frequency = <6596040>; 168f126890aSEmmanuel Vadot hactive = <320>; 169f126890aSEmmanuel Vadot vactive = <240>; 170f126890aSEmmanuel Vadot hback-porch = <38>; 171f126890aSEmmanuel Vadot hsync-len = <30>; 172f126890aSEmmanuel Vadot hfront-porch = <30>; 173f126890aSEmmanuel Vadot vback-porch = <16>; 174f126890aSEmmanuel Vadot vsync-len = <3>; 175f126890aSEmmanuel Vadot vfront-porch = <4>; 176f126890aSEmmanuel Vadot hsync-active = <0>; 177f126890aSEmmanuel Vadot vsync-active = <0>; 178f126890aSEmmanuel Vadot de-active = <1>; 179f126890aSEmmanuel Vadot pixelclk-active = <0>; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot }; 182f126890aSEmmanuel Vadot }; 183f126890aSEmmanuel Vadot 184f126890aSEmmanuel Vadot backlight: backlight { 185f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 186f126890aSEmmanuel Vadot pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 187f126890aSEmmanuel Vadot power-supply = <®_3v3>; 188f126890aSEmmanuel Vadot brightness-levels = < 189f126890aSEmmanuel Vadot 0 1 2 3 4 5 6 7 8 9 190f126890aSEmmanuel Vadot 10 11 12 13 14 15 16 17 18 19 191f126890aSEmmanuel Vadot 20 21 22 23 24 25 26 27 28 29 192f126890aSEmmanuel Vadot 30 31 32 33 34 35 36 37 38 39 193f126890aSEmmanuel Vadot 40 41 42 43 44 45 46 47 48 49 194f126890aSEmmanuel Vadot 50 51 52 53 54 55 56 57 58 59 195f126890aSEmmanuel Vadot 60 61 62 63 64 65 66 67 68 69 196f126890aSEmmanuel Vadot 70 71 72 73 74 75 76 77 78 79 197f126890aSEmmanuel Vadot 80 81 82 83 84 85 86 87 88 89 198f126890aSEmmanuel Vadot 90 91 92 93 94 95 96 97 98 99 199f126890aSEmmanuel Vadot 100 200f126890aSEmmanuel Vadot >; 201f126890aSEmmanuel Vadot default-brightness-level = <50>; 202f126890aSEmmanuel Vadot }; 203f126890aSEmmanuel Vadot 204f126890aSEmmanuel Vadot reg_lcd_pwr: regulator-lcd-pwr { 205f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 206f126890aSEmmanuel Vadot regulator-name = "LCD POWER"; 207f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 208f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 209f126890aSEmmanuel Vadot gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>; 210f126890aSEmmanuel Vadot enable-active-high; 211f126890aSEmmanuel Vadot regulator-boot-on; 212f126890aSEmmanuel Vadot }; 213f126890aSEmmanuel Vadot 214f126890aSEmmanuel Vadot reg_lcd_reset: regulator-lcd-reset { 215f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 216f126890aSEmmanuel Vadot regulator-name = "LCD RESET"; 217f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 218f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 219f126890aSEmmanuel Vadot gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>; 220f126890aSEmmanuel Vadot enable-active-high; 221f126890aSEmmanuel Vadot regulator-boot-on; 222f126890aSEmmanuel Vadot }; 223f126890aSEmmanuel Vadot}; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot&i2c3 { 226f126890aSEmmanuel Vadot pinctrl-names = "default"; 227f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 228f126890aSEmmanuel Vadot status = "okay"; 229f126890aSEmmanuel Vadot 230f126890aSEmmanuel Vadot sgtl5000: codec@a { 231f126890aSEmmanuel Vadot compatible = "fsl,sgtl5000"; 232f126890aSEmmanuel Vadot reg = <0x0a>; 233f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 234f126890aSEmmanuel Vadot VDDA-supply = <®_2v5>; 235f126890aSEmmanuel Vadot VDDIO-supply = <®_3v3>; 236f126890aSEmmanuel Vadot clocks = <&mclk>; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot polytouch: edt-ft5x06@38 { 240f126890aSEmmanuel Vadot compatible = "edt,edt-ft5x06"; 241f126890aSEmmanuel Vadot reg = <0x38>; 242f126890aSEmmanuel Vadot pinctrl-names = "default"; 243f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_edt_ft5x06_1>; 244f126890aSEmmanuel Vadot interrupt-parent = <&gpio6>; 245f126890aSEmmanuel Vadot interrupts = <15 IRQ_TYPE_EDGE_FALLING>; 246f126890aSEmmanuel Vadot reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; 247f126890aSEmmanuel Vadot wake-gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; 248f126890aSEmmanuel Vadot wakeup-source; 249f126890aSEmmanuel Vadot }; 250f126890aSEmmanuel Vadot 251f126890aSEmmanuel Vadot touchscreen: tsc2007@48 { 252f126890aSEmmanuel Vadot compatible = "ti,tsc2007"; 253f126890aSEmmanuel Vadot reg = <0x48>; 254f126890aSEmmanuel Vadot pinctrl-names = "default"; 255f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_tsc2007>; 256f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 257f126890aSEmmanuel Vadot interrupts = <26 IRQ_TYPE_EDGE_FALLING>; 258f126890aSEmmanuel Vadot gpios = <&gpio3 26 GPIO_ACTIVE_LOW>; 259f126890aSEmmanuel Vadot ti,x-plate-ohms = <660>; 260f126890aSEmmanuel Vadot wakeup-source; 261f126890aSEmmanuel Vadot }; 262f126890aSEmmanuel Vadot}; 263f126890aSEmmanuel Vadot 264f126890aSEmmanuel Vadot&iomuxc { 265f126890aSEmmanuel Vadot imx53-tx53-x03x { 266f126890aSEmmanuel Vadot pinctrl_edt_ft5x06_1: edt-ft5x06grp-1 { 267f126890aSEmmanuel Vadot fsl,pins = < 268f126890aSEmmanuel Vadot MX53_PAD_NANDF_CS2__GPIO6_15 0x1f0 /* Interrupt */ 269f126890aSEmmanuel Vadot MX53_PAD_EIM_A16__GPIO2_22 0x04 /* Reset */ 270f126890aSEmmanuel Vadot MX53_PAD_EIM_A17__GPIO2_21 0x04 /* Wake */ 271f126890aSEmmanuel Vadot >; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 274f126890aSEmmanuel Vadot pinctrl_kpp: kppgrp { 275f126890aSEmmanuel Vadot fsl,pins = < 276f126890aSEmmanuel Vadot MX53_PAD_GPIO_9__KPP_COL_6 0x1f4 277f126890aSEmmanuel Vadot MX53_PAD_GPIO_4__KPP_COL_7 0x1f4 278f126890aSEmmanuel Vadot MX53_PAD_KEY_COL2__KPP_COL_2 0x1f4 279f126890aSEmmanuel Vadot MX53_PAD_KEY_COL3__KPP_COL_3 0x1f4 280f126890aSEmmanuel Vadot MX53_PAD_GPIO_2__KPP_ROW_6 0x1f4 281f126890aSEmmanuel Vadot MX53_PAD_GPIO_5__KPP_ROW_7 0x1f4 282f126890aSEmmanuel Vadot MX53_PAD_KEY_ROW2__KPP_ROW_2 0x1f4 283f126890aSEmmanuel Vadot MX53_PAD_KEY_ROW3__KPP_ROW_3 0x1f4 284f126890aSEmmanuel Vadot >; 285f126890aSEmmanuel Vadot }; 286f126890aSEmmanuel Vadot 287f126890aSEmmanuel Vadot pinctrl_rgb24_vga1: rgb24-vgagrp1 { 288f126890aSEmmanuel Vadot fsl,pins = < 289f126890aSEmmanuel Vadot MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x5 290f126890aSEmmanuel Vadot MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 0x5 291f126890aSEmmanuel Vadot MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 0x5 292f126890aSEmmanuel Vadot MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 0x5 293f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 0x5 294f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 0x5 295f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 0x5 296f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 0x5 297f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 0x5 298f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 0x5 299f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 0x5 300f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 0x5 301f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 0x5 302f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 0x5 303f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 0x5 304f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 0x5 305f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 0x5 306f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 0x5 307f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 0x5 308f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 0x5 309f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 0x5 310f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 0x5 311f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 0x5 312f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 0x5 313f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 0x5 314f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 0x5 315f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 0x5 316f126890aSEmmanuel Vadot MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 0x5 317f126890aSEmmanuel Vadot >; 318f126890aSEmmanuel Vadot }; 319f126890aSEmmanuel Vadot 320f126890aSEmmanuel Vadot pinctrl_tsc2007: tsc2007grp { 321f126890aSEmmanuel Vadot fsl,pins = < 322f126890aSEmmanuel Vadot MX53_PAD_EIM_D26__GPIO3_26 0x1f0 /* Interrupt */ 323f126890aSEmmanuel Vadot >; 324f126890aSEmmanuel Vadot }; 325f126890aSEmmanuel Vadot }; 326f126890aSEmmanuel Vadot}; 327f126890aSEmmanuel Vadot 328f126890aSEmmanuel Vadot&ipu_di0_disp0 { 329f126890aSEmmanuel Vadot remote-endpoint = <&display0_in>; 330f126890aSEmmanuel Vadot}; 331f126890aSEmmanuel Vadot 332f126890aSEmmanuel Vadot&kpp { 333f126890aSEmmanuel Vadot pinctrl-names = "default"; 334f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_kpp>; 335f126890aSEmmanuel Vadot /* sample keymap */ 336f126890aSEmmanuel Vadot /* row/col 0,1 are mapped to KPP row/col 6,7 */ 337f126890aSEmmanuel Vadot linux,keymap = < 338f126890aSEmmanuel Vadot MATRIX_KEY(6, 6, KEY_POWER) 339f126890aSEmmanuel Vadot MATRIX_KEY(6, 7, KEY_KP0) 340f126890aSEmmanuel Vadot MATRIX_KEY(6, 2, KEY_KP1) 341f126890aSEmmanuel Vadot MATRIX_KEY(6, 3, KEY_KP2) 342f126890aSEmmanuel Vadot MATRIX_KEY(7, 6, KEY_KP3) 343f126890aSEmmanuel Vadot MATRIX_KEY(7, 7, KEY_KP4) 344f126890aSEmmanuel Vadot MATRIX_KEY(7, 2, KEY_KP5) 345f126890aSEmmanuel Vadot MATRIX_KEY(7, 3, KEY_KP6) 346f126890aSEmmanuel Vadot MATRIX_KEY(2, 6, KEY_KP7) 347f126890aSEmmanuel Vadot MATRIX_KEY(2, 7, KEY_KP8) 348f126890aSEmmanuel Vadot MATRIX_KEY(2, 2, KEY_KP9) 349f126890aSEmmanuel Vadot >; 350f126890aSEmmanuel Vadot status = "okay"; 351f126890aSEmmanuel Vadot}; 352