1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK parts 4 * 5 * Copyright (C) 2022 Renesas Electronics Corp. 6 */ 7 8#include "rzg2ul-smarc-pinfunction.dtsi" 9#include "rz-smarc-common.dtsi" 10 11#if (!SW_ET0_EN_N) 12&canfd { 13 /delete-property/ pinctrl-0; 14 /delete-property/ pinctrl-names; 15 status = "disabled"; 16}; 17#endif 18 19&cpu_dai { 20 sound-dai = <&ssi1>; 21}; 22 23&i2c1 { 24 wm8978: codec@1a { 25 compatible = "wlf,wm8978"; 26 #sound-dai-cells = <0>; 27 reg = <0x1a>; 28 }; 29}; 30 31#if PMOD_MTU3 32&mtu3 { 33 pinctrl-0 = <&mtu3_pins>; 34 pinctrl-names = "default"; 35 36 status = "okay"; 37}; 38 39&spi1 { 40 status = "disabled"; 41}; 42#endif 43 44#if (SW_ET0_EN_N) 45&ssi1 { 46 pinctrl-0 = <&ssi1_pins>; 47 pinctrl-names = "default"; 48 49 status = "okay"; 50}; 51#else 52&snd_rzg2l { 53 status = "disabled"; 54}; 55 56&spi1 { 57 /delete-property/ pinctrl-0; 58 /delete-property/ pinctrl-names; 59 status = "disabled"; 60}; 61 62&ssi1 { 63 /delete-property/ pinctrl-0; 64 /delete-property/ pinctrl-names; 65 status = "disabled"; 66}; 67#endif 68 69&vccq_sdhi1 { 70 gpios = <&pinctrl RZG2L_GPIO(6, 1) GPIO_ACTIVE_HIGH>; 71}; 72