~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/brcm,cru.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/mfd/brcm,cru.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Broadcom CRU
  8 
  9 maintainers:
 10   - Rafał Miłecki <rafal@milecki.pl>
 11 
 12 description: |
 13   Broadcom CRU ("Clock and Reset Unit" or "Central Resource Unit") is a hardware
 14   block grouping smaller blocks. On Broadcom Northstar platform it contains e.g.
 15   clocks, pinctrl, USB PHY and thermal.
 16 
 17 properties:
 18   compatible:
 19     items:
 20       - enum:
 21           - brcm,ns-cru
 22       - const: simple-mfd
 23 
 24   reg:
 25     description: CRU registers
 26 
 27   ranges: true
 28 
 29   "#address-cells":
 30     const: 1
 31 
 32   "#size-cells":
 33     const: 1
 34 
 35 patternProperties:
 36   '^clock-controller@[a-f0-9]+$':
 37     $ref: /schemas/clock/brcm,iproc-clocks.yaml
 38 
 39   '^phy@[a-f0-9]+$':
 40     $ref: /schemas/phy/bcm-ns-usb2-phy.yaml
 41 
 42   '^pinctrl@[a-f0-9]+$':
 43     $ref: /schemas/pinctrl/brcm,ns-pinmux.yaml
 44 
 45   '^syscon@[a-f0-9]+$':
 46     $ref: syscon.yaml
 47 
 48   '^thermal@[a-f0-9]+$':
 49     $ref: /schemas/thermal/brcm,ns-thermal.yaml
 50 
 51 additionalProperties: false
 52 
 53 required:
 54   - reg
 55 
 56 examples:
 57   - |
 58     #include <dt-bindings/clock/bcm-nsp.h>
 59     cru-bus@1800c100 {
 60         compatible = "brcm,ns-cru", "simple-mfd";
 61         reg = <0x1800c100 0x1d0>;
 62         ranges;
 63         #address-cells = <1>;
 64         #size-cells = <1>;
 65 
 66         clock-controller@100 {
 67             #clock-cells = <1>;
 68             compatible = "brcm,nsp-lcpll0";
 69             reg = <0x100 0x14>;
 70             clocks = <&osc>;
 71             clock-output-names = "lcpll0", "pcie_phy", "sdio", "ddr_phy";
 72         };
 73 
 74         clock-controller@140 {
 75             #clock-cells = <1>;
 76             compatible = "brcm,nsp-genpll";
 77             reg = <0x140 0x24>;
 78             clocks = <&osc>;
 79             clock-output-names = "genpll", "phy", "ethernetclk", "usbclk",
 80                                  "iprocfast", "sata1", "sata2";
 81         };
 82 
 83         phy@164 {
 84             compatible = "brcm,ns-usb2-phy";
 85             reg = <0x164 0x4>;
 86             brcm,syscon-clkset = <&clkset>;
 87             clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
 88             clock-names = "phy-ref-clk";
 89             #phy-cells = <0>;
 90         };
 91 
 92         clkset: syscon@180 {
 93             compatible = "brcm,cru-clkset", "syscon";
 94             reg = <0x180 0x4>;
 95         };
 96 
 97         pinctrl@1c0 {
 98             compatible = "brcm,bcm4708-pinmux";
 99             reg = <0x1c0 0x24>;
100             reg-names = "cru_gpio_control";
101         };
102 
103         thermal@2c0 {
104             compatible = "brcm,ns-thermal";
105             reg = <0x2c0 0x10>;
106             #thermal-sensor-cells = <0>;
107         };
108     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php