Commit 5aad7e2d authored by Katsuhiro Suzuki's avatar Katsuhiro Suzuki Committed by Masahiro Yamada

arm64: dts: uniphier: add speaker out for LD11/LD20 boards

This patch adds codec node for TI TAS571x on UniPhier LD11/20
global boards. And adds settings of AIO for speaker out.
Signed-off-by: default avatarKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent fb21a0ac
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/uniphier-gpio.h>
#include "uniphier-ld11.dtsi" #include "uniphier-ld11.dtsi"
/ { / {
...@@ -43,6 +44,7 @@ sound { ...@@ -43,6 +44,7 @@ sound {
label = "UniPhier LD11"; label = "UniPhier LD11";
widgets = "Headphone", "Headphone Jack"; widgets = "Headphone", "Headphone Jack";
dais = <&i2s_port2 dais = <&i2s_port2
&i2s_port3
&i2s_port4 &i2s_port4
&spdif_port0>; &spdif_port0>;
}; };
...@@ -67,6 +69,11 @@ &serial1 { ...@@ -67,6 +69,11 @@ &serial1 {
status = "okay"; status = "okay";
}; };
&i2s_hpcmout1 {
dai-format = "i2s";
remote-endpoint = <&tas_speaker>;
};
&spdif_hiecout1 { &spdif_hiecout1 {
remote-endpoint = <&spdif_tx>; remote-endpoint = <&spdif_tx>;
}; };
...@@ -74,6 +81,21 @@ &spdif_hiecout1 { ...@@ -74,6 +81,21 @@ &spdif_hiecout1 {
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
tas5707a@1d {
compatible = "ti,tas5711";
reg = <0x1d>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>;
pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
port@0 {
tas_speaker: endpoint {
dai-format = "i2s";
remote-endpoint = <&i2s_hpcmout1>;
};
};
};
eeprom@50 { eeprom@50 {
compatible = "st,24c64", "atmel,24c64"; compatible = "st,24c64", "atmel,24c64";
reg = <0x50>; reg = <0x50>;
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/uniphier-gpio.h>
#include "uniphier-ld20.dtsi" #include "uniphier-ld20.dtsi"
/ { / {
...@@ -43,6 +44,7 @@ sound { ...@@ -43,6 +44,7 @@ sound {
label = "UniPhier LD20"; label = "UniPhier LD20";
widgets = "Headphone", "Headphone Jack"; widgets = "Headphone", "Headphone Jack";
dais = <&i2s_port2 dais = <&i2s_port2
&i2s_port3
&i2s_port4 &i2s_port4
&spdif_port0>; &spdif_port0>;
}; };
...@@ -67,12 +69,32 @@ &serial1 { ...@@ -67,12 +69,32 @@ &serial1 {
status = "okay"; status = "okay";
}; };
&i2s_hpcmout1 {
dai-format = "i2s";
remote-endpoint = <&tas_speaker>;
};
&spdif_hiecout1 { &spdif_hiecout1 {
remote-endpoint = <&spdif_tx>; remote-endpoint = <&spdif_tx>;
}; };
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
tas5707@1b {
compatible = "ti,tas5711";
reg = <0x1b>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>;
pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
port@0 {
tas_speaker: endpoint {
dai-format = "i2s";
remote-endpoint = <&i2s_hpcmout1>;
};
};
};
}; };
&nand { &nand {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment