Skip to content

Commit

Permalink
All K230 boards support Alsa
Browse files Browse the repository at this point in the history
Signed-off-by: gh-sxp <[email protected]>
  • Loading branch information
gh-sxp authored and RevySR committed Nov 15, 2024
1 parent e8c0e44 commit dda59fa
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x8000000>;
};

sound {
status = "okay";
compatible = "canaan,k230-audio-inno";
canaan,model = "K230_I2S_INNO";
canaan,k230-i2s-controller = <&i2s>;
canaan,k230-audio-codec = <&inno_codec>;
};
};

&uart0 {
Expand Down
8 changes: 8 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};

sound {
status = "okay";
compatible = "canaan,k230-audio-inno";
canaan,model = "K230_I2S_INNO";
canaan,k230-i2s-controller = <&i2s>;
canaan,k230-audio-codec = <&inno_codec>;
};
};

&uart0 {
Expand Down
8 changes: 8 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x20000000>;
};

sound {
status = "okay";
compatible = "canaan,k230-audio-inno";
canaan,model = "K230_I2S_INNO";
canaan,k230-i2s-controller = <&i2s>;
canaan,k230-audio-codec = <&inno_codec>;
};
};

&uart0 {
Expand Down
8 changes: 8 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x20000000>;
};

sound {
status = "okay";
compatible = "canaan,k230-audio-inno";
canaan,model = "K230_I2S_INNO";
canaan,k230-i2s-controller = <&i2s>;
canaan,k230-audio-codec = <&inno_codec>;
};
};

&uart0 {
Expand Down
8 changes: 8 additions & 0 deletions arch/riscv/boot/dts/canaan/k230d-canmv.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x8000000>;
};

sound {
status = "okay";
compatible = "canaan,k230-audio-inno";
canaan,model = "K230_I2S_INNO";
canaan,k230-i2s-controller = <&i2s>;
canaan,k230-audio-codec = <&inno_codec>;
};
};

&uart0 {
Expand Down

0 comments on commit dda59fa

Please sign in to comment.