1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Copyright (C) 2020 Pengutronix, Ulrich Oelmann <kernel@pengutronix.de> 4f126890aSEmmanuel Vadot 5f126890aSEmmanuel Vadot/dts-v1/; 6f126890aSEmmanuel Vadot#include "imx6q.dtsi" 7f126890aSEmmanuel Vadot#include "imx6qdl-skov-cpu.dtsi" 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot/ { 10f126890aSEmmanuel Vadot model = "SKOV IMX6 CPU QuadCore"; 11f126890aSEmmanuel Vadot compatible = "skov,imx6q-skov-reve-mi1010ait-1cp1", "fsl,imx6q"; 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadot backlight: backlight { 14f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 15f126890aSEmmanuel Vadot pinctrl-names = "default"; 16f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_backlight>; 17f126890aSEmmanuel Vadot enable-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>; 18f126890aSEmmanuel Vadot pwms = <&pwm2 0 20000 0>; 19f126890aSEmmanuel Vadot brightness-levels = <0 255>; 20f126890aSEmmanuel Vadot num-interpolated-steps = <17>; 21f126890aSEmmanuel Vadot default-brightness-level = <8>; 22f126890aSEmmanuel Vadot power-supply = <®_24v0>; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot panel { 26f126890aSEmmanuel Vadot compatible = "multi-inno,mi1010ait-1cp"; 27f126890aSEmmanuel Vadot backlight = <&backlight>; 28f126890aSEmmanuel Vadot power-supply = <®_3v3>; 29f126890aSEmmanuel Vadot 30f126890aSEmmanuel Vadot port { 31f126890aSEmmanuel Vadot panel_in: endpoint { 32f126890aSEmmanuel Vadot remote-endpoint = <&lvds0_out>; 33f126890aSEmmanuel Vadot }; 34f126890aSEmmanuel Vadot }; 35f126890aSEmmanuel Vadot }; 36f126890aSEmmanuel Vadot}; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot&clks { 39f126890aSEmmanuel Vadot assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, 40*84943d6fSEmmanuel Vadot <&clks IMX6QDL_CLK_LDB_DI1_SEL>, <&clks IMX6QDL_CLK_ENET_REF_SEL>; 41f126890aSEmmanuel Vadot assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>, 42*84943d6fSEmmanuel Vadot <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>, <&clk50m_phy>; 43f126890aSEmmanuel Vadot}; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot&hdmi { 46f126890aSEmmanuel Vadot ddc-i2c-bus = <&i2c2>; 47f126890aSEmmanuel Vadot status = "okay"; 48f126890aSEmmanuel Vadot}; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot&i2c1 { 51f126890aSEmmanuel Vadot pinctrl-names = "default"; 52f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 53f126890aSEmmanuel Vadot clock-frequency = <100000>; 54f126890aSEmmanuel Vadot status = "okay"; 55f126890aSEmmanuel Vadot 56f126890aSEmmanuel Vadot touchscreen@38 { 57f126890aSEmmanuel Vadot compatible = "edt,edt-ft5406"; 58f126890aSEmmanuel Vadot reg = <0x38>; 59f126890aSEmmanuel Vadot pinctrl-names = "default"; 60f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_touchscreen>; 61f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 62f126890aSEmmanuel Vadot interrupts = <19 IRQ_TYPE_EDGE_FALLING>; 63f126890aSEmmanuel Vadot reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; 64f126890aSEmmanuel Vadot touchscreen-size-x = <1280>; 65f126890aSEmmanuel Vadot touchscreen-size-y = <800>; 66f126890aSEmmanuel Vadot wakeup-source; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot}; 69f126890aSEmmanuel Vadot 70f126890aSEmmanuel Vadot&i2c2 { 71f126890aSEmmanuel Vadot pinctrl-names = "default"; 72f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 73f126890aSEmmanuel Vadot clock-frequency = <100000>; 74f126890aSEmmanuel Vadot status = "okay"; 75f126890aSEmmanuel Vadot}; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot&ldb { 78f126890aSEmmanuel Vadot status = "okay"; 79f126890aSEmmanuel Vadot 80f126890aSEmmanuel Vadot lvds-channel@0 { 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot 83f126890aSEmmanuel Vadot port@4 { 84f126890aSEmmanuel Vadot reg = <4>; 85f126890aSEmmanuel Vadot 86f126890aSEmmanuel Vadot lvds0_out: endpoint { 87f126890aSEmmanuel Vadot remote-endpoint = <&panel_in>; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot }; 90f126890aSEmmanuel Vadot }; 91f126890aSEmmanuel Vadot}; 92f126890aSEmmanuel Vadot 93f126890aSEmmanuel Vadot&iomuxc { 94f126890aSEmmanuel Vadot pinctrl_backlight: backlightgrp { 95f126890aSEmmanuel Vadot fsl,pins = < 96f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__GPIO6_IO23 0x58 97f126890aSEmmanuel Vadot >; 98f126890aSEmmanuel Vadot }; 99f126890aSEmmanuel Vadot 100f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 101f126890aSEmmanuel Vadot fsl,pins = < 102f126890aSEmmanuel Vadot /* external 1 k pull up */ 103f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__I2C1_SCL 0x40010878 104f126890aSEmmanuel Vadot /* external 1 k pull up */ 105f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__I2C1_SDA 0x40010878 106f126890aSEmmanuel Vadot >; 107f126890aSEmmanuel Vadot }; 108f126890aSEmmanuel Vadot 109f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 110f126890aSEmmanuel Vadot fsl,pins = < 111f126890aSEmmanuel Vadot /* internal 22 k pull up required */ 112f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001F878 113f126890aSEmmanuel Vadot /* internal 22 k pull up required */ 114f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001F878 115f126890aSEmmanuel Vadot >; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot 118f126890aSEmmanuel Vadot pinctrl_touchscreen: touchscreengrp { 119f126890aSEmmanuel Vadot fsl,pins = < 120f126890aSEmmanuel Vadot /* external 10 k pull up */ 121f126890aSEmmanuel Vadot /* CTP_INT */ 122f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 123f126890aSEmmanuel Vadot /* CTP_RST */ 124f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x1b0b0 125f126890aSEmmanuel Vadot >; 126f126890aSEmmanuel Vadot }; 127f126890aSEmmanuel Vadot}; 128f126890aSEmmanuel Vadot 129f126890aSEmmanuel Vadot®_tft_vcom { 130f126890aSEmmanuel Vadot regulator-min-microvolt = <3160000>; 131f126890aSEmmanuel Vadot regulator-max-microvolt = <3160000>; 132f126890aSEmmanuel Vadot voltage-table = <3160000 73>; 133f126890aSEmmanuel Vadot}; 134