1*c66ec88fSEmmanuel VadotROCKCHIP USB2 PHY 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible: matching the soc type, one of 5*c66ec88fSEmmanuel Vadot "rockchip,rk3066a-usb-phy" 6*c66ec88fSEmmanuel Vadot "rockchip,rk3188-usb-phy" 7*c66ec88fSEmmanuel Vadot "rockchip,rk3288-usb-phy" 8*c66ec88fSEmmanuel Vadot - #address-cells: should be 1 9*c66ec88fSEmmanuel Vadot - #size-cells: should be 0 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel VadotDeprecated properties: 12*c66ec88fSEmmanuel Vadot - rockchip,grf : phandle to the syscon managing the "general 13*c66ec88fSEmmanuel Vadot register files" - phy should be a child of the GRF instead 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel VadotSub-nodes: 16*c66ec88fSEmmanuel VadotEach PHY should be represented as a sub-node. 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotSub-nodes 19*c66ec88fSEmmanuel Vadotrequired properties: 20*c66ec88fSEmmanuel Vadot- #phy-cells: should be 0 21*c66ec88fSEmmanuel Vadot- reg: PHY configure reg address offset in GRF 22*c66ec88fSEmmanuel Vadot "0x320" - for PHY attach to OTG controller 23*c66ec88fSEmmanuel Vadot "0x334" - for PHY attach to HOST0 controller 24*c66ec88fSEmmanuel Vadot "0x348" - for PHY attach to HOST1 controller 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotOptional Properties: 27*c66ec88fSEmmanuel Vadot- clocks : phandle + clock specifier for the phy clocks 28*c66ec88fSEmmanuel Vadot- clock-names: string, clock name, must be "phyclk" 29*c66ec88fSEmmanuel Vadot- #clock-cells: for users of the phy-pll, should be 0 30*c66ec88fSEmmanuel Vadot- reset-names: Only allow the following entries: 31*c66ec88fSEmmanuel Vadot - phy-reset 32*c66ec88fSEmmanuel Vadot- resets: Must contain an entry for each entry in reset-names. 33*c66ec88fSEmmanuel Vadot- vbus-supply: power-supply phandle for vbus power source 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel VadotExample: 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadotgrf: syscon@ff770000 { 38*c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot... 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadot usbphy: phy { 43*c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3288-usb-phy"; 44*c66ec88fSEmmanuel Vadot #address-cells = <1>; 45*c66ec88fSEmmanuel Vadot #size-cells = <0>; 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot usbphy0: usb-phy0 { 48*c66ec88fSEmmanuel Vadot #phy-cells = <0>; 49*c66ec88fSEmmanuel Vadot reg = <0x320>; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot }; 52*c66ec88fSEmmanuel Vadot}; 53