mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -04:00
ARM: dts: imx6sx-sabreauto: Add SPDIF support
Add SPDIF support. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
@@ -66,6 +66,13 @@ reg_can_stby: regulator-can-stby {
|
||||
enable-active-high;
|
||||
vin-supply = <®_can_en>;
|
||||
};
|
||||
|
||||
sound-spdif {
|
||||
compatible = "fsl,imx-audio-spdif";
|
||||
model = "imx-spdif";
|
||||
spdif-controller = <&spdif>;
|
||||
spdif-in;
|
||||
};
|
||||
};
|
||||
|
||||
&anaclk2 {
|
||||
@@ -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 {
|
||||
fsl,pins = <
|
||||
MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1
|
||||
@@ -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 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_wdog>;
|
||||
|
||||
Reference in New Issue
Block a user