xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r9a09g011-v2mevk2.dts (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot/*
3d5b0e70fSEmmanuel Vadot * Device Tree Source for the RZ/V2M (r9a09g011) Evaluation Kit Board
4d5b0e70fSEmmanuel Vadot *
5d5b0e70fSEmmanuel Vadot * Copyright (C) 2022 Renesas Electronics Corp.
6d5b0e70fSEmmanuel Vadot */
7d5b0e70fSEmmanuel Vadot
8d5b0e70fSEmmanuel Vadot/dts-v1/;
9d5b0e70fSEmmanuel Vadot#include "r9a09g011.dtsi"
107ef62cebSEmmanuel Vadot#include <dt-bindings/pinctrl/rzv2m-pinctrl.h>
11d5b0e70fSEmmanuel Vadot
12d5b0e70fSEmmanuel Vadot/ {
13d5b0e70fSEmmanuel Vadot	model = "RZ/V2M Evaluation Kit 2.0";
14d5b0e70fSEmmanuel Vadot	compatible = "renesas,rzv2mevk2", "renesas,r9a09g011";
15d5b0e70fSEmmanuel Vadot
16d5b0e70fSEmmanuel Vadot	aliases {
17d5b0e70fSEmmanuel Vadot		serial0 = &uart0;
18b97ee269SEmmanuel Vadot		ethernet0 = &avb;
19d5b0e70fSEmmanuel Vadot	};
20d5b0e70fSEmmanuel Vadot
21d5b0e70fSEmmanuel Vadot	chosen {
22d5b0e70fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
23d5b0e70fSEmmanuel Vadot	};
24d5b0e70fSEmmanuel Vadot
25d5b0e70fSEmmanuel Vadot	memory@58000000 {
26d5b0e70fSEmmanuel Vadot		device_type = "memory";
27d5b0e70fSEmmanuel Vadot		/*
28d5b0e70fSEmmanuel Vadot		 * first 1.25GiB is reserved for ISP Firmware,
29d5b0e70fSEmmanuel Vadot		 * next 128MiB is reserved for secure area.
30d5b0e70fSEmmanuel Vadot		 */
31d5b0e70fSEmmanuel Vadot		reg = <0x0 0x58000000 0x0 0x28000000>;
32d5b0e70fSEmmanuel Vadot	};
33d5b0e70fSEmmanuel Vadot
34d5b0e70fSEmmanuel Vadot	memory@180000000 {
35d5b0e70fSEmmanuel Vadot		device_type = "memory";
36d5b0e70fSEmmanuel Vadot		reg = <0x1 0x80000000 0x0 0x80000000>;
37d5b0e70fSEmmanuel Vadot	};
38d5b0e70fSEmmanuel Vadot};
39d5b0e70fSEmmanuel Vadot
40b97ee269SEmmanuel Vadot&avb {
41b97ee269SEmmanuel Vadot	renesas,no-ether-link;
42b97ee269SEmmanuel Vadot	phy-handle = <&phy0>;
43b97ee269SEmmanuel Vadot	phy-mode = "gmii";
44b97ee269SEmmanuel Vadot	status = "okay";
45b97ee269SEmmanuel Vadot
46b97ee269SEmmanuel Vadot	phy0: ethernet-phy@0 {
47b97ee269SEmmanuel Vadot		compatible = "ethernet-phy-id001c.c916",
48b97ee269SEmmanuel Vadot			     "ethernet-phy-ieee802.3-c22";
49b97ee269SEmmanuel Vadot		reg = <0>;
50b97ee269SEmmanuel Vadot	};
51b97ee269SEmmanuel Vadot};
52b97ee269SEmmanuel Vadot
53d5b0e70fSEmmanuel Vadot&extal_clk {
54d5b0e70fSEmmanuel Vadot	clock-frequency = <48000000>;
55d5b0e70fSEmmanuel Vadot};
56d5b0e70fSEmmanuel Vadot
577ef62cebSEmmanuel Vadot&i2c0 {
587ef62cebSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
597ef62cebSEmmanuel Vadot	pinctrl-names = "default";
607ef62cebSEmmanuel Vadot	clock-frequency = <400000>;
617ef62cebSEmmanuel Vadot	status = "okay";
627ef62cebSEmmanuel Vadot};
637ef62cebSEmmanuel Vadot
647ef62cebSEmmanuel Vadot&i2c2 {
657ef62cebSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
667ef62cebSEmmanuel Vadot	pinctrl-names = "default";
677ef62cebSEmmanuel Vadot	clock-frequency = <100000>;
687ef62cebSEmmanuel Vadot	status = "okay";
697ef62cebSEmmanuel Vadot};
707ef62cebSEmmanuel Vadot
717ef62cebSEmmanuel Vadot&pinctrl {
727ef62cebSEmmanuel Vadot	i2c0_pins: i2c0 {
737ef62cebSEmmanuel Vadot		pinmux = <RZV2M_PORT_PINMUX(5, 0, 2)>, /* SDA */
747ef62cebSEmmanuel Vadot			 <RZV2M_PORT_PINMUX(5, 1, 2)>; /* SCL */
757ef62cebSEmmanuel Vadot	};
767ef62cebSEmmanuel Vadot
777ef62cebSEmmanuel Vadot	i2c2_pins: i2c2 {
787ef62cebSEmmanuel Vadot		pinmux = <RZV2M_PORT_PINMUX(3, 8, 2)>, /* SDA */
797ef62cebSEmmanuel Vadot			 <RZV2M_PORT_PINMUX(3, 9, 2)>; /* SCL */
807ef62cebSEmmanuel Vadot	};
817ef62cebSEmmanuel Vadot};
827ef62cebSEmmanuel Vadot
83d5b0e70fSEmmanuel Vadot&uart0 {
84d5b0e70fSEmmanuel Vadot	status = "okay";
85d5b0e70fSEmmanuel Vadot};
86*8bab661aSEmmanuel Vadot
87*8bab661aSEmmanuel Vadot&wdt0 {
88*8bab661aSEmmanuel Vadot	status = "okay";
89*8bab661aSEmmanuel Vadot};
90