Commit b9fe9985 authored by Serge Semin's avatar Serge Semin Committed by Lorenzo Pieralisi
Browse files

dt-bindings: PCI: dwc: Remove bus node from the examples

It's absolutely redundant seeing by default each node is embedded into its
own example-X node with address and size cells set to 1.

Link: https://lore.kernel.org/r/20221113191301.5526-5-Sergey.Semin@baikalelectronics.ru


Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent 057646a5
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -46,9 +46,6 @@ additionalProperties: true

examples:
  - |
    bus {
      #address-cells = <1>;
      #size-cells = <1>;
    pcie-ep@dfd00000 {
      compatible = "snps,dw-pcie-ep";
      reg = <0xdfc00000 0x0001000>, /* IP registers 1 */
@@ -56,4 +53,3 @@ examples:
            <0xd0000000 0x2000000>; /* Configuration space */
      reg-names = "dbi", "dbi2", "addr_space";
    };
    };
+18 −17
Original line number Diff line number Diff line
@@ -53,12 +53,9 @@ required:

examples:
  - |
    bus {
      #address-cells = <1>;
      #size-cells = <1>;
    pcie@dfc00000 {
        device_type = "pci";
      compatible = "snps,dw-pcie";
      device_type = "pci";
      reg = <0xdfc00000 0x0001000>, /* IP registers */
            <0xd0000000 0x0002000>; /* Configuration space */
      reg-names = "dbi", "config";
@@ -66,8 +63,12 @@ examples:
      #size-cells = <2>;
      ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
               <0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
      bus-range = <0x0 0xff>;

      interrupts = <25>, <24>;
      #interrupt-cells = <1>;

      reset-gpios = <&port0 0 1>;

      num-lanes = <1>;
    };
    };