summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2022-03-03 19:41:53 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-04-04 12:06:55 +0300
commit0a7c1c888a0c0276837f2cd7190683474a136506 (patch)
treef582f6380d09da3bb2afade22fc2c538e8af9e69 /arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
parenta2b642d89e4beeddbfbd7be6108db2b7aaef78b6 (diff)
downloadlinux-0a7c1c888a0c0276837f2cd7190683474a136506.tar.xz
arm64: dts: renesas: rzg2l-smarc: Move out i2c3 and Audio codec from common dtsi
On RZ/G2L SoM module, the Audio codec is connected to i2c3 bus whereas on RZ/G2LC, it is connected to i2c2 bus. So move out i2c3 and wm8978 nodes from common dtsi to soc specific dtsi. While at it add wm8978 node to RZ/G2LC SoC specific dtsi to fix the build error. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20220303164155.7706-3-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
index 33ddfd18bd56..c934cd3633a4 100644
--- a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
@@ -14,6 +14,21 @@
/ {
aliases {
serial1 = &scif2;
+ i2c3 = &i2c3;
+ };
+};
+
+&i2c3 {
+ pinctrl-0 = <&i2c3_pins>;
+ pinctrl-names = "default";
+ clock-frequency = <400000>;
+
+ status = "okay";
+
+ wm8978: codec@1a {
+ compatible = "wlf,wm8978";
+ #sound-dai-cells = <0>;
+ reg = <0x1a>;
};
};