1 // SPDX-License-Identifier: (GPL-2.0-only OR B 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* 2 /* 3 * Device Tree Source for the RZ/G2LC SMARC EV 3 * Device Tree Source for the RZ/G2LC SMARC EVK board 4 * 4 * 5 * Copyright (C) 2021 Renesas Electronics Corp 5 * Copyright (C) 2021 Renesas Electronics Corp. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 << 10 /* << 11 * DIP-Switch SW1 setting on SoM << 12 * 1 : High; 0: Low << 13 * SW1-2 : SW_SD0_DEV_SEL (1: eMMC; 0: u << 14 * SW1-3 : SW_SCIF_CAN (1: CAN1; 0: S << 15 * SW1-4 : SW_RSPI_CAN (1: CAN1; 0: R << 16 * SW1-5 : SW_I2S0_I2S1 (1: I2S2 (HDMI << 17 * Please change below macros according to SW1 << 18 */ << 19 << 20 #define SW_SD0_DEV_SEL 1 << 21 << 22 #define SW_SCIF_CAN 0 << 23 #if (SW_SCIF_CAN) << 24 /* Due to HW routing, SW_RSPI_CAN is always 0 << 25 #define SW_RSPI_CAN 0 << 26 #else << 27 /* Please set SW_RSPI_CAN. Default value is 1 << 28 #define SW_RSPI_CAN 1 << 29 #endif << 30 << 31 #if (SW_SCIF_CAN && SW_RSPI_CAN) << 32 #error "Can not set 1 to both SW_SCIF_CAN and << 33 #endif << 34 << 35 /* comment the #define statement to disable SC << 36 #define PMOD1_SER0 1 << 37 << 38 /* << 39 * To enable MTU3a PWM on PMOD0, << 40 * - Set DIP-Switch SW1-4 to Off position. << 41 * - Set SW_RSPI_CAN macro to 0. << 42 * - Set PMOD_MTU3 macro to 1. << 43 */ << 44 #define PMOD_MTU3 0 << 45 << 46 #if (PMOD_MTU3 && SW_RSPI_CAN) << 47 #error "Cannot set as both PMOD_MTU3 and SW_RS << 48 #endif << 49 << 50 /* Please set SW_I2S0_I2S1. Default value is 0 << 51 #define SW_I2S0_I2S1 0 << 52 << 53 #include "r9a07g044c2.dtsi" 9 #include "r9a07g044c2.dtsi" 54 #include "rzg2lc-smarc-som.dtsi" << 55 #include "rzg2lc-smarc.dtsi" 10 #include "rzg2lc-smarc.dtsi" 56 11 57 / { 12 / { 58 model = "Renesas SMARC EVK based on r9 13 model = "Renesas SMARC EVK based on r9a07g044c2"; 59 compatible = "renesas,smarc-evk", "ren 14 compatible = "renesas,smarc-evk", "renesas,r9a07g044c2", "renesas,r9a07g044"; >> 15 }; >> 16 >> 17 &ehci0 { >> 18 /delete-property/ pinctrl-0; >> 19 /delete-property/ pinctrl-names; >> 20 status = "disabled"; >> 21 }; >> 22 >> 23 &ehci1 { >> 24 /delete-property/ pinctrl-0; >> 25 /delete-property/ pinctrl-names; >> 26 status = "disabled"; >> 27 }; >> 28 >> 29 &hsusb { >> 30 /delete-property/ pinctrl-0; >> 31 /delete-property/ pinctrl-names; >> 32 status = "disabled"; >> 33 }; >> 34 >> 35 &i2c0 { >> 36 /delete-property/ pinctrl-0; >> 37 /delete-property/ pinctrl-names; >> 38 status = "disabled"; >> 39 }; >> 40 >> 41 &i2c1 { >> 42 /delete-property/ pinctrl-0; >> 43 /delete-property/ pinctrl-names; >> 44 status = "disabled"; >> 45 }; >> 46 >> 47 &i2c3 { >> 48 /delete-property/ pinctrl-0; >> 49 /delete-property/ pinctrl-names; >> 50 status = "disabled"; >> 51 }; >> 52 >> 53 &ohci0 { >> 54 /delete-property/ pinctrl-0; >> 55 /delete-property/ pinctrl-names; >> 56 status = "disabled"; >> 57 }; >> 58 >> 59 &ohci1 { >> 60 /delete-property/ pinctrl-0; >> 61 /delete-property/ pinctrl-names; >> 62 status = "disabled"; >> 63 }; >> 64 >> 65 &phyrst { >> 66 status = "disabled"; >> 67 }; >> 68 >> 69 &spi1 { >> 70 /delete-property/ pinctrl-0; >> 71 /delete-property/ pinctrl-names; >> 72 status = "disabled"; >> 73 }; >> 74 >> 75 &ssi0 { >> 76 /delete-property/ pinctrl-0; >> 77 /delete-property/ pinctrl-names; >> 78 status = "disabled"; >> 79 }; >> 80 >> 81 &usb2_phy0 { >> 82 /delete-property/ pinctrl-0; >> 83 /delete-property/ pinctrl-names; >> 84 status = "disabled"; >> 85 }; >> 86 >> 87 &usb2_phy1 { >> 88 /delete-property/ pinctrl-0; >> 89 /delete-property/ pinctrl-names; >> 90 status = "disabled"; 60 }; 91 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.