diff options
Diffstat (limited to 'dts/src/arm64/renesas/r9a07g043u11-smarc.dts')
-rw-r--r-- | dts/src/arm64/renesas/r9a07g043u11-smarc.dts | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/dts/src/arm64/renesas/r9a07g043u11-smarc.dts b/dts/src/arm64/renesas/r9a07g043u11-smarc.dts index 121e55282d..8e0107df2d 100644 --- a/dts/src/arm64/renesas/r9a07g043u11-smarc.dts +++ b/dts/src/arm64/renesas/r9a07g043u11-smarc.dts @@ -6,7 +6,30 @@ */ /dts-v1/; -#include "r9a07g043.dtsi" + +/* + * DIP-Switch SW1 setting + * 1 : High; 0: Low + * SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC) + * SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1) + * Please change below macros according to SW1 setting on the SoM + */ +#define SW_SW0_DEV_SEL 1 +#define SW_ET0_EN_N 1 + +/* + * To enable MTU3a PWM on PMOD0, + * - Set DIP-Switch SW1-3 to On position. + * - Set PMOD_MTU3 macro to 1. + */ +#define PMOD_MTU3 0 + +#if (PMOD_MTU3 && !SW_ET0_EN_N) +#error "Cannot set as both PMOD_MTU3 and !SW_ET0_EN_N are mutually exclusive" +#endif + +#include "r9a07g043u.dtsi" +#include "rzg2ul-smarc-som.dtsi" #include "rzg2ul-smarc.dtsi" / { |