xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r8a779g0-white-hawk.dts (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot/*
3d5b0e70fSEmmanuel Vadot * Device Tree Source for the White Hawk CPU and BreakOut boards
4d5b0e70fSEmmanuel Vadot *
5d5b0e70fSEmmanuel Vadot * Copyright (C) 2022 Renesas Electronics Corp.
6d5b0e70fSEmmanuel Vadot */
7d5b0e70fSEmmanuel Vadot
8d5b0e70fSEmmanuel Vadot/dts-v1/;
9d5b0e70fSEmmanuel Vadot#include "r8a779g0-white-hawk-cpu.dtsi"
107ef62cebSEmmanuel Vadot#include "r8a779g0-white-hawk-csi-dsi.dtsi"
117ef62cebSEmmanuel Vadot#include "r8a779g0-white-hawk-ethernet.dtsi"
12d5b0e70fSEmmanuel Vadot
13d5b0e70fSEmmanuel Vadot/ {
14d5b0e70fSEmmanuel Vadot	model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0";
15d5b0e70fSEmmanuel Vadot	compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0";
16*fac71e4eSEmmanuel Vadot
17*fac71e4eSEmmanuel Vadot	can_transceiver0: can-phy0 {
18*fac71e4eSEmmanuel Vadot		compatible = "nxp,tjr1443";
19*fac71e4eSEmmanuel Vadot		#phy-cells = <0>;
20*fac71e4eSEmmanuel Vadot		enable-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
21*fac71e4eSEmmanuel Vadot		max-bitrate = <5000000>;
22*fac71e4eSEmmanuel Vadot	};
23*fac71e4eSEmmanuel Vadot};
24*fac71e4eSEmmanuel Vadot
25*fac71e4eSEmmanuel Vadot&can_clk {
26*fac71e4eSEmmanuel Vadot	clock-frequency = <40000000>;
27*fac71e4eSEmmanuel Vadot};
28*fac71e4eSEmmanuel Vadot
29*fac71e4eSEmmanuel Vadot&canfd {
30*fac71e4eSEmmanuel Vadot	pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>;
31*fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
32*fac71e4eSEmmanuel Vadot
33*fac71e4eSEmmanuel Vadot	status = "okay";
34*fac71e4eSEmmanuel Vadot
35*fac71e4eSEmmanuel Vadot	channel0 {
36*fac71e4eSEmmanuel Vadot		status = "okay";
37*fac71e4eSEmmanuel Vadot		phys = <&can_transceiver0>;
38*fac71e4eSEmmanuel Vadot	};
39*fac71e4eSEmmanuel Vadot
40*fac71e4eSEmmanuel Vadot	channel1 {
41*fac71e4eSEmmanuel Vadot		status = "okay";
42*fac71e4eSEmmanuel Vadot	};
43d5b0e70fSEmmanuel Vadot};
44d5b0e70fSEmmanuel Vadot
457ef62cebSEmmanuel Vadot&i2c0 {
467ef62cebSEmmanuel Vadot	eeprom@51 {
477ef62cebSEmmanuel Vadot		compatible = "rohm,br24g01", "atmel,24c01";
487ef62cebSEmmanuel Vadot		label = "breakout-board";
497ef62cebSEmmanuel Vadot		reg = <0x51>;
507ef62cebSEmmanuel Vadot		pagesize = <8>;
51d5b0e70fSEmmanuel Vadot	};
52d5b0e70fSEmmanuel Vadot};
53*fac71e4eSEmmanuel Vadot
54*fac71e4eSEmmanuel Vadot&pfc {
55*fac71e4eSEmmanuel Vadot	can_clk_pins: can-clk {
56*fac71e4eSEmmanuel Vadot		groups = "can_clk";
57*fac71e4eSEmmanuel Vadot		function = "can_clk";
58*fac71e4eSEmmanuel Vadot	};
59*fac71e4eSEmmanuel Vadot
60*fac71e4eSEmmanuel Vadot	canfd0_pins: canfd0 {
61*fac71e4eSEmmanuel Vadot		groups = "canfd0_data";
62*fac71e4eSEmmanuel Vadot		function = "canfd0";
63*fac71e4eSEmmanuel Vadot	};
64*fac71e4eSEmmanuel Vadot
65*fac71e4eSEmmanuel Vadot	canfd1_pins: canfd1 {
66*fac71e4eSEmmanuel Vadot		groups = "canfd1_data";
67*fac71e4eSEmmanuel Vadot		function = "canfd1";
68*fac71e4eSEmmanuel Vadot	};
69*fac71e4eSEmmanuel Vadot};
70