1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK board
5 * Copyright (C) 2022 Renesas Electronics Corp.
11 * DIP-Switch SW1 setting
13 * SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC)
14 * SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1)
15 * Please change below macros according to SW1 setting on the SoM
17 #define SW_SW0_DEV_SEL 1
21 * To enable MTU3a PWM on PMOD0,
22 * - Set DIP-Switch SW1-3 to On position.
23 * - Set PMOD_MTU3 macro to 1.
27 #if (PMOD_MTU3 && !SW_ET0_EN_N)
28 #error "Cannot set as both PMOD_MTU3 and !SW_ET0_EN_N are mutually exclusive"
31 #include "r9a07g043u.dtsi"
32 #include "rzg2ul-smarc-som.dtsi"
33 #include "rzg2ul-smarc.dtsi"
36 model = "Renesas SMARC EVK based on r9a07g043u11";
37 compatible = "renesas,smarc-evk", "renesas,r9a07g043u11", "renesas,r9a07g043";