mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
d3feb40673
Northstar is a family of SoCs used in home routers. They have USB 2.0 and 3.0 controllers with PHYs that need to be properly initialized. This driver provides PHY init support in a generic way and can be bound with an EHCI controller driver. There are (just a few) registers being defined in bcma header. It's because DMU/CRU registers will be also needed in other drivers. We will need them e.g. in PCIe controller/PHY driver and at some point probably in clock driver for BCM53573 chipset. By using include/linux/bcma/ we avoid code duplication. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
22 lines
674 B
Plaintext
22 lines
674 B
Plaintext
Driver for Broadcom Northstar USB 2.0 PHY
|
|
|
|
Required properties:
|
|
- compatible: brcm,ns-usb2-phy
|
|
- reg: iomem address range of DMU (Device Management Unit)
|
|
- reg-names: "dmu", the only needed & supported reg right now
|
|
- clocks: USB PHY reference clock
|
|
- clock-names: "phy-ref-clk", the only needed & supported clock right now
|
|
|
|
To initialize USB 2.0 PHY driver needs to setup PLL correctly. To do this it
|
|
requires passing phandle to the USB PHY reference clock.
|
|
|
|
Example:
|
|
usb2-phy {
|
|
compatible = "brcm,ns-usb2-phy";
|
|
reg = <0x1800c000 0x1000>;
|
|
reg-names = "dmu";
|
|
#phy-cells = <0>;
|
|
clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
|
|
clock-names = "phy-ref-clk";
|
|
};
|