2015-01-21 10:26:00 +00:00
|
|
|
ROCKCHIP USB2 PHY
|
|
|
|
|
|
|
|
Required properties:
|
2015-11-19 21:22:25 +00:00
|
|
|
- compatible: matching the soc type, one of
|
|
|
|
"rockchip,rk3066a-usb-phy"
|
|
|
|
"rockchip,rk3188-usb-phy"
|
|
|
|
"rockchip,rk3288-usb-phy"
|
2015-01-21 10:26:00 +00:00
|
|
|
- #address-cells: should be 1
|
|
|
|
- #size-cells: should be 0
|
|
|
|
|
2016-06-28 22:12:58 +00:00
|
|
|
Deprecated properties:
|
|
|
|
- rockchip,grf : phandle to the syscon managing the "general
|
|
|
|
register files" - phy should be a child of the GRF instead
|
|
|
|
|
2015-01-21 10:26:00 +00:00
|
|
|
Sub-nodes:
|
|
|
|
Each PHY should be represented as a sub-node.
|
|
|
|
|
|
|
|
Sub-nodes
|
|
|
|
required properties:
|
|
|
|
- #phy-cells: should be 0
|
|
|
|
- reg: PHY configure reg address offset in GRF
|
|
|
|
"0x320" - for PHY attach to OTG controller
|
|
|
|
"0x334" - for PHY attach to HOST0 controller
|
|
|
|
"0x348" - for PHY attach to HOST1 controller
|
|
|
|
|
|
|
|
Optional Properties:
|
|
|
|
- clocks : phandle + clock specifier for the phy clocks
|
|
|
|
- clock-names: string, clock name, must be "phyclk"
|
2015-11-19 21:22:26 +00:00
|
|
|
- #clock-cells: for users of the phy-pll, should be 0
|
2015-01-21 10:26:00 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2016-06-28 22:12:58 +00:00
|
|
|
grf: syscon@ff770000 {
|
|
|
|
compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd";
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
usbphy: phy {
|
|
|
|
compatible = "rockchip,rk3288-usb-phy";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2015-01-21 10:26:00 +00:00
|
|
|
|
2016-06-28 22:12:58 +00:00
|
|
|
usbphy0: usb-phy0 {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
reg = <0x320>;
|
|
|
|
};
|
2015-01-21 10:26:00 +00:00
|
|
|
};
|
|
|
|
};
|