|
68 | 68 | status = "okay"; |
69 | 69 | }; |
70 | 70 |
|
71 | | -&nco_clkref { |
72 | | - clock-frequency = <900000000>; |
73 | | -}; |
74 | | - |
75 | 71 | &mtp { |
76 | 72 | status = "okay"; |
77 | 73 | }; |
|
110 | 106 | }; |
111 | 107 | }; |
112 | 108 |
|
| 109 | +/ { |
| 110 | + speaker_sdz: fixed-regulator-sn012776-sdz { |
| 111 | + compatible = "regulator-fixed"; |
| 112 | + regulator-name = "sn012776-sdz"; |
| 113 | + startup-delay-us = <5000>; |
| 114 | + gpios = <&pinctrl_ap 28 GPIO_ACTIVE_HIGH>; |
| 115 | + enable-active-high; |
| 116 | + }; |
| 117 | +}; |
| 118 | + |
| 119 | +&i2c1 { |
| 120 | + status = "okay"; |
| 121 | + |
| 122 | + speaker_left_tweet: codec@3a { |
| 123 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 124 | + reg = <0x3a>; |
| 125 | + SDZ-supply = <&speaker_sdz>; |
| 126 | + #sound-dai-cells = <0>; |
| 127 | + sound-name-prefix = "Left Tweeter"; |
| 128 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 129 | + ti,imon-slot-no = <8>; |
| 130 | + ti,vmon-slot-no = <10>; |
| 131 | + }; |
| 132 | + |
| 133 | + speaker_left_woof1: codec@38 { |
| 134 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 135 | + reg = <0x38>; |
| 136 | + SDZ-supply = <&speaker_sdz>; |
| 137 | + #sound-dai-cells = <0>; |
| 138 | + sound-name-prefix = "Left Woofer 1"; |
| 139 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 140 | + ti,imon-slot-no = <0>; |
| 141 | + ti,vmon-slot-no = <2>; |
| 142 | + ti,sdout-force-zero-mask = <0xf0f0f0>; |
| 143 | + }; |
| 144 | + |
| 145 | + speaker_left_woof2: codec@39 { |
| 146 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 147 | + reg = <0x39>; |
| 148 | + SDZ-supply = <&speaker_sdz>; |
| 149 | + #sound-dai-cells = <0>; |
| 150 | + sound-name-prefix = "Left Woofer 2"; |
| 151 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 152 | + ti,imon-slot-no = <16>; |
| 153 | + ti,vmon-slot-no = <18>; |
| 154 | + }; |
| 155 | +}; |
| 156 | + |
| 157 | +&i2c2 { |
| 158 | + status = "okay"; |
| 159 | + |
| 160 | + jack_codec: codec@4b { |
| 161 | + compatible = "cirrus,cs42l84"; |
| 162 | + reg = <0x4b>; |
| 163 | + reset-gpios = <&pinctrl_nub 58 GPIO_ACTIVE_HIGH>; |
| 164 | + #sound-dai-cells = <0>; |
| 165 | + interrupts-extended = <&pinctrl_ap 30 IRQ_TYPE_LEVEL_LOW>; |
| 166 | + sound-name-prefix = "Jack"; |
| 167 | + }; |
| 168 | +}; |
| 169 | + |
| 170 | +&i2c3 { |
| 171 | + status = "okay"; |
| 172 | + |
| 173 | + speaker_right_tweet: codec@3d { |
| 174 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 175 | + reg = <0x3d>; |
| 176 | + SDZ-supply = <&speaker_sdz>; |
| 177 | + #sound-dai-cells = <0>; |
| 178 | + sound-name-prefix = "Right Tweeter"; |
| 179 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 180 | + ti,imon-slot-no = <12>; |
| 181 | + ti,vmon-slot-no = <14>; |
| 182 | + }; |
| 183 | + |
| 184 | + speaker_right_woof1: codec@3b { |
| 185 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 186 | + reg = <0x3b>; |
| 187 | + SDZ-supply = <&speaker_sdz>; |
| 188 | + #sound-dai-cells = <0>; |
| 189 | + sound-name-prefix = "Right Woofer 1"; |
| 190 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 191 | + ti,imon-slot-no = <4>; |
| 192 | + ti,vmon-slot-no = <6>; |
| 193 | + ti,sdout-force-zero-mask = <0x0f0f0f>; |
| 194 | + }; |
| 195 | + |
| 196 | + speaker_right_woof2: codec@3c { |
| 197 | + compatible = "ti,sn012776", "ti,tas2764"; |
| 198 | + reg = <0x3c>; |
| 199 | + SDZ-supply = <&speaker_sdz>; |
| 200 | + #sound-dai-cells = <0>; |
| 201 | + sound-name-prefix = "Right Woofer 2"; |
| 202 | + interrupts-extended = <&pinctrl_ap 29 IRQ_TYPE_LEVEL_LOW>; |
| 203 | + ti,imon-slot-no = <20>; |
| 204 | + ti,vmon-slot-no = <22>; |
| 205 | + }; |
| 206 | +}; |
| 207 | + |
| 208 | +&nco_clkref { |
| 209 | + clock-frequency = <900000000>; |
| 210 | +}; |
| 211 | + |
| 212 | + |
113 | 213 | /* PCIe devices */ |
114 | 214 |
|
115 | 215 | /* |
|
154 | 254 | status = "okay"; |
155 | 255 | }; |
156 | 256 |
|
| 257 | +/ { |
| 258 | + sound: sound { |
| 259 | + /* compatible is set per machine */ |
| 260 | + |
| 261 | + dai-link@0 { |
| 262 | + link-name = "Speakers"; |
| 263 | + |
| 264 | + cpu { |
| 265 | + sound-dai = <&mca 0>, <&mca 1>; |
| 266 | + }; |
| 267 | + codec { |
| 268 | + sound-dai = <&speaker_left_woof1>, |
| 269 | + <&speaker_left_tweet>, |
| 270 | + <&speaker_left_woof2>, |
| 271 | + <&speaker_right_woof1>, |
| 272 | + <&speaker_right_tweet>, |
| 273 | + <&speaker_right_woof2>; |
| 274 | + }; |
| 275 | + }; |
| 276 | + |
| 277 | + dai-link@1 { |
| 278 | + link-name = "Headphone Jack"; |
| 279 | + |
| 280 | + cpu { |
| 281 | + sound-dai = <&mca 2>; |
| 282 | + }; |
| 283 | + codec { |
| 284 | + sound-dai = <&jack_codec>; |
| 285 | + }; |
| 286 | + }; |
| 287 | + }; |
| 288 | +}; |
| 289 | + |
157 | 290 | #include "spi1-nvram.dtsi" |
158 | 291 | #include "hwmon-common.dtsi" |
159 | 292 | #include "hwmon-fan-dual.dtsi" |
|
0 commit comments