summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorJaechul Lee <jcsing.lee@samsung.com>2019-04-02 10:30:46 +0900
committerJunghoon Kim <jhoon20.kim@samsung.com>2019-06-11 09:35:56 +0900
commit2da4988c5aff2f58809a2ea76a6e7a4a5d745a41 (patch)
treefc4c623571b15985531c2274b633abcdec7acafd /arch/arm
parent9a6688b85b06f8bd67cc113f1540e0c6d0a66e57 (diff)
downloadlinux-rpi3-2da4988c5aff2f58809a2ea76a6e7a4a5d745a41.tar.gz
linux-rpi3-2da4988c5aff2f58809a2ea76a6e7a4a5d745a41.tar.bz2
linux-rpi3-2da4988c5aff2f58809a2ea76a6e7a4a5d745a41.zip
ARM64: dts: bcm2710-rpi-3-b: Adds respeaker 4mic nodes
adds respeaker 4mic nodes. Change-Id: I8145a93dfebe716be61cb4cad30b7174a1e4bea1 Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts37
-rw-r--r--arch/arm/boot/dts/bcm2710-rpi-3-b.dts37
2 files changed, 74 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
index 841a361ec959..33f7006d564e 100644
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
@@ -219,6 +219,16 @@
pinctrl-0 = <&i2c1_pins>;
clock-frequency = <100000>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ac108_a: ac108@3b{
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
};
&i2c2 {
@@ -261,6 +271,9 @@
&i2s {
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>;
+
+ #sound-dai-cells = <0>;
+ status = "okay";
};
&leds {
@@ -287,6 +300,30 @@
status = "okay";
};
+&sound {
+ compatible = "seeed-voicecard";
+ seeed-voice-card,format = "dsp_a";
+ seeed-voice-card,name = "seeed-4mic-voicecard";
+ status = "okay";
+
+ seeed-voice-card,bitclock-master = <&codec_dai>;
+ seeed-voice-card,frame-master = <&codec_dai>;
+ seeed-voice-card,channels-playback-override = <4>;
+ seeed-voice-card,channels-capture-override = <4>;
+
+ cpu_dai: seeed-voice-card,cpu {
+ sound-dai = <&i2s>;
+ dai-tdm-slot-num = <2>;
+ dai-tdm-slot-width = <32>;
+ dai-tdm-slot-tx-mask = <1 1 0 0>;
+ dai-tdm-slot-rx-mask = <1 1 0 0>;
+ };
+ codec_dai: seeed-voice-card,codec {
+ sound-dai = <&ac108_a>;
+ system-clock-frequency = <24000000>;
+ };
+};
+
/ {
__overrides__ {
act_led_gpio = <&act_led>,"gpios:4";
diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
index 90f33ba01ca9..d27ab2b35b4b 100644
--- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
@@ -230,6 +230,16 @@
pinctrl-0 = <&i2c1_pins>;
clock-frequency = <100000>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ac108_a: ac108@3b{
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
};
&i2c2 {
@@ -272,6 +282,9 @@
&i2s {
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>;
+
+ #sound-dai-cells = <0>;
+ status = "okay";
};
&leds {
@@ -298,6 +311,30 @@
status = "okay";
};
+&sound {
+ compatible = "seeed-voicecard";
+ seeed-voice-card,format = "dsp_a";
+ seeed-voice-card,name = "seeed-4mic-voicecard";
+ status = "okay";
+
+ seeed-voice-card,bitclock-master = <&codec_dai>;
+ seeed-voice-card,frame-master = <&codec_dai>;
+ seeed-voice-card,channels-playback-override = <4>;
+ seeed-voice-card,channels-capture-override = <4>;
+
+ cpu_dai: seeed-voice-card,cpu {
+ sound-dai = <&i2s>;
+ dai-tdm-slot-num = <2>;
+ dai-tdm-slot-width = <32>;
+ dai-tdm-slot-tx-mask = <1 1 0 0>;
+ dai-tdm-slot-rx-mask = <1 1 0 0>;
+ };
+ codec_dai: seeed-voice-card,codec {
+ sound-dai = <&ac108_a>;
+ system-clock-frequency = <24000000>;
+ };
+};
+
/ {
__overrides__ {
act_led_gpio = <&act_led>,"gpios:4";