xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a779a0-falcon-cpu.dtsi (revision 9e921faa305369e5cbe4fd8f3212a1ad6aa85c79)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the Falcon CPU board
4 *
5 * Copyright (C) 2020 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/gpio/gpio.h>
9#include "r8a779a0.dtsi"
10
11/ {
12	model = "Renesas Falcon CPU board";
13	compatible = "renesas,falcon-cpu", "renesas,r8a779a0";
14
15	memory@48000000 {
16		device_type = "memory";
17		/* first 128MB is reserved for secure area. */
18		reg = <0x0 0x48000000 0x0 0x78000000>;
19	};
20
21	memory@500000000 {
22		device_type = "memory";
23		reg = <0x5 0x00000000 0x0 0x80000000>;
24	};
25
26	memory@600000000 {
27		device_type = "memory";
28		reg = <0x6 0x00000000 0x0 0x80000000>;
29	};
30
31	memory@700000000 {
32		device_type = "memory";
33		reg = <0x7 0x00000000 0x0 0x80000000>;
34	};
35};
36
37&avb0 {
38	pinctrl-0 = <&avb0_pins>;
39	pinctrl-names = "default";
40	phy-handle = <&phy0>;
41	tx-internal-delay-ps = <2000>;
42	status = "okay";
43
44	phy0: ethernet-phy@0 {
45		rxc-skew-ps = <1500>;
46		reg = <0>;
47		interrupt-parent = <&gpio4>;
48		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
49		reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
50	};
51};
52
53&extal_clk {
54	clock-frequency = <16666666>;
55};
56
57&extalr_clk {
58	clock-frequency = <32768>;
59};
60
61&i2c0 {
62	pinctrl-0 = <&i2c0_pins>;
63	pinctrl-names = "default";
64
65	status = "okay";
66	clock-frequency = <400000>;
67};
68
69&i2c1 {
70	pinctrl-0 = <&i2c1_pins>;
71	pinctrl-names = "default";
72
73	status = "okay";
74	clock-frequency = <400000>;
75};
76
77&i2c6 {
78	pinctrl-0 = <&i2c6_pins>;
79	pinctrl-names = "default";
80
81	status = "okay";
82	clock-frequency = <400000>;
83};
84
85&pfc {
86	pinctrl-0 = <&scif_clk_pins>;
87	pinctrl-names = "default";
88
89	avb0_pins: avb0 {
90		mux {
91			groups = "avb0_link", "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
92			function = "avb0";
93		};
94
95		pins_mdio {
96			groups = "avb0_mdio";
97			drive-strength = <21>;
98		};
99
100		pins_mii {
101			groups = "avb0_rgmii";
102			drive-strength = <21>;
103		};
104
105	};
106
107	i2c0_pins: i2c0 {
108		groups = "i2c0";
109		function = "i2c0";
110	};
111
112	i2c1_pins: i2c1 {
113		groups = "i2c1";
114		function = "i2c1";
115	};
116
117	i2c6_pins: i2c6 {
118		groups = "i2c6";
119		function = "i2c6";
120	};
121
122	scif0_pins: scif0 {
123		groups = "scif0_data", "scif0_ctrl";
124		function = "scif0";
125	};
126
127	scif_clk_pins: scif_clk {
128		groups = "scif_clk";
129		function = "scif_clk";
130	};
131};
132
133&scif0 {
134	pinctrl-0 = <&scif0_pins>;
135	pinctrl-names = "default";
136
137	uart-has-rtscts;
138	status = "okay";
139};
140
141&scif_clk {
142	clock-frequency = <24000000>;
143};
144