linux/arch/loongarch/boot/dts
Binbin Zhou 900f6267e9 LoongArch: dts: Add I2S support to Loongson-2K2000
The module is supported, adding it.

Not all Loongson-2K1000 boards have an i2s interface, here is an example
of enabling it:

sound {
	compatible = "loongson,ls-audio-card";
	model = "Loongson-ASoC";
	mclk-fs = <512>;

	cpu {
		sound-dai = <&i2s>;
	};

	codec {
		sound-dai = <&es8323>;
	};
};

&i2c1 {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	es8323:es8323@10 {
		compatible = "everest,es8323";
		reg = <0x10>;
		#sound-dai-cells = <0>;
	};
};

&i2s {
	status = "okay";

	clock-frequency = <175000000>;
	#sound-dai-cells = <0>;
};

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2024-11-26 18:06:08 +08:00
..
loongson-2k0500-ref.dts LoongArch: Fix GMAC's phy-mode definitions in dts 2024-06-03 15:45:53 +08:00
loongson-2k0500.dtsi LoongArch: dts: Add new supported device nodes to Loongson-2K0500 2024-05-14 12:24:18 +08:00
loongson-2k1000-ref.dts LoongArch: Fix GMAC's phy-mode definitions in dts 2024-06-03 15:45:53 +08:00
loongson-2k1000.dtsi LoongArch: dts: Add I2S support to Loongson-2K1000 2024-11-26 18:06:04 +08:00
loongson-2k2000-ref.dts LoongArch: Fix GMAC's phy-mode definitions in dts 2024-06-03 15:45:53 +08:00
loongson-2k2000.dtsi LoongArch: dts: Add I2S support to Loongson-2K2000 2024-11-26 18:06:08 +08:00
Makefile LoongArch: dts: DeviceTree for Loongson-2K2000 2024-01-17 12:43:08 +08:00