Commit 4ef718d6 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: PCI: brcm,iproc-pcie: Fix example indentation



The example's indentation is off. While fixing this, the 'bus' node
is unnecessary and can be dropped. It is also preferred to split up
unrelated examples to their own entries.

Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230926155351.31117-1-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent a47f580c
Loading
Loading
Loading
Loading
+60 −64
Original line number Diff line number Diff line
@@ -119,10 +119,7 @@ examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

   bus {
      #address-cells = <1>;
      #size-cells = <1>;
           pcie0: pcie@18012000 {
    pcie@18012000 {
        compatible = "brcm,iproc-pcie";
        reg = <0x18012000 0x1000>;

@@ -159,8 +156,8 @@ examples:
                    <GIC_SPI 99 IRQ_TYPE_NONE>;
        };
    };

           pcie1: pcie@18013000 {
  - |
    pcie@18013000 {
        compatible = "brcm,iproc-pcie";
        reg = <0x18013000 0x1000>;

@@ -181,4 +178,3 @@ examples:
        phys = <&phy 1 6>;
        phy-names = "pcie-phy";
    };
    };