File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
arch/arm/boot/dts/overlays Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
57
57
justboom-dac.dtbo \
58
58
justboom-digi.dtbo \
59
59
lirc-rpi.dtbo \
60
+ mbed-dac.dtbo \
60
61
mcp23017.dtbo \
61
62
mcp23s17.dtbo \
62
63
mcp2515-can0.dtbo \
Original file line number Diff line number Diff line change @@ -954,6 +954,12 @@ Params: gpio_out_pin GPIO for output (default "17")
954
954
(default "off")
955
955
956
956
957
+ Name: mbed-dac
958
+ Info: Configures the mbed AudioCODEC (TLV320AIC23B)
959
+ Load: dtoverlay=mbed-dac
960
+ Params: <None>
961
+
962
+
957
963
Name: mcp23017
958
964
Info: Configures the MCP23017 I2C GPIO expander
959
965
Load: dtoverlay=mcp23017,<param>=<val>
Original file line number Diff line number Diff line change
1
+ // Definitions for mbed DAC
2
+ /dts-v1/;
3
+ /plugin/;
4
+
5
+ / {
6
+ compatible = "brcm,bcm2708";
7
+
8
+ fragment@0 {
9
+ target = <&i2s>;
10
+ __overlay__ {
11
+ status = "okay";
12
+ };
13
+ };
14
+
15
+ fragment@1 {
16
+ target = <&i2c1>;
17
+ __overlay__ {
18
+ #address-cells = <1>;
19
+ #size-cells = <0>;
20
+ status = "okay";
21
+
22
+ tlv320aic23: codec@1a {
23
+ #sound-dai-cells = <0>;
24
+ reg = <0x1a>;
25
+ compatible = "ti,tlv320aic23";
26
+ status = "okay";
27
+ };
28
+ };
29
+ };
30
+
31
+ fragment@2 {
32
+ target = <&sound>;
33
+ __overlay__ {
34
+ compatible = "simple-audio-card";
35
+ i2s-controller = <&i2s>;
36
+ status = "okay";
37
+
38
+ simple-audio-card,name = "mbed-DAC";
39
+
40
+ simple-audio-card,widgets =
41
+ "Microphone", "Mic Jack",
42
+ "Line", "Line In",
43
+ "Headphone", "Headphone Jack";
44
+
45
+ simple-audio-card,routing =
46
+ "Headphone Jack", "LHPOUT",
47
+ "Headphone Jack", "RHPOUT",
48
+ "LLINEIN", "Line In",
49
+ "RLINEIN", "Line In",
50
+ "MICIN", "Mic Jack";
51
+
52
+ simple-audio-card,format = "i2s";
53
+
54
+ simple-audio-card,cpu {
55
+ sound-dai = <&i2s>;
56
+ };
57
+
58
+ sound_master: simple-audio-card,codec {
59
+ sound-dai = <&tlv320aic23>;
60
+ system-clock-frequency = <12288000>;
61
+ };
62
+ };
63
+ };
64
+ };
You can’t perform that action at this time.
0 commit comments