diff options
Diffstat (limited to 'arch/arm/boot/dts/da850-evm.dts')
| -rw-r--r-- | arch/arm/boot/dts/da850-evm.dts | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 1e11e5a5f723..4f935ad9f27b 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts | |||
| @@ -17,6 +17,18 @@ | |||
| 17 | soc { | 17 | soc { |
| 18 | pmx_core: pinmux@1c14120 { | 18 | pmx_core: pinmux@1c14120 { |
| 19 | status = "okay"; | 19 | status = "okay"; |
| 20 | |||
| 21 | mcasp0_pins: pinmux_mcasp0_pins { | ||
| 22 | pinctrl-single,bits = < | ||
| 23 | /* | ||
| 24 | * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR, | ||
| 25 | * AFSR, AMUTE | ||
| 26 | */ | ||
| 27 | 0x00 0x11111111 0xffffffff | ||
| 28 | /* AXR11, AXR12 */ | ||
| 29 | 0x04 0x00011000 0x000ff000 | ||
| 30 | >; | ||
| 31 | }; | ||
| 20 | }; | 32 | }; |
| 21 | serial0: serial@1c42000 { | 33 | serial0: serial@1c42000 { |
| 22 | status = "okay"; | 34 | status = "okay"; |
| @@ -39,6 +51,20 @@ | |||
| 39 | tps: tps@48 { | 51 | tps: tps@48 { |
| 40 | reg = <0x48>; | 52 | reg = <0x48>; |
| 41 | }; | 53 | }; |
| 54 | tlv320aic3106: tlv320aic3106@18 { | ||
| 55 | #sound-dai-cells = <0>; | ||
| 56 | compatible = "ti,tlv320aic3106"; | ||
| 57 | reg = <0x18>; | ||
| 58 | status = "okay"; | ||
| 59 | |||
| 60 | /* Regulators */ | ||
| 61 | IOVDD-supply = <&vdcdc2_reg>; | ||
| 62 | /* Derived from VBAT: Baseboard 3.3V / 1.8V */ | ||
| 63 | AVDD-supply = <&vbat>; | ||
| 64 | DRVDD-supply = <&vbat>; | ||
| 65 | DVDD-supply = <&vbat>; | ||
| 66 | }; | ||
| 67 | |||
| 42 | }; | 68 | }; |
| 43 | wdt: wdt@1c21000 { | 69 | wdt: wdt@1c21000 { |
| 44 | status = "okay"; | 70 | status = "okay"; |
| @@ -117,6 +143,33 @@ | |||
| 117 | regulator-max-microvolt = <5000000>; | 143 | regulator-max-microvolt = <5000000>; |
| 118 | regulator-boot-on; | 144 | regulator-boot-on; |
| 119 | }; | 145 | }; |
| 146 | |||
| 147 | sound { | ||
| 148 | compatible = "simple-audio-card"; | ||
| 149 | simple-audio-card,name = "DA850/OMAP-L138 EVM"; | ||
| 150 | simple-audio-card,widgets = | ||
| 151 | "Line", "Line In", | ||
| 152 | "Line", "Line Out"; | ||
| 153 | simple-audio-card,routing = | ||
| 154 | "LINE1L", "Line In", | ||
| 155 | "LINE1R", "Line In", | ||
| 156 | "Line Out", "LLOUT", | ||
| 157 | "Line Out", "RLOUT"; | ||
| 158 | simple-audio-card,format = "dsp_b"; | ||
| 159 | simple-audio-card,bitclock-master = <&link0_codec>; | ||
| 160 | simple-audio-card,frame-master = <&link0_codec>; | ||
| 161 | simple-audio-card,bitclock-inversion; | ||
| 162 | |||
| 163 | simple-audio-card,cpu { | ||
| 164 | sound-dai = <&mcasp0>; | ||
| 165 | system-clock-frequency = <24576000>; | ||
| 166 | }; | ||
| 167 | |||
| 168 | link0_codec: simple-audio-card,codec { | ||
| 169 | sound-dai = <&tlv320aic3106>; | ||
| 170 | system-clock-frequency = <24576000>; | ||
| 171 | }; | ||
| 172 | }; | ||
| 120 | }; | 173 | }; |
| 121 | 174 | ||
| 122 | /include/ "tps6507x.dtsi" | 175 | /include/ "tps6507x.dtsi" |
| @@ -170,3 +223,22 @@ | |||
| 170 | }; | 223 | }; |
| 171 | }; | 224 | }; |
| 172 | }; | 225 | }; |
| 226 | |||
| 227 | &mcasp0 { | ||
| 228 | #sound-dai-cells = <0>; | ||
| 229 | status = "okay"; | ||
| 230 | pinctrl-names = "default"; | ||
| 231 | pinctrl-0 = <&mcasp0_pins>; | ||
| 232 | |||
| 233 | op-mode = <0>; /* MCASP_IIS_MODE */ | ||
| 234 | tdm-slots = <2>; | ||
| 235 | /* 4 serializer */ | ||
| 236 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ | ||
| 237 | 0 0 0 0 | ||
| 238 | 0 0 0 0 | ||
| 239 | 0 0 0 1 | ||
| 240 | 2 0 0 0 | ||
| 241 | >; | ||
| 242 | tx-num-evt = <32>; | ||
| 243 | rx-num-evt = <32>; | ||
| 244 | }; | ||
