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

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.ruSigned-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
...@@ -46,14 +46,10 @@ additionalProperties: true ...@@ -46,14 +46,10 @@ additionalProperties: true
examples: examples:
- | - |
bus { pcie-ep@dfd00000 {
#address-cells = <1>; compatible = "snps,dw-pcie-ep";
#size-cells = <1>; reg = <0xdfc00000 0x0001000>, /* IP registers 1 */
pcie-ep@dfd00000 { <0xdfc01000 0x0001000>, /* IP registers 2 */
compatible = "snps,dw-pcie-ep"; <0xd0000000 0x2000000>; /* Configuration space */
reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ reg-names = "dbi", "dbi2", "addr_space";
<0xdfc01000 0x0001000>, /* IP registers 2 */
<0xd0000000 0x2000000>; /* Configuration space */
reg-names = "dbi", "dbi2", "addr_space";
};
}; };
...@@ -53,21 +53,22 @@ required: ...@@ -53,21 +53,22 @@ required:
examples: examples:
- | - |
bus { pcie@dfc00000 {
#address-cells = <1>; compatible = "snps,dw-pcie";
#size-cells = <1>; device_type = "pci";
pcie@dfc00000 { reg = <0xdfc00000 0x0001000>, /* IP registers */
device_type = "pci"; <0xd0000000 0x0002000>; /* Configuration space */
compatible = "snps,dw-pcie"; reg-names = "dbi", "config";
reg = <0xdfc00000 0x0001000>, /* IP registers */ #address-cells = <3>;
<0xd0000000 0x0002000>; /* Configuration space */ #size-cells = <2>;
reg-names = "dbi", "config"; ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
#address-cells = <3>; <0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
#size-cells = <2>; bus-range = <0x0 0xff>;
ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
<0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>; interrupts = <25>, <24>;
interrupts = <25>, <24>; #interrupt-cells = <1>;
#interrupt-cells = <1>;
num-lanes = <1>; reset-gpios = <&port0 0 1>;
};
num-lanes = <1>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment