Commit 0a7c1c88 authored by Biju Das's avatar Biju Das Committed by Geert Uytterhoeven

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: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220303164155.7706-3-biju.das.jz@bp.renesas.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent a2b642d8
...@@ -26,12 +26,6 @@ &i2c1 { ...@@ -26,12 +26,6 @@ &i2c1 {
status = "disabled"; status = "disabled";
}; };
&i2c3 {
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-names;
status = "disabled";
};
&spi1 { &spi1 {
/delete-property/ pinctrl-0; /delete-property/ pinctrl-0;
/delete-property/ pinctrl-names; /delete-property/ pinctrl-names;
......
...@@ -26,7 +26,6 @@ aliases { ...@@ -26,7 +26,6 @@ aliases {
serial0 = &scif0; serial0 = &scif0;
i2c0 = &i2c0; i2c0 = &i2c0;
i2c1 = &i2c1; i2c1 = &i2c1;
i2c3 = &i2c3;
}; };
chosen { chosen {
...@@ -131,20 +130,6 @@ &i2c1 { ...@@ -131,20 +130,6 @@ &i2c1 {
status = "okay"; status = "okay";
}; };
&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>;
};
};
&ohci0 { &ohci0 {
dr_mode = "otg"; dr_mode = "otg";
status = "okay"; status = "okay";
......
...@@ -14,6 +14,21 @@ ...@@ -14,6 +14,21 @@
/ { / {
aliases { aliases {
serial1 = &scif2; 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>;
}; };
}; };
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
/ { / {
aliases { aliases {
serial1 = &scif1; serial1 = &scif1;
i2c2 = &i2c2;
}; };
}; };
...@@ -59,6 +60,16 @@ &canfd { ...@@ -59,6 +60,16 @@ &canfd {
}; };
#endif #endif
&i2c2 {
status = "disabled";
wm8978: codec@1a {
compatible = "wlf,wm8978";
#sound-dai-cells = <0>;
reg = <0x1a>;
};
};
/* /*
* To enable SCIF1 (SER0) on PMOD1 (CN7), On connector board * To enable SCIF1 (SER0) on PMOD1 (CN7), On connector board
* SW1 should be at position 2->3 so that SER0_CTS# line is activated * SW1 should be at position 2->3 so that SER0_CTS# line is activated
......
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