1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Copyright 2015 Technexion Ltd. 4f126890aSEmmanuel Vadot// 5f126890aSEmmanuel Vadot// Author: Wig Cheng <wig.cheng@technexion.com> 6f126890aSEmmanuel Vadot// Richard Hu <richard.hu@technexion.com> 7f126890aSEmmanuel Vadot// Tapani Utriainen <tapani@technexion.com> 8f126890aSEmmanuel Vadot/dts-v1/; 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot#include "imx7d-pico.dtsi" 11f126890aSEmmanuel Vadot/ { 12f126890aSEmmanuel Vadot model = "TechNexion PICO-IMX7D and DWARF baseboard"; 13f126890aSEmmanuel Vadot compatible = "technexion,imx7d-pico-dwarf", "fsl,imx7d"; 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot sound { 16f126890aSEmmanuel Vadot compatible = "fsl,imx-audio-sgtl5000"; 17f126890aSEmmanuel Vadot model = "imx7d-sgtl5000"; 18f126890aSEmmanuel Vadot audio-cpu = <&sai1>; 19f126890aSEmmanuel Vadot audio-codec = <&sgtl5000>; 20f126890aSEmmanuel Vadot audio-routing = 21f126890aSEmmanuel Vadot "LINE_IN", "Line In Jack", 22f126890aSEmmanuel Vadot "MIC_IN", "Mic Jack", 23f126890aSEmmanuel Vadot "Mic Jack", "Mic Bias", 24f126890aSEmmanuel Vadot "Headphone Jack", "HP_OUT"; 25f126890aSEmmanuel Vadot }; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot sys_mclk: clock-sys-mclk { 28f126890aSEmmanuel Vadot compatible = "fixed-clock"; 29f126890aSEmmanuel Vadot #clock-cells = <0>; 30f126890aSEmmanuel Vadot clock-frequency = <24576000>; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot}; 33f126890aSEmmanuel Vadot 34f126890aSEmmanuel Vadot&i2c1 { 35f126890aSEmmanuel Vadot clock-frequency = <100000>; 36f126890aSEmmanuel Vadot pinctrl-names = "default"; 37f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 38f126890aSEmmanuel Vadot status = "okay"; 39f126890aSEmmanuel Vadot 40f126890aSEmmanuel Vadot sgtl5000: audio-codec@a { 41f126890aSEmmanuel Vadot reg = <0x0a>; 42f126890aSEmmanuel Vadot compatible = "fsl,sgtl5000"; 43aa1a8ff2SEmmanuel Vadot #sound-dai-cells = <0>; 44f126890aSEmmanuel Vadot clocks = <&sys_mclk>; 45f126890aSEmmanuel Vadot VDDA-supply = <®_2p5v>; 46f126890aSEmmanuel Vadot VDDIO-supply = <®_3p3v>; 47f126890aSEmmanuel Vadot }; 48f126890aSEmmanuel Vadot 49f126890aSEmmanuel Vadot pressure-sensor@60 { 50f126890aSEmmanuel Vadot compatible = "fsl,mpl3115"; 51f126890aSEmmanuel Vadot reg = <0x60>; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot}; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot&i2c4 { 56f126890aSEmmanuel Vadot clock-frequency = <100000>; 57f126890aSEmmanuel Vadot pinctrl-names = "default"; 58f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 59f126890aSEmmanuel Vadot status = "okay"; 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel Vadot pca9554: io-expander@25 { 62f126890aSEmmanuel Vadot compatible = "nxp,pca9554"; 63f126890aSEmmanuel Vadot gpio-controller; 64f126890aSEmmanuel Vadot #gpio-cells = <2>; 65f126890aSEmmanuel Vadot #interrupt-cells = <2>; 66*8d13bc63SEmmanuel Vadot interrupt-controller; 67f126890aSEmmanuel Vadot reg = <0x25>; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot 70f126890aSEmmanuel Vadot touchscreen@38 { 71f126890aSEmmanuel Vadot compatible = "edt,edt-ft5x06"; 72f126890aSEmmanuel Vadot reg = <0x38>; 73f126890aSEmmanuel Vadot pinctrl-names = "default"; 74f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_touchscreen>; 75f126890aSEmmanuel Vadot interrupt-parent = <&gpio2>; 76f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 77f126890aSEmmanuel Vadot reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>; 78f126890aSEmmanuel Vadot touchscreen-size-x = <800>; 79f126890aSEmmanuel Vadot touchscreen-size-y = <480>; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot}; 82f126890aSEmmanuel Vadot 83f126890aSEmmanuel Vadot&iomuxc { 84f126890aSEmmanuel Vadot pinctrl_touchscreen: touchscreengrp { 85f126890aSEmmanuel Vadot fsl,pins = < 86f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14 87f126890aSEmmanuel Vadot >; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot}; 90