1d3aa4ce8SKevin Hilman// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2d3aa4ce8SKevin Hilman/*
3d3aa4ce8SKevin Hilman * Copyright (c) 2018 BayLibre SAS. All rights reserved.
4d3aa4ce8SKevin Hilman */
5d3aa4ce8SKevin Hilman
6d3aa4ce8SKevin Hilman/dts-v1/;
7d3aa4ce8SKevin Hilman
8d3aa4ce8SKevin Hilman#include "meson-g12a.dtsi"
9c9206b42SGuillaume La Roque#include <dt-bindings/gpio/gpio.h>
10c9206b42SGuillaume La Roque#include <dt-bindings/gpio/meson-g12a-gpio.h>
11cd0727aaSNeil Armstrong#include <dt-bindings/sound/meson-g12a-tohdmitx.h>
12d3aa4ce8SKevin Hilman
13d3aa4ce8SKevin Hilman/ {
14d3aa4ce8SKevin Hilman	compatible = "amediatech,x96-max", "amlogic,u200", "amlogic,g12a";
15d3aa4ce8SKevin Hilman	model = "Shenzhen Amediatech Technology Co., Ltd X96 Max";
16d3aa4ce8SKevin Hilman
17d3aa4ce8SKevin Hilman	aliases {
18d3aa4ce8SKevin Hilman		serial0 = &uart_AO;
19e8e7037cSNeil Armstrong		ethernet0 = &ethmac;
20d3aa4ce8SKevin Hilman	};
21cd0727aaSNeil Armstrong
22cd0727aaSNeil Armstrong	spdif_dit: audio-codec-1 {
23cd0727aaSNeil Armstrong		#sound-dai-cells = <0>;
24cd0727aaSNeil Armstrong		compatible = "linux,spdif-dit";
25cd0727aaSNeil Armstrong		status = "okay";
26cd0727aaSNeil Armstrong		sound-name-prefix = "DIT";
27cd0727aaSNeil Armstrong	};
28cd0727aaSNeil Armstrong
29d3aa4ce8SKevin Hilman	chosen {
30d3aa4ce8SKevin Hilman		stdout-path = "serial0:115200n8";
31d3aa4ce8SKevin Hilman	};
32d3aa4ce8SKevin Hilman	memory@0 {
33d3aa4ce8SKevin Hilman		device_type = "memory";
34d3aa4ce8SKevin Hilman		reg = <0x0 0x0 0x0 0x40000000>;
35d3aa4ce8SKevin Hilman	};
36c9206b42SGuillaume La Roque
37b0be9616SNeil Armstrong	cvbs-connector {
38b0be9616SNeil Armstrong		compatible = "composite-video-connector";
39b0be9616SNeil Armstrong
40b0be9616SNeil Armstrong		port {
41b0be9616SNeil Armstrong			cvbs_connector_in: endpoint {
42b0be9616SNeil Armstrong				remote-endpoint = <&cvbs_vdac_out>;
43b0be9616SNeil Armstrong			};
44b0be9616SNeil Armstrong		};
45b0be9616SNeil Armstrong	};
46b0be9616SNeil Armstrong
47b0be9616SNeil Armstrong	hdmi-connector {
48b0be9616SNeil Armstrong		compatible = "hdmi-connector";
49b0be9616SNeil Armstrong		type = "a";
50b0be9616SNeil Armstrong
51b0be9616SNeil Armstrong		port {
52b0be9616SNeil Armstrong			hdmi_connector_in: endpoint {
53b0be9616SNeil Armstrong				remote-endpoint = <&hdmi_tx_tmds_out>;
54b0be9616SNeil Armstrong			};
55b0be9616SNeil Armstrong		};
56b0be9616SNeil Armstrong	};
57b0be9616SNeil Armstrong
5845380009SGuillaume La Roque	emmc_pwrseq: emmc-pwrseq {
5945380009SGuillaume La Roque		compatible = "mmc-pwrseq-emmc";
6045380009SGuillaume La Roque		reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
6145380009SGuillaume La Roque	};
6245380009SGuillaume La Roque
63b497ad38SNeil Armstrong	sdio_pwrseq: sdio-pwrseq {
64b497ad38SNeil Armstrong		compatible = "mmc-pwrseq-simple";
65b497ad38SNeil Armstrong		reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
66b497ad38SNeil Armstrong		clocks = <&wifi32k>;
67b497ad38SNeil Armstrong		clock-names = "ext_clock";
68b497ad38SNeil Armstrong	};
69b497ad38SNeil Armstrong
70c9206b42SGuillaume La Roque	flash_1v8: regulator-flash_1v8 {
71c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
72c9206b42SGuillaume La Roque		regulator-name = "FLASH_1V8";
73c9206b42SGuillaume La Roque		regulator-min-microvolt = <1800000>;
74c9206b42SGuillaume La Roque		regulator-max-microvolt = <1800000>;
75c9206b42SGuillaume La Roque		vin-supply = <&vcc_3v3>;
76c9206b42SGuillaume La Roque		regulator-always-on;
77c9206b42SGuillaume La Roque	};
78c9206b42SGuillaume La Roque
79c9206b42SGuillaume La Roque	dc_in: regulator-dc_in {
80c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
81c9206b42SGuillaume La Roque		regulator-name = "DC_IN";
82c9206b42SGuillaume La Roque		regulator-min-microvolt = <5000000>;
83c9206b42SGuillaume La Roque		regulator-max-microvolt = <5000000>;
84c9206b42SGuillaume La Roque		regulator-always-on;
85c9206b42SGuillaume La Roque	};
86c9206b42SGuillaume La Roque
87c9206b42SGuillaume La Roque	vcc_1v8: regulator-vcc_1v8 {
88c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
89c9206b42SGuillaume La Roque		regulator-name = "VCC_1V8";
90c9206b42SGuillaume La Roque		regulator-min-microvolt = <1800000>;
91c9206b42SGuillaume La Roque		regulator-max-microvolt = <1800000>;
92c9206b42SGuillaume La Roque		vin-supply = <&vcc_3v3>;
93c9206b42SGuillaume La Roque		regulator-always-on;
94c9206b42SGuillaume La Roque	};
95c9206b42SGuillaume La Roque
96c9206b42SGuillaume La Roque	vcc_3v3: regulator-vcc_3v3 {
97c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
98c9206b42SGuillaume La Roque		regulator-name = "VCC_3V3";
99c9206b42SGuillaume La Roque		regulator-min-microvolt = <3300000>;
100c9206b42SGuillaume La Roque		regulator-max-microvolt = <3300000>;
101c9206b42SGuillaume La Roque		vin-supply = <&vddao_3v3>;
102c9206b42SGuillaume La Roque		regulator-always-on;
103c9206b42SGuillaume La Roque		/* FIXME: actually controlled by VDDCPU_B_EN */
104c9206b42SGuillaume La Roque	};
105c9206b42SGuillaume La Roque
106c9206b42SGuillaume La Roque	vcc_5v: regulator-vcc_5v {
107c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
108c9206b42SGuillaume La Roque		regulator-name = "VCC_5V";
109c9206b42SGuillaume La Roque		regulator-min-microvolt = <5000000>;
110c9206b42SGuillaume La Roque		regulator-max-microvolt = <5000000>;
111c9206b42SGuillaume La Roque		vin-supply = <&dc_in>;
112c9206b42SGuillaume La Roque
113c9206b42SGuillaume La Roque		gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
114c9206b42SGuillaume La Roque		enable-active-low;
115c9206b42SGuillaume La Roque	};
116c9206b42SGuillaume La Roque
117c9206b42SGuillaume La Roque	vddao_1v8: regulator-vddao_1v8 {
118c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
119c9206b42SGuillaume La Roque		regulator-name = "VDDAO_1V8";
120c9206b42SGuillaume La Roque		regulator-min-microvolt = <1800000>;
121c9206b42SGuillaume La Roque		regulator-max-microvolt = <1800000>;
122c9206b42SGuillaume La Roque		vin-supply = <&vddao_3v3>;
123c9206b42SGuillaume La Roque		regulator-always-on;
124c9206b42SGuillaume La Roque	};
125c9206b42SGuillaume La Roque
126c9206b42SGuillaume La Roque	vddao_3v3: regulator-vddao_3v3 {
127c9206b42SGuillaume La Roque		compatible = "regulator-fixed";
128c9206b42SGuillaume La Roque		regulator-name = "VDDAO_3V3";
129c9206b42SGuillaume La Roque		regulator-min-microvolt = <3300000>;
130c9206b42SGuillaume La Roque		regulator-max-microvolt = <3300000>;
131c9206b42SGuillaume La Roque		vin-supply = <&dc_in>;
132c9206b42SGuillaume La Roque		regulator-always-on;
133c9206b42SGuillaume La Roque	};
134b497ad38SNeil Armstrong
135cd0727aaSNeil Armstrong	sound {
136cd0727aaSNeil Armstrong		compatible = "amlogic,axg-sound-card";
137cd0727aaSNeil Armstrong		model = "G12A-X96-MAX";
138cd0727aaSNeil Armstrong		audio-aux-devs = <&tdmout_b>;
139cd0727aaSNeil Armstrong		audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
140cd0727aaSNeil Armstrong				"TDMOUT_B IN 1", "FRDDR_B OUT 1",
141cd0727aaSNeil Armstrong				"TDMOUT_B IN 2", "FRDDR_C OUT 1",
142cd0727aaSNeil Armstrong				"TDM_B Playback", "TDMOUT_B OUT",
143cd0727aaSNeil Armstrong				"SPDIFOUT IN 0", "FRDDR_A OUT 3",
144cd0727aaSNeil Armstrong				"SPDIFOUT IN 1", "FRDDR_B OUT 3",
145cd0727aaSNeil Armstrong				"SPDIFOUT IN 2", "FRDDR_C OUT 3";
146cd0727aaSNeil Armstrong
147cd0727aaSNeil Armstrong		assigned-clocks = <&clkc CLKID_MPLL2>,
148cd0727aaSNeil Armstrong				  <&clkc CLKID_MPLL0>,
149cd0727aaSNeil Armstrong				  <&clkc CLKID_MPLL1>;
150cd0727aaSNeil Armstrong		assigned-clock-parents = <0>, <0>, <0>;
151cd0727aaSNeil Armstrong		assigned-clock-rates = <294912000>,
152cd0727aaSNeil Armstrong				       <270950400>,
153cd0727aaSNeil Armstrong				       <393216000>;
154cd0727aaSNeil Armstrong		status = "okay";
155cd0727aaSNeil Armstrong
156cd0727aaSNeil Armstrong		dai-link-0 {
157cd0727aaSNeil Armstrong			sound-dai = <&frddr_a>;
158cd0727aaSNeil Armstrong		};
159cd0727aaSNeil Armstrong
160cd0727aaSNeil Armstrong		dai-link-1 {
161cd0727aaSNeil Armstrong			sound-dai = <&frddr_b>;
162cd0727aaSNeil Armstrong		};
163cd0727aaSNeil Armstrong
164cd0727aaSNeil Armstrong		dai-link-2 {
165cd0727aaSNeil Armstrong			sound-dai = <&frddr_c>;
166cd0727aaSNeil Armstrong		};
167cd0727aaSNeil Armstrong
168cd0727aaSNeil Armstrong		/* 8ch hdmi interface */
169cd0727aaSNeil Armstrong		dai-link-3 {
170cd0727aaSNeil Armstrong			sound-dai = <&tdmif_b>;
171cd0727aaSNeil Armstrong			dai-format = "i2s";
172cd0727aaSNeil Armstrong			dai-tdm-slot-tx-mask-0 = <1 1>;
173cd0727aaSNeil Armstrong			dai-tdm-slot-tx-mask-1 = <1 1>;
174cd0727aaSNeil Armstrong			dai-tdm-slot-tx-mask-2 = <1 1>;
175cd0727aaSNeil Armstrong			dai-tdm-slot-tx-mask-3 = <1 1>;
176cd0727aaSNeil Armstrong			mclk-fs = <256>;
177cd0727aaSNeil Armstrong
178cd0727aaSNeil Armstrong			codec {
179cd0727aaSNeil Armstrong				sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
180cd0727aaSNeil Armstrong			};
181cd0727aaSNeil Armstrong		};
182cd0727aaSNeil Armstrong
183cd0727aaSNeil Armstrong		/* spdif hdmi or toslink interface */
184cd0727aaSNeil Armstrong		dai-link-4 {
185cd0727aaSNeil Armstrong			sound-dai = <&spdifout>;
186cd0727aaSNeil Armstrong
187cd0727aaSNeil Armstrong			codec-0 {
188cd0727aaSNeil Armstrong				sound-dai = <&spdif_dit>;
189cd0727aaSNeil Armstrong			};
190cd0727aaSNeil Armstrong
191cd0727aaSNeil Armstrong			codec-1 {
192cd0727aaSNeil Armstrong				sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>;
193cd0727aaSNeil Armstrong			};
194cd0727aaSNeil Armstrong		};
195cd0727aaSNeil Armstrong
196cd0727aaSNeil Armstrong		/* spdif hdmi interface */
197cd0727aaSNeil Armstrong		dai-link-5 {
198cd0727aaSNeil Armstrong			sound-dai = <&spdifout_b>;
199cd0727aaSNeil Armstrong
200cd0727aaSNeil Armstrong			codec {
201cd0727aaSNeil Armstrong				sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>;
202cd0727aaSNeil Armstrong			};
203cd0727aaSNeil Armstrong		};
204cd0727aaSNeil Armstrong
205cd0727aaSNeil Armstrong		/* hdmi glue */
206cd0727aaSNeil Armstrong		dai-link-6 {
207cd0727aaSNeil Armstrong			sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
208cd0727aaSNeil Armstrong
209cd0727aaSNeil Armstrong			codec {
210cd0727aaSNeil Armstrong				sound-dai = <&hdmi_tx>;
211cd0727aaSNeil Armstrong			};
212cd0727aaSNeil Armstrong		};
213cd0727aaSNeil Armstrong	};
214cd0727aaSNeil Armstrong
215b497ad38SNeil Armstrong	wifi32k: wifi32k {
216b497ad38SNeil Armstrong		compatible = "pwm-clock";
217b497ad38SNeil Armstrong		#clock-cells = <0>;
218b497ad38SNeil Armstrong		clock-frequency = <32768>;
219b497ad38SNeil Armstrong		pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
220b497ad38SNeil Armstrong	};
221d3aa4ce8SKevin Hilman};
222d3aa4ce8SKevin Hilman
223cd0727aaSNeil Armstrong&arb {
224cd0727aaSNeil Armstrong	status = "okay";
225cd0727aaSNeil Armstrong};
226cd0727aaSNeil Armstrong
227b0be9616SNeil Armstrong&cec_AO {
228b0be9616SNeil Armstrong	pinctrl-0 = <&cec_ao_a_h_pins>;
229b0be9616SNeil Armstrong	pinctrl-names = "default";
230b0be9616SNeil Armstrong	status = "disabled";
231b0be9616SNeil Armstrong	hdmi-phandle = <&hdmi_tx>;
232b0be9616SNeil Armstrong};
233b0be9616SNeil Armstrong
234b0be9616SNeil Armstrong&cecb_AO {
235b0be9616SNeil Armstrong	pinctrl-0 = <&cec_ao_b_h_pins>;
236b0be9616SNeil Armstrong	pinctrl-names = "default";
237b0be9616SNeil Armstrong	status = "okay";
238b0be9616SNeil Armstrong	hdmi-phandle = <&hdmi_tx>;
239b0be9616SNeil Armstrong};
240b0be9616SNeil Armstrong
241cd0727aaSNeil Armstrong&clkc_audio {
242cd0727aaSNeil Armstrong	status = "okay";
243cd0727aaSNeil Armstrong};
244cd0727aaSNeil Armstrong
245b0be9616SNeil Armstrong&cvbs_vdac_port {
246b0be9616SNeil Armstrong	cvbs_vdac_out: endpoint {
247b0be9616SNeil Armstrong		remote-endpoint = <&cvbs_connector_in>;
248b0be9616SNeil Armstrong	};
249b0be9616SNeil Armstrong};
250b0be9616SNeil Armstrong
251cd0727aaSNeil Armstrong&frddr_a {
252cd0727aaSNeil Armstrong	status = "okay";
253cd0727aaSNeil Armstrong};
254cd0727aaSNeil Armstrong
255cd0727aaSNeil Armstrong&frddr_b {
256cd0727aaSNeil Armstrong	status = "okay";
257cd0727aaSNeil Armstrong};
258cd0727aaSNeil Armstrong
259cd0727aaSNeil Armstrong&frddr_c {
260cd0727aaSNeil Armstrong	status = "okay";
261cd0727aaSNeil Armstrong};
262cd0727aaSNeil Armstrong
263b0be9616SNeil Armstrong&hdmi_tx {
264b0be9616SNeil Armstrong	status = "okay";
265b0be9616SNeil Armstrong	pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
266b0be9616SNeil Armstrong	pinctrl-names = "default";
267b0be9616SNeil Armstrong	hdmi-supply = <&vcc_5v>;
268b0be9616SNeil Armstrong};
269b0be9616SNeil Armstrong
270b0be9616SNeil Armstrong&hdmi_tx_tmds_port {
271b0be9616SNeil Armstrong	hdmi_tx_tmds_out: endpoint {
272b0be9616SNeil Armstrong		remote-endpoint = <&hdmi_connector_in>;
273b0be9616SNeil Armstrong	};
274b0be9616SNeil Armstrong};
275b0be9616SNeil Armstrong
276fff6e9d3SNeil Armstrong&ir {
277fff6e9d3SNeil Armstrong	status = "okay";
278fff6e9d3SNeil Armstrong	pinctrl-0 = <&remote_input_ao_pins>;
279fff6e9d3SNeil Armstrong	pinctrl-names = "default";
280fff6e9d3SNeil Armstrong};
281fff6e9d3SNeil Armstrong
282e8e7037cSNeil Armstrong&ext_mdio {
283e8e7037cSNeil Armstrong	external_phy: ethernet-phy@0 {
284e8e7037cSNeil Armstrong		/* Realtek RTL8211F (0x001cc916) */
285e8e7037cSNeil Armstrong		reg = <0>;
286e8e7037cSNeil Armstrong		max-speed = <1000>;
287e8e7037cSNeil Armstrong		eee-broken-1000t;
288ed5e8f68SMartin Blumenstingl
289ed5e8f68SMartin Blumenstingl		reset-assert-us = <10000>;
290ed5e8f68SMartin Blumenstingl		reset-deassert-us = <30000>;
291ed5e8f68SMartin Blumenstingl		reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
292e8e7037cSNeil Armstrong	};
293e8e7037cSNeil Armstrong};
294e8e7037cSNeil Armstrong
295e8e7037cSNeil Armstrong&ethmac {
296e8e7037cSNeil Armstrong	pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
297e8e7037cSNeil Armstrong	pinctrl-names = "default";
298e8e7037cSNeil Armstrong	status = "okay";
299e8e7037cSNeil Armstrong	phy-mode = "rgmii";
300e8e7037cSNeil Armstrong	phy-handle = <&external_phy>;
301e8e7037cSNeil Armstrong	amlogic,tx-delay-ns = <2>;
302e8e7037cSNeil Armstrong};
303e8e7037cSNeil Armstrong
304b497ad38SNeil Armstrong&pwm_ef {
305b497ad38SNeil Armstrong	status = "okay";
306b497ad38SNeil Armstrong	pinctrl-0 = <&pwm_e_pins>;
307b497ad38SNeil Armstrong	pinctrl-names = "default";
308b497ad38SNeil Armstrong	clocks = <&xtal>;
309b497ad38SNeil Armstrong	clock-names = "clkin0";
310b497ad38SNeil Armstrong};
311b497ad38SNeil Armstrong
312c5c9c7cfSNeil Armstrong&uart_A {
313c5c9c7cfSNeil Armstrong	status = "okay";
314c5c9c7cfSNeil Armstrong	pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
315c5c9c7cfSNeil Armstrong	pinctrl-names = "default";
316c5c9c7cfSNeil Armstrong	uart-has-rtscts;
317c5c9c7cfSNeil Armstrong
318c5c9c7cfSNeil Armstrong	bluetooth {
319c5c9c7cfSNeil Armstrong		compatible = "brcm,bcm43438-bt";
320c5c9c7cfSNeil Armstrong		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
321e4998f48SNeil Armstrong		max-speed = <2000000>;
322524595ecSNeil Armstrong		clocks = <&wifi32k>;
323524595ecSNeil Armstrong		clock-names = "lpo";
324c5c9c7cfSNeil Armstrong	};
325c5c9c7cfSNeil Armstrong};
326c5c9c7cfSNeil Armstrong
327d3aa4ce8SKevin Hilman&uart_AO {
328d3aa4ce8SKevin Hilman	status = "okay";
3290b7aed33SNeil Armstrong	pinctrl-0 = <&uart_ao_a_pins>;
3300b7aed33SNeil Armstrong	pinctrl-names = "default";
331d3aa4ce8SKevin Hilman};
33245b72126SNeil Armstrong
33345b72126SNeil Armstrong&usb {
33445b72126SNeil Armstrong	status = "okay";
33545b72126SNeil Armstrong	dr_mode = "host";
33645b72126SNeil Armstrong};
33745380009SGuillaume La Roque
338b497ad38SNeil Armstrong/* SDIO */
339b497ad38SNeil Armstrong&sd_emmc_a {
340b497ad38SNeil Armstrong	status = "okay";
341b497ad38SNeil Armstrong	pinctrl-0 = <&sdio_pins>;
342b497ad38SNeil Armstrong	pinctrl-1 = <&sdio_clk_gate_pins>;
343b497ad38SNeil Armstrong	pinctrl-names = "default", "clk-gate";
344b497ad38SNeil Armstrong	#address-cells = <1>;
345b497ad38SNeil Armstrong	#size-cells = <0>;
346b497ad38SNeil Armstrong
347b497ad38SNeil Armstrong	bus-width = <4>;
348b497ad38SNeil Armstrong	cap-sd-highspeed;
349b497ad38SNeil Armstrong	sd-uhs-sdr50;
350b497ad38SNeil Armstrong	max-frequency = <100000000>;
351b497ad38SNeil Armstrong
352b497ad38SNeil Armstrong	non-removable;
353b497ad38SNeil Armstrong	disable-wp;
354b497ad38SNeil Armstrong
355b497ad38SNeil Armstrong	mmc-pwrseq = <&sdio_pwrseq>;
356b497ad38SNeil Armstrong
357b497ad38SNeil Armstrong	vmmc-supply = <&vddao_3v3>;
358b497ad38SNeil Armstrong	vqmmc-supply = <&vddao_1v8>;
359b497ad38SNeil Armstrong
360b497ad38SNeil Armstrong	brcmf: wifi@1 {
361b497ad38SNeil Armstrong		reg = <1>;
362b497ad38SNeil Armstrong		compatible = "brcm,bcm4329-fmac";
363b497ad38SNeil Armstrong	};
364b497ad38SNeil Armstrong};
365b497ad38SNeil Armstrong
36645380009SGuillaume La Roque/* SD card */
36745380009SGuillaume La Roque&sd_emmc_b {
36845380009SGuillaume La Roque	status = "okay";
36945380009SGuillaume La Roque	pinctrl-0 = <&sdcard_c_pins>;
37045380009SGuillaume La Roque	pinctrl-1 = <&sdcard_clk_gate_c_pins>;
37145380009SGuillaume La Roque	pinctrl-names = "default", "clk-gate";
37245380009SGuillaume La Roque
37345380009SGuillaume La Roque	bus-width = <4>;
37445380009SGuillaume La Roque	cap-sd-highspeed;
37545380009SGuillaume La Roque	max-frequency = <100000000>;
37645380009SGuillaume La Roque	disable-wp;
37745380009SGuillaume La Roque
37845380009SGuillaume La Roque	cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
37945380009SGuillaume La Roque	vmmc-supply = <&vddao_3v3>;
38045380009SGuillaume La Roque	vqmmc-supply = <&vddao_3v3>;
38145380009SGuillaume La Roque};
38245380009SGuillaume La Roque
38345380009SGuillaume La Roque/* eMMC */
38445380009SGuillaume La Roque&sd_emmc_c {
38545380009SGuillaume La Roque	status = "okay";
38645380009SGuillaume La Roque	pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
38745380009SGuillaume La Roque	pinctrl-1 = <&emmc_clk_gate_pins>;
38845380009SGuillaume La Roque	pinctrl-names = "default", "clk-gate";
38945380009SGuillaume La Roque
39045380009SGuillaume La Roque	bus-width = <8>;
39145380009SGuillaume La Roque	cap-mmc-highspeed;
39245380009SGuillaume La Roque	max-frequency = <100000000>;
39345380009SGuillaume La Roque	non-removable;
39445380009SGuillaume La Roque	disable-wp;
39545380009SGuillaume La Roque
39645380009SGuillaume La Roque	mmc-pwrseq = <&emmc_pwrseq>;
39745380009SGuillaume La Roque	vmmc-supply = <&vcc_3v3>;
39845380009SGuillaume La Roque	vqmmc-supply = <&flash_1v8>;
39945380009SGuillaume La Roque};
400cd0727aaSNeil Armstrong
401cd0727aaSNeil Armstrong&spdifout {
402cd0727aaSNeil Armstrong	pinctrl-0 = <&spdif_out_h_pins>;
403cd0727aaSNeil Armstrong	pinctrl-names = "default";
404cd0727aaSNeil Armstrong	status = "okay";
405cd0727aaSNeil Armstrong};
406cd0727aaSNeil Armstrong
407cd0727aaSNeil Armstrong&spdifout_b {
408cd0727aaSNeil Armstrong	status = "okay";
409cd0727aaSNeil Armstrong};
410cd0727aaSNeil Armstrong
411cd0727aaSNeil Armstrong&tdmif_b {
412cd0727aaSNeil Armstrong	status = "okay";
413cd0727aaSNeil Armstrong};
414cd0727aaSNeil Armstrong
415cd0727aaSNeil Armstrong&tdmout_b {
416cd0727aaSNeil Armstrong	status = "okay";
417cd0727aaSNeil Armstrong};
418cd0727aaSNeil Armstrong
419cd0727aaSNeil Armstrong&tohdmitx {
420cd0727aaSNeil Armstrong	status = "okay";
421cd0727aaSNeil Armstrong};
422