1a74a0bf3SBiju Das// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2a74a0bf3SBiju Das/*
3a74a0bf3SBiju Das * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK parts
4a74a0bf3SBiju Das *
5a74a0bf3SBiju Das * Copyright (C) 2022 Renesas Electronics Corp.
6a74a0bf3SBiju Das */
7a74a0bf3SBiju Das
8a74a0bf3SBiju Das#include "rzg2ul-smarc-pinfunction.dtsi"
9a74a0bf3SBiju Das#include "rz-smarc-common.dtsi"
10a74a0bf3SBiju Das
11820e9769SBiju Das#if (!SW_ET0_EN_N)
12820e9769SBiju Das&canfd {
13820e9769SBiju Das	/delete-property/ pinctrl-0;
14820e9769SBiju Das	/delete-property/ pinctrl-names;
15820e9769SBiju Das	status = "disabled";
16820e9769SBiju Das};
17820e9769SBiju Das#endif
18820e9769SBiju Das
191ed914e3SBiju Das&cpu_dai {
201ed914e3SBiju Das	sound-dai = <&ssi1>;
211ed914e3SBiju Das};
221ed914e3SBiju Das
23b0fa698bSBiju Das&i2c1 {
24b0fa698bSBiju Das	wm8978: codec@1a {
25b0fa698bSBiju Das		compatible = "wlf,wm8978";
26b0fa698bSBiju Das		#sound-dai-cells = <0>;
27b0fa698bSBiju Das		reg = <0x1a>;
28b0fa698bSBiju Das	};
29b0fa698bSBiju Das};
30b0fa698bSBiju Das
31*e578a363SBiju Das#if PMOD_MTU3
32*e578a363SBiju Das&mtu3 {
33*e578a363SBiju Das	pinctrl-0 = <&mtu3_pins>;
34*e578a363SBiju Das	pinctrl-names = "default";
35*e578a363SBiju Das
36*e578a363SBiju Das	status = "okay";
37*e578a363SBiju Das};
38*e578a363SBiju Das
39*e578a363SBiju Das&spi1 {
40*e578a363SBiju Das	status = "disabled";
41*e578a363SBiju Das};
42*e578a363SBiju Das#endif
43*e578a363SBiju Das
441ed914e3SBiju Das#if (SW_ET0_EN_N)
451ed914e3SBiju Das&ssi1 {
461ed914e3SBiju Das	pinctrl-0 = <&ssi1_pins>;
471ed914e3SBiju Das	pinctrl-names = "default";
481ed914e3SBiju Das
491ed914e3SBiju Das	status = "okay";
501ed914e3SBiju Das};
511ed914e3SBiju Das#else
521ed914e3SBiju Das&snd_rzg2l {
531ed914e3SBiju Das	status = "disabled";
541ed914e3SBiju Das};
551ed914e3SBiju Das
56ea25b183SBiju Das&spi1 {
57ea25b183SBiju Das	/delete-property/ pinctrl-0;
58ea25b183SBiju Das	/delete-property/ pinctrl-names;
59ea25b183SBiju Das	status = "disabled";
60ea25b183SBiju Das};
61ea25b183SBiju Das
621ed914e3SBiju Das&ssi1 {
631ed914e3SBiju Das	/delete-property/ pinctrl-0;
641ed914e3SBiju Das	/delete-property/ pinctrl-names;
651ed914e3SBiju Das	status = "disabled";
661ed914e3SBiju Das};
671ed914e3SBiju Das#endif
681ed914e3SBiju Das
69a74a0bf3SBiju Das&vccq_sdhi1 {
70a74a0bf3SBiju Das	gpios = <&pinctrl RZG2L_GPIO(6, 1) GPIO_ACTIVE_HIGH>;
71a74a0bf3SBiju Das};
72