summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/iwg20d-q7-common.dtsi
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-12-12 21:25:11 +0300
committerSimon Horman <horms+renesas@verge.net.au>2017-12-20 14:52:33 +0300
commit3091626868981e086f57d580cb1711b4553c5663 (patch)
treef43dbf66012c4d4f8f443e8aca882fb592d515ed /arch/arm/boot/dts/iwg20d-q7-common.dtsi
parent3da25909eadbc5ae8dcdec77b19dd1c893d64813 (diff)
downloadlinux-3091626868981e086f57d580cb1711b4553c5663.tar.xz
ARM: dts: iwg20d-q7-common: Enable SGTL5000 audio codec
This patch enables SGTL5000 audio codec on the carrier board. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/iwg20d-q7-common.dtsi')
-rw-r--r--arch/arm/boot/dts/iwg20d-q7-common.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 54470c6de891..03d41a736afd 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -20,6 +20,20 @@
stdout-path = "serial0:115200n8";
};
+ audio_clock: audio_clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <26000000>;
+ };
+
+ reg_1p5v: 1p5v {
+ compatible = "regulator-fixed";
+ regulator-name = "1P5V";
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ };
+
vcc_sdhi1: regulator-vcc-sdhi1 {
compatible = "regulator-fixed";
@@ -83,6 +97,16 @@
compatible = "ti,bq32000";
reg = <0x68>;
};
+
+ sgtl5000: codec@a {
+ compatible = "fsl,sgtl5000";
+ #sound-dai-cells = <0>;
+ reg = <0x0a>;
+ clocks = <&audio_clock>;
+ VDDA-supply = <&reg_3p3v>;
+ VDDIO-supply = <&reg_3p3v>;
+ VDDD-supply = <&reg_1p5v>;
+ };
};
&pci0 {