Skip to content

Commit 6e5f770

Browse files
repkLorenzo Pieralisi
authored andcommitted
dt-bindings: PCI: meson: Update PCIE bindings documentation
Now that a new PHYs has been introduced for AXG SoC family, update dt bindings documentation. Please note that this breaks backward compatibility but as not a single devicetree uses that yet that seems ok. Signed-off-by: Remi Pommarel <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent b09b48b commit 6e5f770

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,20 @@ Required properties:
1818
- reg-names: Must be
1919
- "elbi" External local bus interface registers
2020
- "cfg" Meson specific registers
21-
- "phy" Meson PCIE PHY registers for AXG SoC Family
2221
- "config" PCIe configuration space
2322
- reset-gpios: The GPIO to generate PCIe PERST# assert and deassert signal.
2423
- clocks: Must contain an entry for each entry in clock-names.
2524
- clock-names: Must include the following entries:
2625
- "pclk" PCIe GEN 100M PLL clock
2726
- "port" PCIe_x(A or B) RC clock gate
2827
- "general" PCIe Phy clock
29-
- "mipi" PCIe_x(A or B) 100M ref clock gate for AXG SoC Family
3028
- resets: phandle to the reset lines.
31-
- reset-names: must contain "phy" "port" and "apb"
32-
- "phy" Share PHY reset for AXG SoC Family
29+
- reset-names: must contain "port" and "apb"
3330
- "port" Port A or B reset
3431
- "apb" Share APB reset
35-
- phys: should contain a phandle to the shared phy for G12A SoC Family
32+
- phys: should contain a phandle to the PCIE phy
33+
- phy-names: must contain "pcie"
34+
3635
- device_type:
3736
should be "pci". As specified in designware-pcie.txt
3837

@@ -43,9 +42,8 @@ Example configuration:
4342
compatible = "amlogic,axg-pcie", "snps,dw-pcie";
4443
reg = <0x0 0xf9800000 0x0 0x400000
4544
0x0 0xff646000 0x0 0x2000
46-
0x0 0xff644000 0x0 0x2000
4745
0x0 0xf9f00000 0x0 0x100000>;
48-
reg-names = "elbi", "cfg", "phy", "config";
46+
reg-names = "elbi", "cfg", "config";
4947
reset-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>;
5048
interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>;
5149
#interrupt-cells = <1>;
@@ -58,17 +56,15 @@ Example configuration:
5856
ranges = <0x82000000 0 0 0x0 0xf9c00000 0 0x00300000>;
5957

6058
clocks = <&clkc CLKID_USB
61-
&clkc CLKID_MIPI_ENABLE
6259
&clkc CLKID_PCIE_A
6360
&clkc CLKID_PCIE_CML_EN0>;
6461
clock-names = "general",
65-
"mipi",
6662
"pclk",
6763
"port";
68-
resets = <&reset RESET_PCIE_PHY>,
69-
<&reset RESET_PCIE_A>,
64+
resets = <&reset RESET_PCIE_A>,
7065
<&reset RESET_PCIE_APB>;
71-
reset-names = "phy",
72-
"port",
66+
reset-names = "port",
7367
"apb";
68+
phys = <&pcie_phy>;
69+
phy-names = "pcie";
7470
};

0 commit comments

Comments
 (0)