1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2018 4f126890aSEmmanuel Vadot * Lukasz Majewski, DENX Software Engineering, lukma@denx.de 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot#include "imx53-kp.dtsi" 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot/ { 11f126890aSEmmanuel Vadot model = "K+P imx53 DDC"; 12f126890aSEmmanuel Vadot compatible = "kiebackpeter,imx53-ddc", "fsl,imx53"; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot backlight_lcd: backlight { 15f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 16*7d0873ebSEmmanuel Vadot pwms = <&pwm2 0 50000 0>; 17f126890aSEmmanuel Vadot power-supply = <®_backlight>; 18f126890aSEmmanuel Vadot brightness-levels = <0 24 28 32 36 19f126890aSEmmanuel Vadot 40 44 48 52 56 20f126890aSEmmanuel Vadot 60 64 68 72 76 21f126890aSEmmanuel Vadot 80 84 88 92 96 100>; 22f126890aSEmmanuel Vadot default-brightness-level = <20>; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot lcd_display: display { 26f126890aSEmmanuel Vadot compatible = "fsl,imx-parallel-display"; 27f126890aSEmmanuel Vadot #address-cells = <1>; 28f126890aSEmmanuel Vadot #size-cells = <0>; 29f126890aSEmmanuel Vadot interface-pix-fmt = "rgb24"; 30f126890aSEmmanuel Vadot pinctrl-names = "default"; 31f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_disp>; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot port@0 { 34f126890aSEmmanuel Vadot reg = <0>; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot display1_in: endpoint { 37f126890aSEmmanuel Vadot remote-endpoint = <&ipu_di1_disp1>; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot port@1 { 42f126890aSEmmanuel Vadot reg = <1>; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot lcd_display_out: endpoint { 45f126890aSEmmanuel Vadot remote-endpoint = <&lcd_panel_in>; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot }; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot lcd_panel: lcd-panel { 51f126890aSEmmanuel Vadot compatible = "koe,tx14d24vm1bpa"; 52f126890aSEmmanuel Vadot backlight = <&backlight_lcd>; 53f126890aSEmmanuel Vadot power-supply = <®_3v3>; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot port { 56f126890aSEmmanuel Vadot lcd_panel_in: endpoint { 57f126890aSEmmanuel Vadot remote-endpoint = <&lcd_display_out>; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot }; 60f126890aSEmmanuel Vadot }; 61f126890aSEmmanuel Vadot 62f126890aSEmmanuel Vadot reg_backlight: regulator-backlight { 63f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 64f126890aSEmmanuel Vadot regulator-name = "backlight-supply"; 65f126890aSEmmanuel Vadot regulator-min-microvolt = <15000000>; 66f126890aSEmmanuel Vadot regulator-max-microvolt = <15000000>; 67f126890aSEmmanuel Vadot regulator-always-on; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot}; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot&fec { 72f126890aSEmmanuel Vadot status = "okay"; 73f126890aSEmmanuel Vadot}; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot&i2c3 { 76f126890aSEmmanuel Vadot adc@48 { 77f126890aSEmmanuel Vadot compatible = "ti,ads1015"; 78f126890aSEmmanuel Vadot reg = <0x48>; 79f126890aSEmmanuel Vadot #address-cells = <1>; 80f126890aSEmmanuel Vadot #size-cells = <0>; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot channel@4 { 83f126890aSEmmanuel Vadot reg = <4>; 84f126890aSEmmanuel Vadot ti,gain = <2>; 85f126890aSEmmanuel Vadot ti,datarate = <4>; 86f126890aSEmmanuel Vadot }; 87f126890aSEmmanuel Vadot 88f126890aSEmmanuel Vadot channel@6 { 89f126890aSEmmanuel Vadot reg = <6>; 90f126890aSEmmanuel Vadot ti,gain = <2>; 91f126890aSEmmanuel Vadot ti,datarate = <4>; 92f126890aSEmmanuel Vadot }; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot 95f126890aSEmmanuel Vadot gpio-expander2@21 { 96f126890aSEmmanuel Vadot compatible = "nxp,pcf8574"; 97f126890aSEmmanuel Vadot reg = <0x21>; 98f126890aSEmmanuel Vadot interrupts = <109>; 99f126890aSEmmanuel Vadot #gpio-cells = <2>; 100f126890aSEmmanuel Vadot gpio-controller; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot}; 103f126890aSEmmanuel Vadot 104f126890aSEmmanuel Vadot&iomuxc { 105f126890aSEmmanuel Vadot imx53-kp-ddc { 106f126890aSEmmanuel Vadot pinctrl_disp: dispgrp { 107f126890aSEmmanuel Vadot fsl,pins = < 108f126890aSEmmanuel Vadot MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK 0x4 109f126890aSEmmanuel Vadot MX53_PAD_EIM_DA10__IPU_DI1_PIN15 0x4 110f126890aSEmmanuel Vadot MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x4 111f126890aSEmmanuel Vadot MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x4 112f126890aSEmmanuel Vadot MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x4 113f126890aSEmmanuel Vadot MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x4 114f126890aSEmmanuel Vadot MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x4 115f126890aSEmmanuel Vadot MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x4 116f126890aSEmmanuel Vadot MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x4 117f126890aSEmmanuel Vadot MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x4 118f126890aSEmmanuel Vadot MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x4 119f126890aSEmmanuel Vadot MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x4 120f126890aSEmmanuel Vadot MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10 0x4 121f126890aSEmmanuel Vadot MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11 0x4 122f126890aSEmmanuel Vadot MX53_PAD_EIM_A17__IPU_DISP1_DAT_12 0x4 123f126890aSEmmanuel Vadot MX53_PAD_EIM_A18__IPU_DISP1_DAT_13 0x4 124f126890aSEmmanuel Vadot MX53_PAD_EIM_A19__IPU_DISP1_DAT_14 0x4 125f126890aSEmmanuel Vadot MX53_PAD_EIM_A20__IPU_DISP1_DAT_15 0x4 126f126890aSEmmanuel Vadot MX53_PAD_EIM_A21__IPU_DISP1_DAT_16 0x4 127f126890aSEmmanuel Vadot MX53_PAD_EIM_A22__IPU_DISP1_DAT_17 0x4 128f126890aSEmmanuel Vadot MX53_PAD_EIM_A23__IPU_DISP1_DAT_18 0x4 129f126890aSEmmanuel Vadot MX53_PAD_EIM_A24__IPU_DISP1_DAT_19 0x4 130f126890aSEmmanuel Vadot MX53_PAD_EIM_D31__IPU_DISP1_DAT_20 0x4 131f126890aSEmmanuel Vadot MX53_PAD_EIM_D30__IPU_DISP1_DAT_21 0x4 132f126890aSEmmanuel Vadot MX53_PAD_EIM_D26__IPU_DISP1_DAT_22 0x4 133f126890aSEmmanuel Vadot MX53_PAD_EIM_D27__IPU_DISP1_DAT_23 0x4 134f126890aSEmmanuel Vadot MX53_PAD_GPIO_1__PWM2_PWMO 0x4 135f126890aSEmmanuel Vadot >; 136f126890aSEmmanuel Vadot }; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot}; 139f126890aSEmmanuel Vadot 140f126890aSEmmanuel Vadot&ipu_di1_disp1 { 141f126890aSEmmanuel Vadot remote-endpoint = <&display1_in>; 142f126890aSEmmanuel Vadot}; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot&pmic { 145f126890aSEmmanuel Vadot fsl,mc13xxx-uses-touch; 146f126890aSEmmanuel Vadot}; 147