summaryrefslogtreecommitdiff
path: root/arch/riscv/dts/k210-maix-bit.dts
blob: 5b32c5fd5f1882bf5a8279ca89b303a324c95bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
 */

/dts-v1/;

#include "k210.dtsi"

#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Sipeed Maix Bit 2.0";
	compatible = "sipeed,maix-bitm", "sipeed,maix-bit", "kendryte,k210";

	chosen {
		stdout-path = "serial0:115200";
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,format = "i2s";
		status = "disabled";

		simple-audio-card,cpu {
			sound-dai = <&i2s0 0>;
		};

		simple-audio-card,codec {
			sound-dai = <&mic>;
		};
	};

	mic: mic {
		#sound-dai-cells = <0>;
		compatible = "memsensing,msm61s4030h0";
		status = "disabled";
	};
};

&uarths0 {
	status = "okay";
};

&i2s0 {
	#sound-dai-cells = <1>;
};