File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
drivers/pci/controller/cadence Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,20 @@ static const struct j721e_pcie_data am64_pcie_ep_data = {
330
330
.max_lanes = 1 ,
331
331
};
332
332
333
+ static const struct j721e_pcie_data j784s4_pcie_rc_data = {
334
+ .mode = PCI_MODE_RC ,
335
+ .quirk_retrain_flag = true,
336
+ .byte_access_allowed = false,
337
+ .linkdown_irq_regfield = LINK_DOWN ,
338
+ .max_lanes = 4 ,
339
+ };
340
+
341
+ static const struct j721e_pcie_data j784s4_pcie_ep_data = {
342
+ .mode = PCI_MODE_EP ,
343
+ .linkdown_irq_regfield = LINK_DOWN ,
344
+ .max_lanes = 4 ,
345
+ };
346
+
333
347
static const struct of_device_id of_j721e_pcie_match [] = {
334
348
{
335
349
.compatible = "ti,j721e-pcie-host" ,
@@ -355,6 +369,14 @@ static const struct of_device_id of_j721e_pcie_match[] = {
355
369
.compatible = "ti,am64-pcie-ep" ,
356
370
.data = & am64_pcie_ep_data ,
357
371
},
372
+ {
373
+ .compatible = "ti,j784s4-pcie-host" ,
374
+ .data = & j784s4_pcie_rc_data ,
375
+ },
376
+ {
377
+ .compatible = "ti,j784s4-pcie-ep" ,
378
+ .data = & j784s4_pcie_ep_data ,
379
+ },
358
380
{},
359
381
};
360
382
You can’t perform that action at this time.
0 commit comments