Sean Anderson | d11b582 | 2020-06-24 06:41:23 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "k210.dtsi" |
| 9 | |
| 10 | #include <dt-bindings/gpio/gpio.h> |
| 11 | |
| 12 | / { |
| 13 | model = "Sipeed Maix Bit 2.0"; |
| 14 | compatible = "sipeed,maix-bitm", "sipeed,maix-bit", "kendryte,k210"; |
| 15 | |
| 16 | chosen { |
| 17 | stdout-path = "serial0:115200"; |
| 18 | }; |
| 19 | |
| 20 | sound { |
| 21 | compatible = "simple-audio-card"; |
| 22 | simple-audio-card,format = "i2s"; |
| 23 | status = "disabled"; |
| 24 | |
| 25 | simple-audio-card,cpu { |
| 26 | sound-dai = <&i2s0 0>; |
| 27 | }; |
| 28 | |
| 29 | simple-audio-card,codec { |
| 30 | sound-dai = <&mic>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | mic: mic { |
| 35 | #sound-dai-cells = <0>; |
| 36 | compatible = "memsensing,msm61s4030h0"; |
| 37 | status = "disabled"; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &uarths0 { |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | |
| 45 | &i2s0 { |
| 46 | #sound-dai-cells = <1>; |
| 47 | }; |