Skip to content

Commit f87b838

Browse files
kishonLorenzo Pieralisi
authored andcommitted
dt-bindings: PCI: cadence: Remove "mem" from reg binding
"mem" is not a memory resource and it overlaps with PCIe config space and memory region. Remove "mem" from reg binding. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent c4c10c0 commit f87b838

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ properties:
1818
const: cdns,cdns-pcie-host
1919

2020
reg:
21-
maxItems: 3
21+
maxItems: 2
2222

2323
reg-names:
2424
items:
2525
- const: reg
2626
- const: cfg
27-
- const: mem
2827

2928
msi-parent: true
3029

@@ -49,9 +48,8 @@ examples:
4948
device-id = <0x0200>;
5049
5150
reg = <0x0 0xfb000000 0x0 0x01000000>,
52-
<0x0 0x41000000 0x0 0x00001000>,
53-
<0x0 0x40000000 0x0 0x04000000>;
54-
reg-names = "reg", "cfg", "mem";
51+
<0x0 0x41000000 0x0 0x00001000>;
52+
reg-names = "reg", "cfg";
5553
5654
ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>,
5755
<0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>;

0 commit comments

Comments
 (0)