[PATCH 3/4] dt-bindings: mfd: brcm,cru: add USB 2.0 PHY
Rafał Miłecki
zajec5 at gmail.com
Mon Sep 13 01:00:23 PDT 2021
From: Rafał Miłecki <rafal at milecki.pl>
Northstar's USB 2.0 PHY is part of the CRU MFD.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
.../devicetree/bindings/mfd/brcm,cru.yaml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
index bf4e585d3c18..262284ae80f1 100644
--- a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
+++ b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
@@ -39,6 +39,9 @@ patternProperties:
'^clock-controller@[a-f0-9]+$':
$ref: ../clock/brcm,iproc-clocks.yaml
+ '^phy@[a-f0-9]+$':
+ $ref: ../phy/bcm-ns-usb2-phy.yaml
+
'^syscon@[a-f0-9]+$':
$ref: syscon.yaml
@@ -52,6 +55,7 @@ required:
examples:
- |
+ #include <dt-bindings/clock/bcm-nsp.h>
cru-bus at 1800c100 {
compatible = "brcm,ns-cru", "simple-mfd";
reg = <0x1800c100 0x1d0>;
@@ -76,7 +80,16 @@ examples:
"iprocfast", "sata1", "sata2";
};
- syscon at 180 {
+ phy at 164 {
+ compatible = "brcm,ns-usb2-phy";
+ reg = <0x164 0x4>;
+ brcm,syscon-clkset = <&clkset>;
+ clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
+ clock-names = "phy-ref-clk";
+ #phy-cells = <0>;
+ };
+
+ clkset: syscon at 180 {
compatible = "brcm,cru-clkset", "syscon";
reg = <0x180 0x4>;
};
--
2.26.2
More information about the linux-phy
mailing list