1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Device Tree Source for the White Hawk CPU board
4 *
5 * Copyright (C) 2022 Renesas Electronics Corp.
6 */
7
8#include "r8a779g0.dtsi"
9
10/ {
11	model = "Renesas White Hawk CPU board";
12	compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0";
13
14	memory@48000000 {
15		device_type = "memory";
16		/* first 128MB is reserved for secure area. */
17		reg = <0x0 0x48000000 0x0 0x78000000>;
18	};
19
20	memory@480000000 {
21		device_type = "memory";
22		reg = <0x4 0x80000000 0x0 0x80000000>;
23	};
24
25	memory@600000000 {
26		device_type = "memory";
27		reg = <0x6 0x00000000 0x1 0x00000000>;
28	};
29};
30
31&extal_clk {
32	clock-frequency = <16666666>;
33};
34
35&extalr_clk {
36	clock-frequency = <32768>;
37};
38
39&hscif0 {
40	status = "okay";
41};
42
43&i2c0 {
44	pinctrl-0 = <&i2c0_pins>;
45	pinctrl-names = "default";
46
47	status = "okay";
48	clock-frequency = <400000>;
49
50	eeprom@50 {
51		compatible = "rohm,br24g01", "atmel,24c01";
52		label = "cpu-board";
53		reg = <0x50>;
54		pagesize = <8>;
55	};
56};
57
58&pfc {
59	pinctrl-0 = <&scif_clk_pins>;
60	pinctrl-names = "default";
61
62	hscif0_pins: hscif0 {
63		groups = "hscif0_data";
64		function = "hscif0";
65	};
66
67	i2c0_pins: i2c0 {
68		groups = "i2c0";
69		function = "i2c0";
70	};
71
72	scif_clk_pins: scif_clk {
73		groups = "scif_clk";
74		function = "scif_clk";
75	};
76};
77
78&scif_clk {
79	clock-frequency = <24000000>;
80};
81
82&rwdt {
83	timeout-sec = <60>;
84	status = "okay";
85};
86