12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Broadcom Northstar USB 2.0 PHY 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotdescription: > 102eb4d8dcSEmmanuel Vadot To initialize USB 2.0 PHY driver needs to setup PLL correctly. 112eb4d8dcSEmmanuel Vadot To do this it requires passing phandle to the USB PHY reference clock. 122eb4d8dcSEmmanuel Vadot 132eb4d8dcSEmmanuel Vadotmaintainers: 142eb4d8dcSEmmanuel Vadot - Rafał Miłecki <rafal@milecki.pl> 152eb4d8dcSEmmanuel Vadot 162eb4d8dcSEmmanuel Vadotproperties: 172eb4d8dcSEmmanuel Vadot compatible: 182eb4d8dcSEmmanuel Vadot const: brcm,ns-usb2-phy 192eb4d8dcSEmmanuel Vadot 202eb4d8dcSEmmanuel Vadot reg: 21*8cc087a1SEmmanuel Vadot anyOf: 22*8cc087a1SEmmanuel Vadot - maxItems: 1 23*8cc087a1SEmmanuel Vadot description: PHY control register 24*8cc087a1SEmmanuel Vadot - maxItems: 1 25*8cc087a1SEmmanuel Vadot description: iomem address range of DMU (Device Management Unit) 26*8cc087a1SEmmanuel Vadot deprecated: true 272eb4d8dcSEmmanuel Vadot 282eb4d8dcSEmmanuel Vadot reg-names: 292eb4d8dcSEmmanuel Vadot items: 302eb4d8dcSEmmanuel Vadot - const: dmu 312eb4d8dcSEmmanuel Vadot 32*8cc087a1SEmmanuel Vadot brcm,syscon-clkset: 33*8cc087a1SEmmanuel Vadot description: phandle to syscon for clkset register 34*8cc087a1SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 35*8cc087a1SEmmanuel Vadot 362eb4d8dcSEmmanuel Vadot clocks: 372eb4d8dcSEmmanuel Vadot items: 382eb4d8dcSEmmanuel Vadot - description: USB PHY reference clock 392eb4d8dcSEmmanuel Vadot 402eb4d8dcSEmmanuel Vadot clock-names: 412eb4d8dcSEmmanuel Vadot items: 422eb4d8dcSEmmanuel Vadot - const: phy-ref-clk 432eb4d8dcSEmmanuel Vadot 442eb4d8dcSEmmanuel Vadot "#phy-cells": 452eb4d8dcSEmmanuel Vadot const: 0 462eb4d8dcSEmmanuel Vadot 472eb4d8dcSEmmanuel Vadotrequired: 482eb4d8dcSEmmanuel Vadot - compatible 492eb4d8dcSEmmanuel Vadot - reg 502eb4d8dcSEmmanuel Vadot - clocks 512eb4d8dcSEmmanuel Vadot - clock-names 522eb4d8dcSEmmanuel Vadot - "#phy-cells" 532eb4d8dcSEmmanuel Vadot 54*8cc087a1SEmmanuel VadotoneOf: 55*8cc087a1SEmmanuel Vadot - required: 56*8cc087a1SEmmanuel Vadot - brcm,syscon-clkset 57*8cc087a1SEmmanuel Vadot - required: 58*8cc087a1SEmmanuel Vadot - reg-names 59*8cc087a1SEmmanuel Vadot 602eb4d8dcSEmmanuel VadotadditionalProperties: false 612eb4d8dcSEmmanuel Vadot 622eb4d8dcSEmmanuel Vadotexamples: 632eb4d8dcSEmmanuel Vadot - | 642eb4d8dcSEmmanuel Vadot #include <dt-bindings/clock/bcm-nsp.h> 65*8cc087a1SEmmanuel Vadot phy@1800c164 { 662eb4d8dcSEmmanuel Vadot compatible = "brcm,ns-usb2-phy"; 67*8cc087a1SEmmanuel Vadot reg = <0x1800c164 0x4>; 68*8cc087a1SEmmanuel Vadot brcm,syscon-clkset = <&clkset>; 692eb4d8dcSEmmanuel Vadot clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; 702eb4d8dcSEmmanuel Vadot clock-names = "phy-ref-clk"; 712eb4d8dcSEmmanuel Vadot #phy-cells = <0>; 722eb4d8dcSEmmanuel Vadot }; 73