pinctrl-0 = <&i2c1_pins>;
clock-frequency = <100000>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ac108_a: ac108@3b{
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
};
&i2c2 {
&i2s {
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>;
+
+ #sound-dai-cells = <0>;
+ status = "okay";
};
&leds {
status = "okay";
};
+&sound {
+ compatible = "seeed-voicecard";
+ seeed-voice-card,format = "dsp_a";
+ seeed-voice-card,name = "seeed-4mic-voicecard";
+ status = "okay";
+
+ seeed-voice-card,bitclock-master = <&codec_dai>;
+ seeed-voice-card,frame-master = <&codec_dai>;
+ seeed-voice-card,channels-playback-override = <4>;
+ seeed-voice-card,channels-capture-override = <4>;
+
+ cpu_dai: seeed-voice-card,cpu {
+ sound-dai = <&i2s>;
+ dai-tdm-slot-num = <2>;
+ dai-tdm-slot-width = <32>;
+ dai-tdm-slot-tx-mask = <1 1 0 0>;
+ dai-tdm-slot-rx-mask = <1 1 0 0>;
+ };
+ codec_dai: seeed-voice-card,codec {
+ sound-dai = <&ac108_a>;
+ system-clock-frequency = <24000000>;
+ };
+};
+
ð_phy {
microchip,eee-enabled;
microchip,tx-lpi-timer = <600>; /* non-aggressive*/
pinctrl-0 = <&i2c1_pins>;
clock-frequency = <100000>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ac108_a: ac108@3b{
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
};
&i2c2 {
&i2s {
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>;
+
+ #sound-dai-cells = <0>;
+ status = "okay";
};
&leds {
cam0_reg: &cam_dummy_reg {
};
+&sound {
+ compatible = "seeed-voicecard";
+ seeed-voice-card,format = "dsp_a";
+ seeed-voice-card,name = "seeed-4mic-voicecard";
+ status = "okay";
+
+ seeed-voice-card,bitclock-master = <&codec_dai>;
+ seeed-voice-card,frame-master = <&codec_dai>;
+ seeed-voice-card,channels-playback-override = <4>;
+ seeed-voice-card,channels-capture-override = <4>;
+
+ cpu_dai: seeed-voice-card,cpu {
+ sound-dai = <&i2s>;
+ dai-tdm-slot-num = <2>;
+ dai-tdm-slot-width = <32>;
+ dai-tdm-slot-tx-mask = <1 1 0 0>;
+ dai-tdm-slot-rx-mask = <1 1 0 0>;
+ };
+ codec_dai: seeed-voice-card,codec {
+ sound-dai = <&ac108_a>;
+ system-clock-frequency = <24000000>;
+ };
+};
+
/ {
__overrides__ {
act_led_gpio = <&act_led>,"gpios:4";