xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/white-hawk-common.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1*874dca5dSGeert Uytterhoeven// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*874dca5dSGeert Uytterhoeven/*
3*874dca5dSGeert Uytterhoeven * Device Tree Source for the common parts shared by the White Hawk BreakOut
4*874dca5dSGeert Uytterhoeven * and White Hawk Single boards
5*874dca5dSGeert Uytterhoeven *
6*874dca5dSGeert Uytterhoeven * Copyright (C) 2022 Renesas Electronics Corp.
7*874dca5dSGeert Uytterhoeven */
8*874dca5dSGeert Uytterhoeven
9*874dca5dSGeert Uytterhoeven#include "white-hawk-csi-dsi.dtsi"
10*874dca5dSGeert Uytterhoeven#include "white-hawk-ethernet.dtsi"
11*874dca5dSGeert Uytterhoeven
12*874dca5dSGeert Uytterhoeven/ {
13*874dca5dSGeert Uytterhoeven	can_transceiver0: can-phy0 {
14*874dca5dSGeert Uytterhoeven		compatible = "nxp,tjr1443";
15*874dca5dSGeert Uytterhoeven		#phy-cells = <0>;
16*874dca5dSGeert Uytterhoeven		enable-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
17*874dca5dSGeert Uytterhoeven		max-bitrate = <5000000>;
18*874dca5dSGeert Uytterhoeven	};
19*874dca5dSGeert Uytterhoeven};
20*874dca5dSGeert Uytterhoeven
21*874dca5dSGeert Uytterhoeven&can_clk {
22*874dca5dSGeert Uytterhoeven	clock-frequency = <40000000>;
23*874dca5dSGeert Uytterhoeven};
24*874dca5dSGeert Uytterhoeven
25*874dca5dSGeert Uytterhoeven&canfd {
26*874dca5dSGeert Uytterhoeven	pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>;
27*874dca5dSGeert Uytterhoeven	pinctrl-names = "default";
28*874dca5dSGeert Uytterhoeven
29*874dca5dSGeert Uytterhoeven	status = "okay";
30*874dca5dSGeert Uytterhoeven
31*874dca5dSGeert Uytterhoeven	channel0 {
32*874dca5dSGeert Uytterhoeven		status = "okay";
33*874dca5dSGeert Uytterhoeven		phys = <&can_transceiver0>;
34*874dca5dSGeert Uytterhoeven	};
35*874dca5dSGeert Uytterhoeven
36*874dca5dSGeert Uytterhoeven	channel1 {
37*874dca5dSGeert Uytterhoeven		status = "okay";
38*874dca5dSGeert Uytterhoeven	};
39*874dca5dSGeert Uytterhoeven};
40*874dca5dSGeert Uytterhoeven
41*874dca5dSGeert Uytterhoeven&i2c0 {
42*874dca5dSGeert Uytterhoeven	eeprom@51 {
43*874dca5dSGeert Uytterhoeven		compatible = "rohm,br24g01", "atmel,24c01";
44*874dca5dSGeert Uytterhoeven		label = "breakout-board";
45*874dca5dSGeert Uytterhoeven		reg = <0x51>;
46*874dca5dSGeert Uytterhoeven		pagesize = <8>;
47*874dca5dSGeert Uytterhoeven	};
48*874dca5dSGeert Uytterhoeven};
49*874dca5dSGeert Uytterhoeven
50*874dca5dSGeert Uytterhoeven&pfc {
51*874dca5dSGeert Uytterhoeven	can_clk_pins: can-clk {
52*874dca5dSGeert Uytterhoeven		groups = "can_clk";
53*874dca5dSGeert Uytterhoeven		function = "can_clk";
54*874dca5dSGeert Uytterhoeven	};
55*874dca5dSGeert Uytterhoeven
56*874dca5dSGeert Uytterhoeven	canfd0_pins: canfd0 {
57*874dca5dSGeert Uytterhoeven		groups = "canfd0_data";
58*874dca5dSGeert Uytterhoeven		function = "canfd0";
59*874dca5dSGeert Uytterhoeven	};
60*874dca5dSGeert Uytterhoeven
61*874dca5dSGeert Uytterhoeven	canfd1_pins: canfd1 {
62*874dca5dSGeert Uytterhoeven		groups = "canfd1_data";
63*874dca5dSGeert Uytterhoeven		function = "canfd1";
64*874dca5dSGeert Uytterhoeven	};
65*874dca5dSGeert Uytterhoeven};
66