xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-emcon-avari.dtsi (revision 79f74d4c83fb9e1a144443c7513d23ee8c3b1619)
1*79f74d4cSKrzysztof Kozlowski// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2724ba675SRob Herring//
3724ba675SRob Herring// Copyright (C) 2018 emtrion GmbH
4724ba675SRob Herring//
5724ba675SRob Herring
6724ba675SRob Herring/ {
7724ba675SRob Herring	aliases {
8724ba675SRob Herring		boardid = &boardid;
9724ba675SRob Herring		mmc0 = &usdhc3;
10724ba675SRob Herring		mmc1 = &usdhc2;
11724ba675SRob Herring		mmc2 = &usdhc1;
12724ba675SRob Herring		mmc3 = &usdhc4;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	reg_wall_5p0: reg-wall5p0 {
16724ba675SRob Herring		compatible = "regulator-fixed";
17724ba675SRob Herring		regulator-name = "Main-Supply";
18724ba675SRob Herring		regulator-min-microvolt = <5000000>;
19724ba675SRob Herring		regulator-max-microvolt = <5000000>;
20724ba675SRob Herring		regulator-always-on;
21724ba675SRob Herring		regulator-boot-on;
22724ba675SRob Herring	};
23724ba675SRob Herring
24724ba675SRob Herring	reg_base3p3: reg-base3p3 {
25724ba675SRob Herring		compatible = "regulator-fixed";
26724ba675SRob Herring		vin-supply = <&reg_wall_5p0>;
27724ba675SRob Herring		regulator-name = "3V3-avari";
28724ba675SRob Herring		regulator-min-microvolt = <3300000>;
29724ba675SRob Herring		regulator-max-microvolt = <3300000>;
30724ba675SRob Herring		regulator-always-on;
31724ba675SRob Herring		regulator-boot-on;
32724ba675SRob Herring	};
33724ba675SRob Herring
34724ba675SRob Herring	reg_base1p5: reg-base1p5 {
35724ba675SRob Herring		compatible = "regulator-fixed";
36724ba675SRob Herring		vin-supply = <&reg_base3p3>;
37724ba675SRob Herring		regulator-name = "1V5-avari";
38724ba675SRob Herring		regulator-min-microvolt = <1500000>;
39724ba675SRob Herring		regulator-max-microvolt = <1500000>;
40724ba675SRob Herring		regulator-always-on;
41724ba675SRob Herring		regulator-boot-on;
42724ba675SRob Herring	};
43724ba675SRob Herring
44724ba675SRob Herring	reg_usb_otg: reg-otgvbus {
45724ba675SRob Herring		compatible = "regulator-fixed";
46724ba675SRob Herring		vin-supply = <&reg_wall_5p0>;
47724ba675SRob Herring		regulator-name = "OTG_VBUS";
48724ba675SRob Herring		regulator-min-microvolt = <5000000>;
49724ba675SRob Herring		regulator-max-microvolt = <5000000>;
50724ba675SRob Herring		gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
51724ba675SRob Herring		regulator-always-on;
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	clk_codec: clock-codec {
55724ba675SRob Herring		compatible = "fixed-clock";
56724ba675SRob Herring		#clock-cells = <0>;
57724ba675SRob Herring		clock-frequency  = <12000000>;
58724ba675SRob Herring	};
59724ba675SRob Herring
60724ba675SRob Herring	sound {
61724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
62724ba675SRob Herring		model = "emCON-avari-sgtl5000";
63724ba675SRob Herring		ssi-controller = <&ssi2>;
64724ba675SRob Herring		audio-codec = <&sgtl5000>;
65724ba675SRob Herring		audio-routing =
66724ba675SRob Herring			"Headphone Jack", "HP_OUT";
67724ba675SRob Herring		mux-int-port = <2>;
68724ba675SRob Herring		mux-ext-port = <3>;
69724ba675SRob Herring	};
70724ba675SRob Herring};
71724ba675SRob Herring
72724ba675SRob Herring&audmux {
73724ba675SRob Herring	pinctrl-names = "default";
74724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
75724ba675SRob Herring	status = "okay";
76724ba675SRob Herring};
77724ba675SRob Herring
78724ba675SRob Herring&can1 {
79724ba675SRob Herring	status = "okay";
80724ba675SRob Herring};
81724ba675SRob Herring
82724ba675SRob Herring&can2 {
83724ba675SRob Herring	status = "okay";
84724ba675SRob Herring};
85724ba675SRob Herring
86724ba675SRob Herring&ecspi2 {
87724ba675SRob Herring	status = "okay";
88724ba675SRob Herring};
89724ba675SRob Herring
90724ba675SRob Herring&hdmi {
91724ba675SRob Herring	ddc-i2c-bus = <&i2c2>;
92724ba675SRob Herring	status = "okay";
93724ba675SRob Herring};
94724ba675SRob Herring
95724ba675SRob Herring&i2c2 {
96724ba675SRob Herring	status = "okay";
97724ba675SRob Herring};
98724ba675SRob Herring
99724ba675SRob Herring&i2c3 {
100724ba675SRob Herring	clock-frequency = <100000>;
101724ba675SRob Herring	pinctrl-names = "default";
102724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
103724ba675SRob Herring	status = "okay";
104724ba675SRob Herring
105724ba675SRob Herring	sgtl5000: audio-codec@a {
106724ba675SRob Herring		compatible = "fsl,sgtl5000";
107724ba675SRob Herring		reg = <0x0a>;
108724ba675SRob Herring		#sound-dai-cells = <0>;
109724ba675SRob Herring		clocks = <&clk_codec>;
110724ba675SRob Herring		VDDA-supply = <&reg_base3p3>;
111724ba675SRob Herring		VDDIO-supply = <&reg_base3p3>;
112724ba675SRob Herring	};
113724ba675SRob Herring
114724ba675SRob Herring	captouch: touchscreen@38 {
115724ba675SRob Herring		compatible = "edt,edt-ft5406";
116724ba675SRob Herring		reg = <0x38>;
117724ba675SRob Herring		pinctrl-names = "default";
118724ba675SRob Herring		pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
119724ba675SRob Herring		interrupt-parent = <&gpio6>;
120724ba675SRob Herring		interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
121724ba675SRob Herring		wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
122724ba675SRob Herring		wakeup-source;
123724ba675SRob Herring	};
124724ba675SRob Herring
125724ba675SRob Herring	boardid: gpio@3a {
126724ba675SRob Herring		compatible = "nxp,pca8574";
127724ba675SRob Herring		reg = <0x3a>;
128724ba675SRob Herring		gpio-controller;
129724ba675SRob Herring		#gpio-cells = <2>;
130724ba675SRob Herring	};
131724ba675SRob Herring};
132724ba675SRob Herring
133724ba675SRob Herring&pcie {
134724ba675SRob Herring	status = "okay";
135724ba675SRob Herring};
136724ba675SRob Herring
137724ba675SRob Herring&rgb_encoder {
138724ba675SRob Herring	status = "okay";
139724ba675SRob Herring};
140724ba675SRob Herring
141724ba675SRob Herring&rgb_panel {
142724ba675SRob Herring	compatible = "edt,etm0700g0bdh6";
143724ba675SRob Herring	status = "okay";
144724ba675SRob Herring};
145724ba675SRob Herring
146724ba675SRob Herring&ssi2 {
147724ba675SRob Herring	status = "okay";
148724ba675SRob Herring};
149724ba675SRob Herring
150724ba675SRob Herring&uart2 {
151724ba675SRob Herring	status = "okay";
152724ba675SRob Herring	uart-has-rtscts;
153724ba675SRob Herring};
154724ba675SRob Herring
155724ba675SRob Herring&uart3 {
156724ba675SRob Herring	status = "okay";
157724ba675SRob Herring};
158724ba675SRob Herring
159724ba675SRob Herring&uart4 {
160724ba675SRob Herring	status = "okay";
161724ba675SRob Herring};
162724ba675SRob Herring
163724ba675SRob Herring&uart5 {
164724ba675SRob Herring	status = "okay";
165724ba675SRob Herring};
166724ba675SRob Herring
167724ba675SRob Herring&usbh1 {
168724ba675SRob Herring	status = "okay";
169724ba675SRob Herring};
170724ba675SRob Herring
171724ba675SRob Herring&usbotg {
172724ba675SRob Herring	status = "okay";
173724ba675SRob Herring};
174724ba675SRob Herring
175724ba675SRob Herring&usdhc1 {
176724ba675SRob Herring	status = "okay";
177724ba675SRob Herring};
178