summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sll-lpddr3-arm2-spdif.dts
blob: 5bcbc0170ac24d52d95089720ee22f47bebdf3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * Copyright (C) 2016 Freescale Semiconductor, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include "imx6sll-lpddr3-arm2.dts"

/ {

	sound-spdif {
		compatible = "fsl,imx-audio-spdif",
			   "fsl,imx6sl-evk-spdif";
		model = "imx-spdif";
		spdif-controller = <&spdif>;
		spdif-out;
	};
};


&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hog>;
};

&spdif {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_spdif>;
	assigned-clocks = <&clks IMX6SLL_CLK_SPDIF_SEL>,
			<&clks IMX6SLL_CLK_SPDIF_PODF>;
	assigned-clock-parents = <&clks IMX6SLL_CLK_PLL4_AUDIO_DIV>;
	assigned-clock-rates = <0>, <98304000>;
	status = "okay";
};

&usdhc2 {
	status = "disabled";
};