forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/stihxxx-b2120.dtsi
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2014 STMicroelectronics (R&D) Limited.
34 * 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.
85 */
96 #include <dt-bindings/clock/stih407-clks.h>
107 #include <dt-bindings/gpio/gpio.h>
....@@ -27,8 +24,11 @@
2724 compatible = "simple-audio-card";
2825 simple-audio-card,name = "STI-B2120";
2926 status = "okay";
27
+ #address-cells = <1>;
28
+ #size-cells = <0>;
3029
31
- simple-audio-card,dai-link0 {
30
+ simple-audio-card,dai-link@0 {
31
+ reg = <0>;
3232 /* HDMI */
3333 format = "i2s";
3434 mclk-fs = <128>;
....@@ -41,7 +41,8 @@
4141 };
4242 };
4343
44
- simple-audio-card,dai-link1 {
44
+ simple-audio-card,dai-link@1 {
45
+ reg = <1>;
4546 /* DAC */
4647 format = "i2s";
4748 mclk-fs = <256>;
....@@ -55,7 +56,8 @@
5556 };
5657 };
5758
58
- simple-audio-card,dai-link2 {
59
+ simple-audio-card,dai-link@2 {
60
+ reg = <2>;
5961 /* SPDIF */
6062 format = "left_j";
6163 mclk-fs = <128>;