Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea372f4

Browse files
jim2101024bjorn-helgaas
authored andcommitted
dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators
Add bindings for Brcmstb EP voltage regulators. A new mechanism is to be added to the Linux PCI subsystem that will allocate and turn on/off regulators. These are standard regulators -- vpcie12v, vpcie3v3, and vpcie3v3aux -- placed in the DT in the bridge node under the host bridge device. The use of a regulator property in the PCIe EP subnode such as "vpcie12v-supply" depends on a pending pullreq to the pci-bus.yaml file at devicetree-org/dt-schema#63 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jim Quinlan <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Florian Fainelli <[email protected]>
1 parent 504253e commit ea372f4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,24 @@ examples:
159159
<0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>;
160160
brcm,enable-ssc;
161161
brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>;
162+
163+
/* PCIe bridge, Root Port */
164+
pci@0,0 {
165+
#address-cells = <3>;
166+
#size-cells = <2>;
167+
reg = <0x0 0x0 0x0 0x0 0x0>;
168+
compatible = "pciclass,0604";
169+
device_type = "pci";
170+
vpcie3v3-supply = <&vreg7>;
171+
ranges;
172+
173+
/* PCIe endpoint */
174+
pci-ep@0,0 {
175+
assigned-addresses =
176+
<0x82010000 0x0 0xf8000000 0x6 0x00000000 0x0 0x2000>;
177+
reg = <0x0 0x0 0x0 0x0 0x0>;
178+
compatible = "pci14e4,1688";
179+
};
180+
};
162181
};
163182
};

0 commit comments

Comments
 (0)