brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 4261015 Raw
73 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom Northstar USB 2.0 PHY8 9description: >10  To initialize USB 2.0 PHY driver needs to setup PLL correctly.11  To do this it requires passing phandle to the USB PHY reference clock.12 13maintainers:14  - Rafał Miłecki <rafal@milecki.pl>15 16properties:17  compatible:18    const: brcm,ns-usb2-phy19 20  reg:21    anyOf:22      - maxItems: 123        description: PHY control register24      - maxItems: 125        description: iomem address range of DMU (Device Management Unit)26        deprecated: true27 28  reg-names:29    items:30      - const: dmu31 32  brcm,syscon-clkset:33    description: phandle to syscon for clkset register34    $ref: /schemas/types.yaml#/definitions/phandle35 36  clocks:37    items:38      - description: USB PHY reference clock39 40  clock-names:41    items:42      - const: phy-ref-clk43 44  "#phy-cells":45    const: 046 47required:48  - compatible49  - reg50  - clocks51  - clock-names52  - "#phy-cells"53 54oneOf:55  - required:56      - brcm,syscon-clkset57  - required:58      - reg-names59 60additionalProperties: false61 62examples:63  - |64    #include <dt-bindings/clock/bcm-nsp.h>65    phy@1800c164 {66        compatible = "brcm,ns-usb2-phy";67        reg = <0x1800c164 0x4>;68        brcm,syscon-clkset = <&clkset>;69        clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;70        clock-names = "phy-ref-clk";71        #phy-cells = <0>;72    };73