Commit 9ef33df1 authored by Shengjiu Wang's avatar Shengjiu Wang Committed by Shawn Guo

ARM: dts: imx6sx-sabreauto: Add SPDIF support

Add SPDIF support.
Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 903c0ef2
...@@ -66,6 +66,13 @@ reg_can_stby: regulator-can-stby { ...@@ -66,6 +66,13 @@ reg_can_stby: regulator-can-stby {
enable-active-high; enable-active-high;
vin-supply = <&reg_can_en>; vin-supply = <&reg_can_en>;
}; };
sound-spdif {
compatible = "fsl,imx-audio-spdif";
model = "imx-spdif";
spdif-controller = <&spdif>;
spdif-in;
};
}; };
&anaclk2 { &anaclk2 {
...@@ -227,6 +234,12 @@ MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x17059 ...@@ -227,6 +234,12 @@ MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x17059
>; >;
}; };
pinctrl_spdif: spdifgrp {
fsl,pins = <
MX6SX_PAD_ENET2_COL__SPDIF_IN 0x1b0b0
>;
};
pinctrl_uart1: uart1grp { pinctrl_uart1: uart1grp {
fsl,pins = < fsl,pins = <
MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1
...@@ -454,6 +467,14 @@ max7310_b: gpio@32 { ...@@ -454,6 +467,14 @@ max7310_b: gpio@32 {
}; };
}; };
&spdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spdif>;
assigned-clocks = <&clks IMX6SX_CLK_SPDIF_PODF>;
assigned-clock-rates = <24576000>;
status = "okay";
};
&wdog1 { &wdog1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog>; pinctrl-0 = <&pinctrl_wdog>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment