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