.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2014 STMicroelectronics (R&D) Limited. |
---|
3 | 4 | * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | */ |
---|
9 | 6 | #include <dt-bindings/clock/stih407-clks.h> |
---|
10 | 7 | #include <dt-bindings/gpio/gpio.h> |
---|
.. | .. |
---|
27 | 24 | compatible = "simple-audio-card"; |
---|
28 | 25 | simple-audio-card,name = "STI-B2120"; |
---|
29 | 26 | status = "okay"; |
---|
| 27 | + #address-cells = <1>; |
---|
| 28 | + #size-cells = <0>; |
---|
30 | 29 | |
---|
31 | | - simple-audio-card,dai-link0 { |
---|
| 30 | + simple-audio-card,dai-link@0 { |
---|
| 31 | + reg = <0>; |
---|
32 | 32 | /* HDMI */ |
---|
33 | 33 | format = "i2s"; |
---|
34 | 34 | mclk-fs = <128>; |
---|
.. | .. |
---|
41 | 41 | }; |
---|
42 | 42 | }; |
---|
43 | 43 | |
---|
44 | | - simple-audio-card,dai-link1 { |
---|
| 44 | + simple-audio-card,dai-link@1 { |
---|
| 45 | + reg = <1>; |
---|
45 | 46 | /* DAC */ |
---|
46 | 47 | format = "i2s"; |
---|
47 | 48 | mclk-fs = <256>; |
---|
.. | .. |
---|
55 | 56 | }; |
---|
56 | 57 | }; |
---|
57 | 58 | |
---|
58 | | - simple-audio-card,dai-link2 { |
---|
| 59 | + simple-audio-card,dai-link@2 { |
---|
| 60 | + reg = <2>; |
---|
59 | 61 | /* SPDIF */ |
---|
60 | 62 | format = "left_j"; |
---|
61 | 63 | mclk-fs = <128>; |
---|