summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a779g0-u-boot.dtsi
blob: bd6a3d0713f32b46699a07d95a94b3828f02dac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source extras for U-Boot on R-Car R8A779G0 SoC
 *
 * Copyright (C) 2021 Renesas Electronics Corp.
 */

/ {
	binman: binman {
		section {
			filename = "flash.bin";
			pad-byte = <0xff>;

			renesas-rcar4-sa0 {
				filename = "sa0.bin";
				pad-byte = <0xff>;
				renesas,loader-address = <CONFIG_SPL_TEXT_BASE>;

				/*
				 * This section starts after 0x40000 Bytes long
				 * header added by the renesas-rcar4-sa0 binman
				 * etype. That means u-boot-spl {} below starts
				 * at offset 0x40000 in flash.bin .
				 */
				u-boot-spl {
					offset = <0x40000>;
					align-end = <4>;
				};
			};

			u-boot {
				offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
				filename = "u-boot.itb";

				fit {
					description = "U-Boot mainline";
					fit,fdt-list = "of-list";
					#address-cells = <1>;

					images {
						uboot {
							arch = "arm64";
							compression = "none";
							description = "U-Boot (64-bit)";
							type = "standalone";
							/*
							 * This is in DRAM. We cannot
							 * use TEXT_BASE here because
							 * this system uses PIE build
							 * and TEXT_BASE=0x0 .
							 */
							entry = <0x44100000>;
							load = <0x44100000>;

							uboot-blob {
								filename = "u-boot-nodtb.bin";
								type = "blob-ext";
							};
						};

						@fdt-SEQ {
							compression = "none";
							description = "NAME";
							type = "flat_dt";

							uboot-fdt-blob {
								filename = "u-boot.dtb";
								type = "blob-ext";
							};
						};
					};

					configurations {
						default = "@config-DEFAULT-SEQ";

						@config-SEQ {
							description = "NAME";
							fdt = "fdt-SEQ";
							firmware = "uboot";
						};
					};
				};
			};
		};
	};
};

&hscif0_pins {
	bootph-all;
};

&otp {
	bootph-all;
};

&rpc {
	bank-width = <2>;
	num-cs = <1>;
};

&soc {
	apmu@e6170000 {	/* Remoteproc */
		compatible = "renesas,r8a779g0-cr52";
		reg = <0 0xe6170000 0 0x80000>;
		power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
		status = "okay";
	};

	ram@e6780000 {	/* DBSC5 */
		compatible = "renesas,r8a779g0-dbsc";
		reg = <0 0xe6780000 0 0x80000>;
		power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
		status = "okay";
		bootph-all;
	};

	ram@ffec0000 {	/* RT-VRAM */
		compatible = "renesas,r8a779g0-rtvram";
		reg = <0 0xffec0000 0 0xf000>;
		power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
		status = "okay";
		bootph-all;
	};
};