From 5803bd3f0ea18418113c755c0642bf4c175895c4 Mon Sep 17 00:00:00 2001 From: gh-sxp Date: Wed, 13 Nov 2024 16:17:38 +0800 Subject: [PATCH] All K230 boards support Alsa Signed-off-by: gh-sxp --- arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts | 8 ++++++++ arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts | 8 ++++++++ arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts | 8 ++++++++ arch/riscv/boot/dts/canaan/k230-evb.dts | 8 ++++++++ arch/riscv/boot/dts/canaan/k230d-canmv.dts | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts b/arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts index 694352e4c764..78fc9716a555 100644 --- a/arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts +++ b/arch/riscv/boot/dts/canaan/bananapi-canmv-k230d-zero.dts @@ -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 { diff --git a/arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts b/arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts index ae66f7ce3872..f22eaf7b209c 100644 --- a/arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts +++ b/arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts @@ -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 { diff --git a/arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts b/arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts index a08a8fc8494b..0c5ccd51a6c9 100644 --- a/arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts +++ b/arch/riscv/boot/dts/canaan/k230-canmv-lcd.dts @@ -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 { diff --git a/arch/riscv/boot/dts/canaan/k230-evb.dts b/arch/riscv/boot/dts/canaan/k230-evb.dts index a7519c6f064f..3792b9377979 100644 --- a/arch/riscv/boot/dts/canaan/k230-evb.dts +++ b/arch/riscv/boot/dts/canaan/k230-evb.dts @@ -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 { diff --git a/arch/riscv/boot/dts/canaan/k230d-canmv.dts b/arch/riscv/boot/dts/canaan/k230d-canmv.dts index c75547828c7d..8e6811108043 100644 --- a/arch/riscv/boot/dts/canaan/k230d-canmv.dts +++ b/arch/riscv/boot/dts/canaan/k230d-canmv.dts @@ -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 {