xref: /linux/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dts (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2019 Zodiac Inflight Innovations
4 */
5
6/dts-v1/;
7
8#include "imx8mq-zii-ultra.dtsi"
9
10/ {
11	model = "ZII Ultra Zest Board";
12	compatible = "zii,imx8mq-ultra-zest", "zii,imx8mq-ultra", "fsl,imx8mq";
13
14	sound {
15		compatible = "simple-audio-card";
16		simple-audio-card,name = "front";
17		simple-audio-card,format = "i2s";
18		simple-audio-card,bitclock-master = <&sound_codec>;
19		simple-audio-card,frame-master = <&sound_codec>;
20		simple-audio-card,widgets =
21			"Headphone", "Headphone Jack Front",
22			"Headphone", "Headphone Jack Back";
23		simple-audio-card,routing =
24			"Headphone Jack Front", "HPA1 HPLEFT",
25			"Headphone Jack Front", "HPA1 HPRIGHT",
26			"Headphone Jack Back", "HPA2 HPLEFT",
27			"Headphone Jack Back", "HPA2 HPRIGHT",
28			"HPA1 LEFTIN", "HPL",
29			"HPA1 RIGHTIN", "HPR",
30			"HPA2 LEFTIN", "HPL",
31			"HPA2 RIGHTIN", "HPR";
32		simple-audio-card,aux-devs = <&hpa1>, <&hpa2>;
33
34		sound_cpu: simple-audio-card,cpu {
35			sound-dai = <&sai2>;
36		};
37
38		sound_codec: simple-audio-card,codec {
39			sound-dai = <&codec1>;
40			clocks = <&cs2000>;
41		};
42	};
43};
44
45&i2c4 {
46	touchscreen@4a {
47		compatible = "atmel,maxtouch";
48		pinctrl-names = "default";
49		pinctrl-0 = <&pinctrl_ts>;
50		reg = <0x4a>;
51		interrupt-parent = <&gpio1>;
52		interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
53	};
54};
55