xref: /linux/arch/arm64/boot/dts/renesas/renesas-smarc2.dtsi (revision ec71f661a572a770d7c861cd52a50cbbb0e1a8d1)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Device Tree Source for the RZ SMARC Carrier-II Board.
4 *
5 * Copyright (C) 2024 Renesas Electronics Corp.
6 */
7
8/*
9 * Please set the switch position SW_OPT_MUX.1 on the carrier board and the
10 * corresponding macro SW_SDIO_M2E on the board DTS:
11 *
12 * SW_SDIO_M2E:
13 *     0 - SMARC SDIO signal is connected to uSD1
14 *     1 - SMARC SDIO signal is connected to M.2 Key E connector
15 *
16 * Please set the switch position SW_GPIO_CAN_PMOD on the carrier board and the
17 * corresponding macro SW_GPIO8_CAN0_STB/SW_GPIO8_CAN0_STB on the board DTS:
18 *
19 * SW_GPIO8_CAN0_STB:
20 *	0 - Connect to GPIO8 PMOD (default)
21 *	1 - Connect to CAN0 transceiver STB pin
22 *
23 * SW_GPIO9_CAN1_STB:
24 *	0 - Connect to GPIO9 PMOD (default)
25 *	1 - Connect to CAN1 transceiver STB pin
26 */
27
28/ {
29	model = "Renesas RZ SMARC Carrier-II Board";
30	compatible = "renesas,smarc2-evk";
31
32	chosen {
33		bootargs = "ignore_loglevel";
34		stdout-path = "serial3:115200n8";
35	};
36
37	aliases {
38		serial3 = &scif0;
39		mmc1 = &sdhi1;
40	};
41
42	can_transceiver0: can-phy0 {
43		compatible = "ti,tcan1042";
44		#phy-cells = <0>;
45		max-bitrate = <8000000>;
46		status = "disabled";
47	};
48
49	can_transceiver1: can-phy1 {
50		compatible = "ti,tcan1042";
51		#phy-cells = <0>;
52		max-bitrate = <8000000>;
53		status = "disabled";
54	};
55};
56
57&canfd {
58	status = "okay";
59};
60
61&scif0 {
62	status = "okay";
63};
64
65&sdhi1 {
66	bus-width = <4>;
67	sd-uhs-sdr50;
68	sd-uhs-sdr104;
69
70	status = "okay";
71};
72