diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-27 08:04:31 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:10 -0400 |
commit | 819d6b96062a6519c8d45fe2cf3fcb2fb5c295d5 (patch) | |
tree | 5aada758b10e51f3ece3187eca94841788302e5b | |
parent | 55f90df497b5c40ceffc44d21c38fbe2e7914e29 (diff) |
ENGR00305648-7 ARM: dts: Add ESAI and SAI(Disabled) for imx6sx-19x19-arm2 board
This patch adds nodes for ESAI and SAI for imx6sx-19x19-arm2 board
and enables ESAI only due to pin conflict.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/imx6sx-19x19-arm2.dts | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts index 2aac6f7bbb3e..f0cbe3c6ffbe 100644 --- a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts | |||
@@ -34,6 +34,14 @@ | |||
34 | }; | 34 | }; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | clocks { | ||
38 | codec_osc: codec_osc { | ||
39 | #clock-cells = <0>; | ||
40 | compatible = "fixed-clock"; | ||
41 | clock-frequency = <12000000>; | ||
42 | }; | ||
43 | }; | ||
44 | |||
37 | max7322_reset: max7322-reset { | 45 | max7322_reset: max7322-reset { |
38 | compatible = "gpio-reset"; | 46 | compatible = "gpio-reset"; |
39 | reset-gpios = <&gpio6 18 GPIO_ACTIVE_LOW>; | 47 | reset-gpios = <&gpio6 18 GPIO_ACTIVE_LOW>; |
@@ -49,6 +57,14 @@ | |||
49 | regulators { | 57 | regulators { |
50 | compatible = "simple-bus"; | 58 | compatible = "simple-bus"; |
51 | 59 | ||
60 | reg_3p3v: 3p3v { | ||
61 | compatible = "regulator-fixed"; | ||
62 | regulator-name = "3P3V"; | ||
63 | regulator-min-microvolt = <3300000>; | ||
64 | regulator-max-microvolt = <3300000>; | ||
65 | regulator-always-on; | ||
66 | }; | ||
67 | |||
52 | reg_usb_otg1_vbus: usb_otg1_vbus { | 68 | reg_usb_otg1_vbus: usb_otg1_vbus { |
53 | compatible = "regulator-fixed"; | 69 | compatible = "regulator-fixed"; |
54 | regulator-name = "usb_otg1_vbus"; | 70 | regulator-name = "usb_otg1_vbus"; |
@@ -62,6 +78,32 @@ | |||
62 | memory { | 78 | memory { |
63 | reg = <0x80000000 0x40000000>; | 79 | reg = <0x80000000 0x40000000>; |
64 | }; | 80 | }; |
81 | |||
82 | sound-cs42888 { | ||
83 | compatible = "fsl,imx6-sabreauto-cs42888", | ||
84 | "fsl,imx-audio-cs42888"; | ||
85 | model = "imx-cs42888"; | ||
86 | esai-controller = <&esai>; | ||
87 | asrc-controller = <&asrc_p2p>; | ||
88 | audio-codec = <&cs42888>; | ||
89 | }; | ||
90 | |||
91 | sound-sgtl5000 { | ||
92 | compatible = "fsl,imx6sx-arm2-sgtl5000", | ||
93 | "fsl,imx-audio-sgtl5000"; | ||
94 | model = "imx6sx-arm2-sgtl5000"; | ||
95 | cpu-dai = <&sai1>; | ||
96 | audio-codec = <&sgtl5000>; | ||
97 | audio-routing = | ||
98 | "LINE_IN", "Line In Jack", | ||
99 | "Headphone Jack", "HP_OUT"; | ||
100 | }; | ||
101 | }; | ||
102 | |||
103 | &esai { | ||
104 | pinctrl-names = "default"; | ||
105 | pinctrl-0 = <&pinctrl_esai_1>; | ||
106 | status = "okay"; | ||
65 | }; | 107 | }; |
66 | 108 | ||
67 | &csi1 { | 109 | &csi1 { |
@@ -256,6 +298,25 @@ | |||
256 | pinctrl-names = "default"; | 298 | pinctrl-names = "default"; |
257 | pinctrl-0 = <&pinctrl_i2c4_2>; | 299 | pinctrl-0 = <&pinctrl_i2c4_2>; |
258 | status = "okay"; | 300 | status = "okay"; |
301 | |||
302 | sgtl5000: sgtl5000@0a { | ||
303 | compatible = "fsl,sgtl5000"; | ||
304 | reg = <0x0a>; | ||
305 | clocks = <&codec_osc>; | ||
306 | VDDA-supply = <&vgen4_reg>; | ||
307 | VDDIO-supply = <®_3p3v>; | ||
308 | }; | ||
309 | |||
310 | cs42888: cs42888@048 { | ||
311 | compatible = "cirrus,cs42888"; | ||
312 | reg = <0x048>; | ||
313 | clocks = <&clks IMX6SX_CLK_ESAI>; | ||
314 | clock-names = "esai"; | ||
315 | VA-supply = <®_3p3v>; | ||
316 | VD-supply = <®_3p3v>; | ||
317 | VLS-supply = <®_3p3v>; | ||
318 | VLC-supply = <®_3p3v>; | ||
319 | }; | ||
259 | }; | 320 | }; |
260 | 321 | ||
261 | &iomuxc { | 322 | &iomuxc { |
@@ -351,6 +412,12 @@ | |||
351 | status = "okay"; | 412 | status = "okay"; |
352 | }; | 413 | }; |
353 | 414 | ||
415 | &sai1 { | ||
416 | pinctrl-names = "default"; | ||
417 | pinctrl-0 = <&pinctrl_sai1_1>; | ||
418 | status = "disabled"; | ||
419 | }; | ||
420 | |||
354 | &uart1 { | 421 | &uart1 { |
355 | pinctrl-names = "default"; | 422 | pinctrl-names = "default"; |
356 | pinctrl-0 = <&pinctrl_uart1_1>; | 423 | pinctrl-0 = <&pinctrl_uart1_1>; |