1*4882a593SmuzhiyunTI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunOMAP CONTROL PHY 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunRequired properties: 6*4882a593Smuzhiyun - compatible: Should be one of 7*4882a593Smuzhiyun "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4. 8*4882a593Smuzhiyun "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register 9*4882a593Smuzhiyun e.g. USB2_PHY on OMAP5. 10*4882a593Smuzhiyun "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control 11*4882a593Smuzhiyun e.g. USB3 PHY and SATA PHY on OMAP5. 12*4882a593Smuzhiyun "ti,control-phy-pcie" - for pcie to support external clock for pcie and to 13*4882a593Smuzhiyun set PCS delay value. 14*4882a593Smuzhiyun e.g. PCIE PHY in DRA7x 15*4882a593Smuzhiyun "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on 16*4882a593Smuzhiyun DRA7 platform. 17*4882a593Smuzhiyun "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on 18*4882a593Smuzhiyun AM437 platform. 19*4882a593Smuzhiyun - reg : register ranges as listed in the reg-names property 20*4882a593Smuzhiyun - reg-names: "otghs_control" for control-phy-otghs 21*4882a593Smuzhiyun "power", "pcie_pcs" and "control_sma" for control-phy-pcie 22*4882a593Smuzhiyun "power" for all other types 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunomap_control_usb: omap-control-usb@4a002300 { 25*4882a593Smuzhiyun compatible = "ti,control-phy-otghs"; 26*4882a593Smuzhiyun reg = <0x4a00233c 0x4>; 27*4882a593Smuzhiyun reg-names = "otghs_control"; 28*4882a593Smuzhiyun}; 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunTI PIPE3 PHY 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunRequired properties: 33*4882a593Smuzhiyun - compatible: Should be "ti,phy-usb3", "ti,phy-pipe3-sata" or 34*4882a593Smuzhiyun "ti,phy-pipe3-pcie. "ti,omap-usb3" is deprecated. 35*4882a593Smuzhiyun - reg : Address and length of the register set for the device. 36*4882a593Smuzhiyun - reg-names: The names of the register addresses corresponding to the registers 37*4882a593Smuzhiyun filled in "reg". 38*4882a593Smuzhiyun - #phy-cells: determine the number of cells that should be given in the 39*4882a593Smuzhiyun phandle while referencing this phy. 40*4882a593Smuzhiyun - clocks: a list of phandles and clock-specifier pairs, one for each entry in 41*4882a593Smuzhiyun clock-names. 42*4882a593Smuzhiyun - clock-names: should include: 43*4882a593Smuzhiyun * "wkupclk" - wakeup clock. 44*4882a593Smuzhiyun * "sysclk" - system clock. 45*4882a593Smuzhiyun * "refclk" - reference clock. 46*4882a593Smuzhiyun * "dpll_ref" - external dpll ref clk 47*4882a593Smuzhiyun * "dpll_ref_m2" - external dpll ref clk 48*4882a593Smuzhiyun * "phy-div" - divider for apll 49*4882a593Smuzhiyun * "div-clk" - apll clock 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunOptional properties: 52*4882a593Smuzhiyun - id: If there are multiple instance of the same type, in order to 53*4882a593Smuzhiyun differentiate between each instance "id" can be used (e.g., multi-lane PCIe 54*4882a593Smuzhiyun PHY). If "id" is not provided, it is set to default value of '1'. 55*4882a593Smuzhiyun - syscon-pllreset: Handle to system control region that contains the 56*4882a593Smuzhiyun CTRL_CORE_SMA_SW_0 register and register offset to the CTRL_CORE_SMA_SW_0 57*4882a593Smuzhiyun register that contains the SATA_PLL_SOFT_RESET bit. Only valid for sata_phy. 58*4882a593Smuzhiyun - syscon-pcs : phandle/offset pair. Phandle to the system control module and the 59*4882a593Smuzhiyun register offset to write the PCS delay value. 60*4882a593Smuzhiyun 61*4882a593SmuzhiyunDeprecated properties: 62*4882a593Smuzhiyun - ctrl-module : phandle of the control module used by PHY driver to power on 63*4882a593Smuzhiyun the PHY. 64*4882a593Smuzhiyun 65*4882a593SmuzhiyunRecommended properies: 66*4882a593Smuzhiyun - syscon-phy-power : phandle/offset pair. Phandle to the system control 67*4882a593Smuzhiyun module and the register offset to power on/off the PHY. 68*4882a593Smuzhiyun 69*4882a593SmuzhiyunThis is usually a subnode of ocp2scp to which it is connected. 70*4882a593Smuzhiyun 71*4882a593Smuzhiyunusb3phy@4a084400 { 72*4882a593Smuzhiyun compatible = "ti,phy-usb3"; 73*4882a593Smuzhiyun reg = <0x4a084400 0x80>, 74*4882a593Smuzhiyun <0x4a084800 0x64>, 75*4882a593Smuzhiyun <0x4a084c00 0x40>; 76*4882a593Smuzhiyun reg-names = "phy_rx", "phy_tx", "pll_ctrl"; 77*4882a593Smuzhiyun ctrl-module = <&omap_control_usb>; 78*4882a593Smuzhiyun #phy-cells = <0>; 79*4882a593Smuzhiyun clocks = <&usb_phy_cm_clk32k>, 80*4882a593Smuzhiyun <&sys_clkin>, 81*4882a593Smuzhiyun <&usb_otg_ss_refclk960m>; 82*4882a593Smuzhiyun clock-names = "wkupclk", 83*4882a593Smuzhiyun "sysclk", 84*4882a593Smuzhiyun "refclk"; 85*4882a593Smuzhiyun}; 86*4882a593Smuzhiyun 87*4882a593Smuzhiyunsata_phy: phy@4a096000 { 88*4882a593Smuzhiyun compatible = "ti,phy-pipe3-sata"; 89*4882a593Smuzhiyun reg = <0x4A096000 0x80>, /* phy_rx */ 90*4882a593Smuzhiyun <0x4A096400 0x64>, /* phy_tx */ 91*4882a593Smuzhiyun <0x4A096800 0x40>; /* pll_ctrl */ 92*4882a593Smuzhiyun reg-names = "phy_rx", "phy_tx", "pll_ctrl"; 93*4882a593Smuzhiyun ctrl-module = <&omap_control_sata>; 94*4882a593Smuzhiyun clocks = <&sys_clkin1>, <&sata_ref_clk>; 95*4882a593Smuzhiyun clock-names = "sysclk", "refclk"; 96*4882a593Smuzhiyun syscon-pllreset = <&scm_conf 0x3fc>; 97*4882a593Smuzhiyun #phy-cells = <0>; 98*4882a593Smuzhiyun}; 99