The default dts do not contain wm8960/ac108, move to the other file.
The booting of default dts do not have wrong log about wm8960/ac108
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
#include "jh7110-visionfive-v2.dts"
#include "codecs/sf_ac108.dtsi"
+&i2c0 {
+ ac108_a: ac108@3b {
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
+};
+
&i2srx_3ch {
status = "okay";
};
#include "jh7110-visionfive-v2.dts"
#include "codecs/sf_wm8960.dtsi"
+&i2c0 {
+ wm8960: codec@1a {
+ compatible = "wlf,wm8960";
+ reg = <0x1a>;
+ #sound-dai-cells = <0>;
+
+ wlf,shared-lrclk;
+ };
+};
+
&i2srx_3ch {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
-
- ac108_a: ac108@3b {
- compatible = "x-power,ac108_0";
- reg = <0x3b>;
- #sound-dai-cells = <0>;
- data-protocol = <0>;
- };
-
- wm8960: codec@1a {
- compatible = "wlf,wm8960";
- reg = <0x1a>;
- #sound-dai-cells = <0>;
-
- wlf,shared-lrclk;
- };
};
&i2c2 {