18c2ecf20Sopenharmony_ciROCKCHIP USB2 PHY
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci - compatible: matching the soc type, one of
58c2ecf20Sopenharmony_ci     "rockchip,rk3066a-usb-phy"
68c2ecf20Sopenharmony_ci     "rockchip,rk3188-usb-phy"
78c2ecf20Sopenharmony_ci     "rockchip,rk3288-usb-phy"
88c2ecf20Sopenharmony_ci - #address-cells: should be 1
98c2ecf20Sopenharmony_ci - #size-cells: should be 0
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciDeprecated properties:
128c2ecf20Sopenharmony_ci - rockchip,grf : phandle to the syscon managing the "general
138c2ecf20Sopenharmony_ci   register files" - phy should be a child of the GRF instead
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciSub-nodes:
168c2ecf20Sopenharmony_ciEach PHY should be represented as a sub-node.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciSub-nodes
198c2ecf20Sopenharmony_cirequired properties:
208c2ecf20Sopenharmony_ci- #phy-cells: should be 0
218c2ecf20Sopenharmony_ci- reg: PHY configure reg address offset in GRF
228c2ecf20Sopenharmony_ci		"0x320" - for PHY attach to OTG controller
238c2ecf20Sopenharmony_ci		"0x334" - for PHY attach to HOST0 controller
248c2ecf20Sopenharmony_ci		"0x348" - for PHY attach to HOST1 controller
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciOptional Properties:
278c2ecf20Sopenharmony_ci- clocks : phandle + clock specifier for the phy clocks
288c2ecf20Sopenharmony_ci- clock-names: string, clock name, must be "phyclk"
298c2ecf20Sopenharmony_ci- #clock-cells: for users of the phy-pll, should be 0
308c2ecf20Sopenharmony_ci- reset-names: Only allow the following entries:
318c2ecf20Sopenharmony_ci - phy-reset
328c2ecf20Sopenharmony_ci- resets: Must contain an entry for each entry in reset-names.
338c2ecf20Sopenharmony_ci- vbus-supply: power-supply phandle for vbus power source
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciExample:
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_cigrf: syscon@ff770000 {
388c2ecf20Sopenharmony_ci	compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd";
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci...
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	usbphy: phy {
438c2ecf20Sopenharmony_ci		compatible = "rockchip,rk3288-usb-phy";
448c2ecf20Sopenharmony_ci		#address-cells = <1>;
458c2ecf20Sopenharmony_ci		#size-cells = <0>;
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		usbphy0: usb-phy0 {
488c2ecf20Sopenharmony_ci			#phy-cells = <0>;
498c2ecf20Sopenharmony_ci			reg = <0x320>;
508c2ecf20Sopenharmony_ci		};
518c2ecf20Sopenharmony_ci	};
528c2ecf20Sopenharmony_ci};
53