xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r9a09g011-v2mevk2.dts (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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"
10*7ef62cebSEmmanuel 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
57*7ef62cebSEmmanuel Vadot&i2c0 {
58*7ef62cebSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
59*7ef62cebSEmmanuel Vadot	pinctrl-names = "default";
60*7ef62cebSEmmanuel Vadot	clock-frequency = <400000>;
61*7ef62cebSEmmanuel Vadot	status = "okay";
62*7ef62cebSEmmanuel Vadot};
63*7ef62cebSEmmanuel Vadot
64*7ef62cebSEmmanuel Vadot&i2c2 {
65*7ef62cebSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
66*7ef62cebSEmmanuel Vadot	pinctrl-names = "default";
67*7ef62cebSEmmanuel Vadot	clock-frequency = <100000>;
68*7ef62cebSEmmanuel Vadot	status = "okay";
69*7ef62cebSEmmanuel Vadot};
70*7ef62cebSEmmanuel Vadot
71*7ef62cebSEmmanuel Vadot&pinctrl {
72*7ef62cebSEmmanuel Vadot	i2c0_pins: i2c0 {
73*7ef62cebSEmmanuel Vadot		pinmux = <RZV2M_PORT_PINMUX(5, 0, 2)>, /* SDA */
74*7ef62cebSEmmanuel Vadot			 <RZV2M_PORT_PINMUX(5, 1, 2)>; /* SCL */
75*7ef62cebSEmmanuel Vadot	};
76*7ef62cebSEmmanuel Vadot
77*7ef62cebSEmmanuel Vadot	i2c2_pins: i2c2 {
78*7ef62cebSEmmanuel Vadot		pinmux = <RZV2M_PORT_PINMUX(3, 8, 2)>, /* SDA */
79*7ef62cebSEmmanuel Vadot			 <RZV2M_PORT_PINMUX(3, 9, 2)>; /* SCL */
80*7ef62cebSEmmanuel Vadot	};
81*7ef62cebSEmmanuel Vadot};
82*7ef62cebSEmmanuel Vadot
83d5b0e70fSEmmanuel Vadot&uart0 {
84d5b0e70fSEmmanuel Vadot	status = "okay";
85d5b0e70fSEmmanuel Vadot};
86