1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 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 PHY 8 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-phy 19 20 reg: 21 maxItems: 1 22 description: PHY control register 23 24 brcm,syscon-clkset: 25 description: phandle to syscon for clkset register 26 $ref: /schemas/types.yaml#/definitions/phandle 27 28 clocks: 29 items: 30 - description: USB PHY reference clock 31 32 clock-names: 33 items: 34 - const: phy-ref-clk 35 36 "#phy-cells": 37 const: 0 38 39required: 40 - compatible 41 - reg 42 - clocks 43 - clock-names 44 - "#phy-cells" 45 - brcm,syscon-clkset 46 47additionalProperties: false 48 49examples: 50 - | 51 #include <dt-bindings/clock/bcm-nsp.h> 52 phy@1800c164 { 53 compatible = "brcm,ns-usb2-phy"; 54 reg = <0x1800c164 0x4>; 55 brcm,syscon-clkset = <&clkset>; 56 clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; 57 clock-names = "phy-ref-clk"; 58 #phy-cells = <0>; 59 }; 60