xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/renesas-smarc2.dtsi (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
12846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22846c905SEmmanuel Vadot/*
32846c905SEmmanuel Vadot * Device Tree Source for the RZ SMARC Carrier-II Board.
42846c905SEmmanuel Vadot *
52846c905SEmmanuel Vadot * Copyright (C) 2024 Renesas Electronics Corp.
62846c905SEmmanuel Vadot */
72846c905SEmmanuel Vadot
8*ae5de77eSEmmanuel Vadot/*
9*ae5de77eSEmmanuel Vadot * Please set the switch position SW_OPT_MUX.1 on the carrier board and the
10*ae5de77eSEmmanuel Vadot * corresponding macro SW_SDIO_M2E on the board DTS:
11*ae5de77eSEmmanuel Vadot *
12*ae5de77eSEmmanuel Vadot * SW_SDIO_M2E:
13*ae5de77eSEmmanuel Vadot *     0 - SMARC SDIO signal is connected to uSD1
14*ae5de77eSEmmanuel Vadot *     1 - SMARC SDIO signal is connected to M.2 Key E connector
15*ae5de77eSEmmanuel Vadot *
16*ae5de77eSEmmanuel Vadot * Please set the switch position SW_GPIO_CAN_PMOD on the carrier board and the
17*ae5de77eSEmmanuel Vadot * corresponding macro SW_GPIO8_CAN0_STB/SW_GPIO8_CAN0_STB on the board DTS:
18*ae5de77eSEmmanuel Vadot *
19*ae5de77eSEmmanuel Vadot * SW_GPIO8_CAN0_STB:
20*ae5de77eSEmmanuel Vadot *	0 - Connect to GPIO8 PMOD (default)
21*ae5de77eSEmmanuel Vadot *	1 - Connect to CAN0 transceiver STB pin
22*ae5de77eSEmmanuel Vadot *
23*ae5de77eSEmmanuel Vadot * SW_GPIO9_CAN1_STB:
24*ae5de77eSEmmanuel Vadot *	0 - Connect to GPIO9 PMOD (default)
25*ae5de77eSEmmanuel Vadot *	1 - Connect to CAN1 transceiver STB pin
26*ae5de77eSEmmanuel Vadot */
27*ae5de77eSEmmanuel Vadot
282846c905SEmmanuel Vadot/ {
292846c905SEmmanuel Vadot	model = "Renesas RZ SMARC Carrier-II Board";
302846c905SEmmanuel Vadot	compatible = "renesas,smarc2-evk";
312846c905SEmmanuel Vadot
322846c905SEmmanuel Vadot	chosen {
332846c905SEmmanuel Vadot		bootargs = "ignore_loglevel";
342846c905SEmmanuel Vadot		stdout-path = "serial3:115200n8";
352846c905SEmmanuel Vadot	};
362846c905SEmmanuel Vadot
372846c905SEmmanuel Vadot	aliases {
382846c905SEmmanuel Vadot		serial3 = &scif0;
39*ae5de77eSEmmanuel Vadot		mmc1 = &sdhi1;
40*ae5de77eSEmmanuel Vadot	};
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel Vadot	can_transceiver0: can-phy0 {
43*ae5de77eSEmmanuel Vadot		compatible = "ti,tcan1042";
44*ae5de77eSEmmanuel Vadot		#phy-cells = <0>;
45*ae5de77eSEmmanuel Vadot		max-bitrate = <8000000>;
46*ae5de77eSEmmanuel Vadot		status = "disabled";
47*ae5de77eSEmmanuel Vadot	};
48*ae5de77eSEmmanuel Vadot
49*ae5de77eSEmmanuel Vadot	can_transceiver1: can-phy1 {
50*ae5de77eSEmmanuel Vadot		compatible = "ti,tcan1042";
51*ae5de77eSEmmanuel Vadot		#phy-cells = <0>;
52*ae5de77eSEmmanuel Vadot		max-bitrate = <8000000>;
53*ae5de77eSEmmanuel Vadot		status = "disabled";
542846c905SEmmanuel Vadot	};
552846c905SEmmanuel Vadot};
562846c905SEmmanuel Vadot
57*ae5de77eSEmmanuel Vadot&canfd {
58*ae5de77eSEmmanuel Vadot	status = "okay";
59*ae5de77eSEmmanuel Vadot};
60*ae5de77eSEmmanuel Vadot
612846c905SEmmanuel Vadot&scif0 {
622846c905SEmmanuel Vadot	status = "okay";
632846c905SEmmanuel Vadot};
64*ae5de77eSEmmanuel Vadot
65*ae5de77eSEmmanuel Vadot&sdhi1 {
66*ae5de77eSEmmanuel Vadot	bus-width = <4>;
67*ae5de77eSEmmanuel Vadot	sd-uhs-sdr50;
68*ae5de77eSEmmanuel Vadot	sd-uhs-sdr104;
69*ae5de77eSEmmanuel Vadot
70*ae5de77eSEmmanuel Vadot	status = "okay";
71*ae5de77eSEmmanuel Vadot};
72