diff options
author | Shengjiu Wang <b02247@freescale.com> | 2014-06-27 02:02:28 -0400 |
---|---|---|
committer | Shengjiu Wang <b02247@freescale.com> | 2014-06-27 06:32:29 -0400 |
commit | c66de709c8fc46d0d1e946c361cf4c25cda0c295 (patch) | |
tree | 748c62ad88ba84afb3aaa373f5d5d253bc1d750e /arch/arm/boot | |
parent | cb737c22405bdbe8085cde720b9450f40bc3296a (diff) |
ENGR00320205 dts: imx6sx-sdb: Support spdif out in sx-sdb board
Add device tree for spdif in sx-sdb board.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 14 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx.dtsi | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 216e21da4485..18101a3b61e6 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -137,6 +137,14 @@ | |||
137 | hp-det-gpios = <&gpio1 17 1>; | 137 | hp-det-gpios = <&gpio1 17 1>; |
138 | }; | 138 | }; |
139 | 139 | ||
140 | sound-spdif { | ||
141 | compatible = "fsl,imx-audio-spdif", | ||
142 | "fsl,imx6sx-sdb-spdif"; | ||
143 | model = "imx-spdif"; | ||
144 | spdif-controller = <&spdif>; | ||
145 | spdif-out; | ||
146 | }; | ||
147 | |||
140 | csi1_v4l2_cap { | 148 | csi1_v4l2_cap { |
141 | compatible = "fsl,imx6sx-csi-v4l2", "fsl,imx6sl-csi-v4l2"; | 149 | compatible = "fsl,imx6sx-csi-v4l2", "fsl,imx6sl-csi-v4l2"; |
142 | status = "okay"; | 150 | status = "okay"; |
@@ -448,6 +456,12 @@ | |||
448 | status = "disabled"; | 456 | status = "disabled"; |
449 | }; | 457 | }; |
450 | 458 | ||
459 | &spdif { | ||
460 | pinctrl-names = "default"; | ||
461 | pinctrl-0 = <&pinctrl_spdif_2>; | ||
462 | status = "okay"; | ||
463 | }; | ||
464 | |||
451 | &ssi2 { | 465 | &ssi2 { |
452 | status = "okay"; | 466 | status = "okay"; |
453 | }; | 467 | }; |
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 71f58da72003..3a0f259bbc1d 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi | |||
@@ -1602,6 +1602,12 @@ | |||
1602 | MX6SX_PAD_ENET2_COL__SPDIF_IN 0x1b0b0 | 1602 | MX6SX_PAD_ENET2_COL__SPDIF_IN 0x1b0b0 |
1603 | >; | 1603 | >; |
1604 | }; | 1604 | }; |
1605 | |||
1606 | pinctrl_spdif_2: spdifgrp-2 { | ||
1607 | fsl,pins = < | ||
1608 | MX6SX_PAD_SD4_DATA4__SPDIF_OUT 0x1b0b0 | ||
1609 | >; | ||
1610 | }; | ||
1605 | }; | 1611 | }; |
1606 | 1612 | ||
1607 | uart1 { | 1613 | uart1 { |