File tree Expand file tree Collapse file tree 4 files changed +35
-4
lines changed
arch/arm64/boot/dts/broadcom Expand file tree Collapse file tree 4 files changed +35
-4
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ rp1_target: &pcie2 {
152
152
// This is the RP1 peripheral space
153
153
ranges = <0xc0 0x40000000
154
154
0x02000000 0x00 0x00000000
155
- 0x00 0x00400000 >;
155
+ 0x00 0x00410000 >;
156
156
157
157
dma-ranges =
158
158
// inbound RP1 1x_xxxxxxxx -> PCIe 1x_xxxxxxxx
@@ -164,7 +164,7 @@ rp1_target: &pcie2 {
164
164
// This allows the RP1 DMA controller to address RP1 hardware
165
165
<0xc0 0x40000000
166
166
0x02000000 0x0 0x00000000
167
- 0x0 0x00400000 >,
167
+ 0x0 0x00410000 >,
168
168
169
169
// inbound RP1 0x_xxxxxxxx -> PCIe 1x_xxxxxxxx
170
170
<0x00 0x00000000
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ rp1_target: &pcie2 {
133
133
// This is the RP1 peripheral space
134
134
ranges = <0xc0 0x40000000
135
135
0x02000000 0x00 0x00000000
136
- 0x00 0x00400000 >;
136
+ 0x00 0x00410000 >;
137
137
138
138
dma-ranges =
139
139
// inbound RP1 1x_xxxxxxxx -> PCIe 1x_xxxxxxxx
@@ -145,7 +145,7 @@ rp1_target: &pcie2 {
145
145
// This allows the RP1 DMA controller to address RP1 hardware
146
146
<0xc0 0x40000000
147
147
0x02000000 0x0 0x00000000
148
- 0x0 0x00400000 >,
148
+ 0x0 0x00410000 >,
149
149
150
150
// inbound RP1 0x_xxxxxxxx -> PCIe 1x_xxxxxxxx
151
151
<0x00 0x00000000
Original file line number Diff line number Diff line change @@ -294,6 +294,10 @@ pciex4: &pcie2 { };
294
294
status = "okay";
295
295
};
296
296
297
+ &rp1_mbox {
298
+ status = "okay";
299
+ };
300
+
297
301
/* Add some gpiomem nodes to make the devices accessible to userspace.
298
302
* /dev/gpiomem<n> should expose the registers for the interface with DT alias
299
303
* gpio<n>.
Original file line number Diff line number Diff line change 13
13
14
14
// ranges and dma-ranges must be provided by the includer
15
15
16
+ rp1_mbox: mailbox@8000 {
17
+ compatible = "raspberrypi,rp1-mbox";
18
+ status = "disabled";
19
+ reg = <0xc0 0x40008000 0x0 0x4000>; // SYSCFG
20
+ interrupts = <RP1_INT_SYSCFG IRQ_TYPE_LEVEL_HIGH>;
21
+ #mbox-cells = <1>;
22
+ };
23
+
16
24
rp1_clocks: clocks@18000 {
17
25
compatible = "raspberrypi,rp1-clocks";
18
26
#clock-cells = <1>;
1183
1191
assigned-clocks = <&rp1_clocks RP1_CLK_DPI>;
1184
1192
assigned-clock-parents = <&rp1_clocks RP1_PLL_VIDEO>;
1185
1193
};
1194
+
1195
+ sram: sram@400000 {
1196
+ compatible = "mmio-sram";
1197
+ reg = <0xc0 0x40400000 0x0 0x10000>;
1198
+ #address-cells = <1>;
1199
+ #size-cells = <1>;
1200
+ ranges = <0 0xc0 0x40400000 0x10000>;
1201
+
1202
+ rp1_fw_shmem: shmem@ff00 {
1203
+ compatible = "raspberrypi,rp1-shmem";
1204
+ reg = <0xff00 0x100>; // firmware mailbox buffer
1205
+ };
1206
+ };
1186
1207
};
1187
1208
};
1188
1209
1281
1302
};
1282
1303
1283
1304
/ {
1305
+ rp1_firmware: rp1_firmware {
1306
+ compatible = "raspberrypi,rp1-firmware", "simple-mfd";
1307
+ mboxes = <&rp1_mbox 0>;
1308
+ shmem = <&rp1_fw_shmem>;
1309
+ };
1310
+
1284
1311
rp1_vdd_3v3: rp1_vdd_3v3 {
1285
1312
compatible = "regulator-fixed";
1286
1313
regulator-name = "vdd-3v3";
You can’t perform that action at this time.
0 commit comments