]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/dra7xx-jamr3.dtsi
Merge branch 'p-ti-linux-3.14.y-common/audio-for-next' of git://git.ti.com/android...
[android-sdk/kernel-video.git] / arch / arm / boot / dts / dra7xx-jamr3.dtsi
1 /*
2  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
9 #include <dt-bindings/clk/ti-dra7-atl.h>
11 / {
12         jamr3_sound {
13                 compatible = "ti,dra7xx-jamr3-snd";
14                 ti,model = "DRA7xx-JAMR3";
15                 ti,always-on;
16                 clocks = <&atl_clkin1_ck>;
17                 clock-names = "ti,codec-clock";
19                 ti,audio-routing =
20                         "J3A LINE1L",           "JAMR3 Stereo Aux In",
21                         "J3A LINE1R",           "JAMR3 Stereo Aux In",
22                         "J3B LINE1L",           "JAMR3 Mono Mic 1",
23                         "J3B LINE1R",           "JAMR3 Mono Mic 2",
24                         "JAMR3 Line Out 1",     "J3A LLOUT",
25                         "JAMR3 Line Out 1",     "J3A RLOUT",
26                         "JAMR3 Line Out 2",     "J3B LLOUT",
27                         "JAMR3 Line Out 2",     "J3B RLOUT",
28                         "JAMR3 Line Out 3",     "J3C LLOUT",
29                         "JAMR3 Line Out 3",     "J3C RLOUT";
31                 /* DAI link */
32                 ti,mcasp-controller = <&mcasp6>;
33                 ti,audio-codec-a = <&tlv320aic3106a>;
34                 ti,audio-codec-b = <&tlv320aic3106b>;
35                 ti,audio-codec-c = <&tlv320aic3106c>;
36                 ti,audio-slots = <8>;
37                 ti,audio-mclk-freq = <11289600>;
38         };
40         dsp_radio: radio {
41                 compatible = "ti,dra7xx_radio";
42                 gpios = <&gpio6 20 0>;
43         };
44 };
46 &reserved_mem {
47         /* Required by cmem driver used by radio */
48         cmem_radio: cmem@95400000 {
49                 reg = <0x95400000 0x400000>;
50                 no-map;
51                 status = "okay";
52         };
54         dsp1_sr0: dsp1_sr0@bfd00000 {
55                 reg = <0xbfd00000 0x100000>;
56                 no-map;
57                 status = "okay";
58         };
59 };
61 &atl {
62         atl1 {
63                 bws = <DRA7_ATL_WS_MCASP2_FSX>;
64                 aws = <DRA7_ATL_WS_MCASP6_FSX>;
65         };
66 };
68 &mcasp2 {
69         fck_parent = "atl_clkin2_ck";
71         status = "okay";
73         op-mode = <0>;  /* MCASP_IIS_MODE */
74         tdm-slots = <2>;
75         /* 8 serializer */
76         serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
77                 1 1 1 1 1 1 1 1
78         >;
79         shared-dai;
80 };
82 &mcasp6 {
83         fck_parent = "atl_clkin1_ck";
85         status = "okay";
87         op-mode = <0>;  /* MCASP_IIS_MODE */
88         tdm-slots = <8>;
89         /* 4 serializer */
90         serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
91                 1 2 0 0
92         >;
93         tx-num-evt = <8>;
94         rx-num-evt = <8>;
95         shared-dai;
96 };
98 &i2c_p3_exp {
99         tlv320aic3106a: tlv320aic3106@18 {
100                 compatible = "ti,tlv320aic3106";
101                 reg = <0x18>;
102                 adc-settle-ms = <40>;
103                 ai3x-micbias-vg = <1>;  /* 2.0V */
104                 status = "okay";
105                 name-prefix = "J3A";
107                 /* Regulators */
108                 AVDD-supply = <&evm_3v3_sw>;
109                 IOVDD-supply = <&evm_3v3_sw>;
110                 DRVDD-supply = <&evm_3v3_sw>;
111                 DVDD-supply = <&aic_dvdd>;
112         };
114         tlv320aic3106b: tlv320aic3106@19 {
115                 compatible = "ti,tlv320aic3106";
116                 reg = <0x19>;
117                 adc-settle-ms = <40>;
118                 ai3x-micbias-vg = <1>;  /* 2.0V */
119                 status = "okay";
120                 name-prefix = "J3B";
122                 /* Regulators */
123                 AVDD-supply = <&evm_3v3_sw>;
124                 IOVDD-supply = <&evm_3v3_sw>;
125                 DRVDD-supply = <&evm_3v3_sw>;
126                 DVDD-supply = <&aic_dvdd>;
127         };
129         tlv320aic3106c: tlv320aic3106@1a {
130                 compatible = "ti,tlv320aic3106";
131                 reg = <0x1a>;
132                 adc-settle-ms = <40>;
133                 ai3x-micbias-vg = <1>;  /* 2.0V */
134                 status = "okay";
135                 name-prefix = "J3C";
137                 /* Regulators */
138                 AVDD-supply = <&evm_3v3_sw>;
139                 IOVDD-supply = <&evm_3v3_sw>;
140                 DRVDD-supply = <&evm_3v3_sw>;
141                 DVDD-supply = <&aic_dvdd>;
142         };
144         tvp5158@58 {
145                 compatible= "ti,tvp5158";
146                 reg = <0x58>;
148                 gpios = <&pcf_hdmi 3 0>,
149                                 <&pcf_gpio_21 8 0>;
150                 port {
151                         tvp_decoder: endpoint@0 {
152                                 /* No properties for BT656 */
153                         };
154                 };
155         };
156 };
158 &vin1a {
159         endpoint {
160                 slave-mode;
161                 remote-endpoint = <&tvp_decoder>;
162         };
163 };