xref: /linux/arch/arm/boot/dts/nxp/imx/imx7d-pico-dwarf.dts (revision d54bcc3a3dc63bb2d8348c2e34e24bbb48fa1c22)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2724ba675SRob Herring//
3724ba675SRob Herring// Copyright 2015 Technexion Ltd.
4724ba675SRob Herring//
5724ba675SRob Herring// Author: Wig Cheng  <wig.cheng@technexion.com>
6724ba675SRob Herring//	   Richard Hu <richard.hu@technexion.com>
7724ba675SRob Herring//	   Tapani Utriainen <tapani@technexion.com>
8724ba675SRob Herring/dts-v1/;
9724ba675SRob Herring
10724ba675SRob Herring#include "imx7d-pico.dtsi"
11724ba675SRob Herring/ {
12724ba675SRob Herring	model = "TechNexion PICO-IMX7D and DWARF baseboard";
13724ba675SRob Herring	compatible = "technexion,imx7d-pico-dwarf", "fsl,imx7d";
14724ba675SRob Herring
15724ba675SRob Herring	sound {
16724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
17724ba675SRob Herring		model = "imx7d-sgtl5000";
18724ba675SRob Herring		audio-cpu = <&sai1>;
19724ba675SRob Herring		audio-codec = <&sgtl5000>;
20724ba675SRob Herring		audio-routing =
21724ba675SRob Herring			"LINE_IN", "Line In Jack",
22724ba675SRob Herring			"MIC_IN", "Mic Jack",
23724ba675SRob Herring			"Mic Jack", "Mic Bias",
24724ba675SRob Herring			"Headphone Jack", "HP_OUT";
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	sys_mclk: clock-sys-mclk {
28724ba675SRob Herring		compatible = "fixed-clock";
29724ba675SRob Herring		#clock-cells = <0>;
30724ba675SRob Herring		clock-frequency = <24576000>;
31724ba675SRob Herring	};
32724ba675SRob Herring};
33724ba675SRob Herring
34724ba675SRob Herring&i2c1 {
35724ba675SRob Herring	clock-frequency = <100000>;
36724ba675SRob Herring	pinctrl-names = "default";
37724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
38724ba675SRob Herring	status = "okay";
39724ba675SRob Herring
40724ba675SRob Herring	sgtl5000: audio-codec@a {
41724ba675SRob Herring		reg = <0x0a>;
42724ba675SRob Herring		compatible = "fsl,sgtl5000";
43*d54bcc3aSFabio Estevam		#sound-dai-cells = <0>;
44724ba675SRob Herring		clocks = <&sys_mclk>;
45724ba675SRob Herring		VDDA-supply = <&reg_2p5v>;
46724ba675SRob Herring		VDDIO-supply = <&reg_3p3v>;
47724ba675SRob Herring	};
48724ba675SRob Herring
49724ba675SRob Herring	pressure-sensor@60 {
50724ba675SRob Herring		compatible = "fsl,mpl3115";
51724ba675SRob Herring		reg = <0x60>;
52724ba675SRob Herring	};
53724ba675SRob Herring};
54724ba675SRob Herring
55724ba675SRob Herring&i2c4 {
56724ba675SRob Herring	clock-frequency = <100000>;
57724ba675SRob Herring	pinctrl-names = "default";
58724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
59724ba675SRob Herring	status = "okay";
60724ba675SRob Herring
61724ba675SRob Herring	pca9554: io-expander@25 {
62724ba675SRob Herring		compatible = "nxp,pca9554";
63724ba675SRob Herring		gpio-controller;
64724ba675SRob Herring		#gpio-cells = <2>;
65724ba675SRob Herring		#interrupt-cells = <2>;
66724ba675SRob Herring		reg = <0x25>;
67724ba675SRob Herring	};
68724ba675SRob Herring
69724ba675SRob Herring	touchscreen@38 {
70724ba675SRob Herring		compatible = "edt,edt-ft5x06";
71724ba675SRob Herring		reg = <0x38>;
72724ba675SRob Herring		pinctrl-names = "default";
73724ba675SRob Herring		pinctrl-0 = <&pinctrl_touchscreen>;
74724ba675SRob Herring		interrupt-parent = <&gpio2>;
75724ba675SRob Herring		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
76724ba675SRob Herring		reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>;
77724ba675SRob Herring		touchscreen-size-x = <800>;
78724ba675SRob Herring		touchscreen-size-y = <480>;
79724ba675SRob Herring	};
80724ba675SRob Herring};
81724ba675SRob Herring
82724ba675SRob Herring&iomuxc {
83724ba675SRob Herring	pinctrl_touchscreen: touchscreengrp {
84724ba675SRob Herring		fsl,pins = <
85724ba675SRob Herring			MX7D_PAD_EPDC_DATA13__GPIO2_IO13	0x14
86724ba675SRob Herring		>;
87724ba675SRob Herring	};
88724ba675SRob Herring};
89