| .. | .. |
|---|
| 118 | 118 | status = "okay"; |
|---|
| 119 | 119 | }; |
|---|
| 120 | 120 | |
|---|
| 121 | | - dummy_codec: dummy-codec { |
|---|
| 122 | | - status = "okay"; |
|---|
| 123 | | - compatible = "rockchip,dummy-codec"; |
|---|
| 124 | | - #sound-dai-cells = <0>; |
|---|
| 125 | | - pinctrl-names = "default"; |
|---|
| 126 | | - pinctrl-0 = <&rk3308_reset>; |
|---|
| 127 | | - }; |
|---|
| 128 | | - |
|---|
| 129 | 121 | car_rk3308_sound: car-rk3308-sound { |
|---|
| 130 | 122 | status = "okay"; |
|---|
| 131 | 123 | compatible = "simple-audio-card"; |
|---|
| .. | .. |
|---|
| 140 | 132 | dai-tdm-slot-width = <32>; |
|---|
| 141 | 133 | }; |
|---|
| 142 | 134 | codec_master: simple-audio-card,codec { |
|---|
| 143 | | - sound-dai = <&dummy_codec>; |
|---|
| 135 | + sound-dai = <&spi_codec>; |
|---|
| 144 | 136 | }; |
|---|
| 145 | 137 | }; |
|---|
| 146 | 138 | }; |
|---|
| .. | .. |
|---|
| 326 | 318 | status = "disabled"; |
|---|
| 327 | 319 | }; |
|---|
| 328 | 320 | |
|---|
| 321 | +&spi4 { |
|---|
| 322 | + status = "okay"; |
|---|
| 323 | + pinctrl-names = "default"; |
|---|
| 324 | + pinctrl-0 = <&spi4m0_cs1 &spi4m0_pins>; |
|---|
| 325 | + |
|---|
| 326 | + spi_codec: spi-codec@1 { |
|---|
| 327 | + compatible ="rockchip,spi-codec"; |
|---|
| 328 | + reg = <1>; |
|---|
| 329 | + spi-lsb-first; |
|---|
| 330 | + spi-max-frequency = <5000000>; |
|---|
| 331 | + #sound-dai-cells = <0>; |
|---|
| 332 | + pinctrl-names = "default"; |
|---|
| 333 | + pinctrl-0 = <&rk3308_reset>; |
|---|
| 334 | + status = "okay"; |
|---|
| 335 | + }; |
|---|
| 336 | +}; |
|---|
| 337 | + |
|---|
| 329 | 338 | &uart9 { |
|---|
| 330 | 339 | status = "okay"; |
|---|
| 331 | 340 | pinctrl-names = "default"; |
|---|