1 STMicroelectronics STi MIPHY365x PHY binding 2 ============================================ 3 4 This binding describes a miphy device that is 5 for SATA and PCIe. 6 7 Required properties (controller (parent) node) 8 - compatible : Should be "st,miphy365x-phy" 9 - st,syscfg : Phandle / integer array prop 10 containing the miphy registe 11 an entry for each port sub-n 12 register offset inside the s 13 14 Required nodes : A sub-node is required for 15 provides. Address range inf 16 'reg' and 'reg-names' prope 17 nodes to describe the contr 18 are translated by the drive 19 20 Required properties (port (child) node): 21 - #phy-cells : Should be 1 (See second exam 22 Cell after port phandle is d 23 - PHY_TYPE_SATA 24 - PHY_TYPE_PCI 25 - reg : Address and length of regist 26 "reg-names" 27 - reg-names : The names of the register ad 28 registers filled in "reg": 29 - sata: For SATA dev 30 - pcie: For PCIe dev 31 32 Optional properties (port (child) node): 33 - st,sata-gen : Generation of locally 34 are {1,2,3). If not su 35 be expected 36 - st,pcie-tx-pol-inv : Bool property to inver 37 - st,sata-tx-pol-inv : Bool property to inver 38 39 Example: 40 41 miphy365x_phy: miphy365x@fe382000 { 42 compatible = "st,miphy365 43 st,syscfg = <&syscfg_rea 44 #address-cells = <1>; 45 #size-cells = <1>; 46 ranges; 47 48 phy_port0: port@fe382000 { 49 reg = <0xfe382000 0x10 50 reg-names = "sata", "p 51 #phy-cells = <1>; 52 st,sata-gen = <3>; 53 }; 54 55 phy_port1: port@fe38a000 { 56 reg = <0xfe38a000 0x10 57 reg-names = "sata", "p 58 #phy-cells = <1>; 59 st,pcie-tx-pol-inv; 60 }; 61 }; 62 63 Specifying phy control of devices 64 ================================= 65 66 Device nodes should specify the configuration 67 property, containing a phandle to the phy port 68 69 Example: 70 71 #include <dt-bindings/phy/phy.h> 72 73 sata0: sata@fe380000 { 74 ... 75 phys = <&phy_port0 PHY_TY 76 ... 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.