1*c66ec88fSEmmanuel Vadot* APM X-Gene 15Gbps Multi-purpose PHY nodes 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotPHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 4*c66ec88fSEmmanuel VadotPHY (pair of lanes) has its own node. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot- compatible : Shall be "apm,xgene-phy". 8*c66ec88fSEmmanuel Vadot- reg : PHY memory resource is the SDS PHY access resource. 9*c66ec88fSEmmanuel Vadot- #phy-cells : Shall be 1 as it expects one argument for setting 10*c66ec88fSEmmanuel Vadot the mode of the PHY. Possible values are 0 (SATA), 11*c66ec88fSEmmanuel Vadot 1 (SGMII), 2 (PCIe), 3 (USB), and 4 (XFI). 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot- status : Shall be "ok" if enabled or "disabled" if disabled. 15*c66ec88fSEmmanuel Vadot Default is "ok". 16*c66ec88fSEmmanuel Vadot- clocks : Reference to the clock entry. 17*c66ec88fSEmmanuel Vadot- apm,tx-eye-tuning : Manual control to fine tune the capture of the serial 18*c66ec88fSEmmanuel Vadot bit lines from the automatic calibrated position. 19*c66ec88fSEmmanuel Vadot Two set of 3-tuple setting for each (up to 3) 20*c66ec88fSEmmanuel Vadot supported link speed on the host. Range from 0 to 21*c66ec88fSEmmanuel Vadot 127 in unit of one bit period. Default is 10. 22*c66ec88fSEmmanuel Vadot- apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample 23*c66ec88fSEmmanuel Vadot data earlier than the nominal sampling point. 1 means 24*c66ec88fSEmmanuel Vadot sample data later than the nominal sampling point. 25*c66ec88fSEmmanuel Vadot Two set of 3-tuple setting for each (up to 3) 26*c66ec88fSEmmanuel Vadot supported link speed on the host. Default is 0. 27*c66ec88fSEmmanuel Vadot- apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit) 28*c66ec88fSEmmanuel Vadot gain control. Two set of 3-tuple setting for each 29*c66ec88fSEmmanuel Vadot (up to 3) supported link speed on the host. Range is 30*c66ec88fSEmmanuel Vadot between 0 to 31 in unit of dB. Default is 3. 31*c66ec88fSEmmanuel Vadot- apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for 32*c66ec88fSEmmanuel Vadot each (up to 3) supported link speed on the host. 33*c66ec88fSEmmanuel Vadot Range is between 0 to 199500 in unit of uV. 34*c66ec88fSEmmanuel Vadot Default is 199500 uV. 35*c66ec88fSEmmanuel Vadot- apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of 36*c66ec88fSEmmanuel Vadot 3-tuple setting for each (up to 3) supported link 37*c66ec88fSEmmanuel Vadot speed on the host. Range is 0 to 273000 in unit of 38*c66ec88fSEmmanuel Vadot uV. Default is 0. 39*c66ec88fSEmmanuel Vadot- apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of 40*c66ec88fSEmmanuel Vadot 3-tuple setting for each (up to 3) supported link 41*c66ec88fSEmmanuel Vadot speed on the host. Range is 0 to 127400 in unit uV. 42*c66ec88fSEmmanuel Vadot Default is 0x0. 43*c66ec88fSEmmanuel Vadot- apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of 44*c66ec88fSEmmanuel Vadot 3-tuple setting for Gen1, Gen2, and Gen3. Range is 45*c66ec88fSEmmanuel Vadot between 0 to 0x1f in unit of 18.2mV. Default is 0xf. 46*c66ec88fSEmmanuel Vadot- apm,tx-speed : Tx operating speed. One set of 3-tuple for each 47*c66ec88fSEmmanuel Vadot supported link speed on the host. 48*c66ec88fSEmmanuel Vadot 0 = 1-2Gbps 49*c66ec88fSEmmanuel Vadot 1 = 2-4Gbps (1st tuple default) 50*c66ec88fSEmmanuel Vadot 2 = 4-8Gbps 51*c66ec88fSEmmanuel Vadot 3 = 8-15Gbps (2nd tuple default) 52*c66ec88fSEmmanuel Vadot 4 = 2.5-4Gbps 53*c66ec88fSEmmanuel Vadot 5 = 4-5Gbps 54*c66ec88fSEmmanuel Vadot 6 = 5-6Gbps 55*c66ec88fSEmmanuel Vadot 7 = 6-16Gbps (3rd tuple default) 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel VadotNOTE: PHY override parameters are board specific setting. 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel VadotExample: 60*c66ec88fSEmmanuel Vadot phy1: phy@1f21a000 { 61*c66ec88fSEmmanuel Vadot compatible = "apm,xgene-phy"; 62*c66ec88fSEmmanuel Vadot reg = <0x0 0x1f21a000 0x0 0x100>; 63*c66ec88fSEmmanuel Vadot #phy-cells = <1>; 64*c66ec88fSEmmanuel Vadot }; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot phy2: phy@1f22a000 { 67*c66ec88fSEmmanuel Vadot compatible = "apm,xgene-phy"; 68*c66ec88fSEmmanuel Vadot reg = <0x0 0x1f22a000 0x0 0x100>; 69*c66ec88fSEmmanuel Vadot #phy-cells = <1>; 70*c66ec88fSEmmanuel Vadot }; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot phy3: phy@1f23a000 { 73*c66ec88fSEmmanuel Vadot compatible = "apm,xgene-phy"; 74*c66ec88fSEmmanuel Vadot reg = <0x0 0x1f23a000 0x0 0x100>; 75*c66ec88fSEmmanuel Vadot #phy-cells = <1>; 76*c66ec88fSEmmanuel Vadot }; 77