11068320bSLoc Ho* APM X-Gene 15Gbps Multi-purpose PHY nodes 21068320bSLoc Ho 31068320bSLoc HoPHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 41068320bSLoc HoPHY (pair of lanes) has its own node. 51068320bSLoc Ho 61068320bSLoc HoRequired properties: 71068320bSLoc Ho- compatible : Shall be "apm,xgene-phy". 81068320bSLoc Ho- reg : PHY memory resource is the SDS PHY access resource. 91068320bSLoc Ho- #phy-cells : Shall be 1 as it expects one argument for setting 101068320bSLoc Ho the mode of the PHY. Possible values are 0 (SATA), 111068320bSLoc Ho 1 (SGMII), 2 (PCIe), 3 (USB), and 4 (XFI). 121068320bSLoc Ho 131068320bSLoc HoOptional properties: 141068320bSLoc Ho- status : Shall be "ok" if enabled or "disabled" if disabled. 151068320bSLoc Ho Default is "ok". 161068320bSLoc Ho- clocks : Reference to the clock entry. 171068320bSLoc Ho- apm,tx-eye-tuning : Manual control to fine tune the capture of the serial 181068320bSLoc Ho bit lines from the automatic calibrated position. 191068320bSLoc Ho Two set of 3-tuple setting for each (up to 3) 201068320bSLoc Ho supported link speed on the host. Range from 0 to 211068320bSLoc Ho 127 in unit of one bit period. Default is 10. 221068320bSLoc Ho- apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample 231068320bSLoc Ho data earlier than the nominal sampling point. 1 means 241068320bSLoc Ho sample data later than the nominal sampling point. 251068320bSLoc Ho Two set of 3-tuple setting for each (up to 3) 261068320bSLoc Ho supported link speed on the host. Default is 0. 271068320bSLoc Ho- apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit) 281068320bSLoc Ho gain control. Two set of 3-tuple setting for each 291068320bSLoc Ho (up to 3) supported link speed on the host. Range is 301068320bSLoc Ho between 0 to 31 in unit of dB. Default is 3. 311068320bSLoc Ho- apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for 321068320bSLoc Ho each (up to 3) supported link speed on the host. 331068320bSLoc Ho Range is between 0 to 199500 in unit of uV. 341068320bSLoc Ho Default is 199500 uV. 351068320bSLoc Ho- apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of 361068320bSLoc Ho 3-tuple setting for each (up to 3) supported link 371068320bSLoc Ho speed on the host. Range is 0 to 273000 in unit of 381068320bSLoc Ho uV. Default is 0. 391068320bSLoc Ho- apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of 401068320bSLoc Ho 3-tuple setting for each (up to 3) supported link 411068320bSLoc Ho speed on the host. Range is 0 to 127400 in unit uV. 421068320bSLoc Ho Default is 0x0. 431068320bSLoc Ho- apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of 441068320bSLoc Ho 3-tuple setting for Gen1, Gen2, and Gen3. Range is 451068320bSLoc Ho between 0 to 0x1f in unit of 18.2mV. Default is 0xf. 461068320bSLoc Ho- apm,tx-speed : Tx operating speed. One set of 3-tuple for each 471068320bSLoc Ho supported link speed on the host. 481068320bSLoc Ho 0 = 1-2Gbps 491068320bSLoc Ho 1 = 2-4Gbps (1st tuple default) 501068320bSLoc Ho 2 = 4-8Gbps 511068320bSLoc Ho 3 = 8-15Gbps (2nd tuple default) 521068320bSLoc Ho 4 = 2.5-4Gbps 531068320bSLoc Ho 5 = 4-5Gbps 541068320bSLoc Ho 6 = 5-6Gbps 551068320bSLoc Ho 7 = 6-16Gbps (3rd tuple default) 561068320bSLoc Ho 571068320bSLoc HoNOTE: PHY override parameters are board specific setting. 581068320bSLoc Ho 591068320bSLoc HoExample: 601068320bSLoc Ho phy1: phy@1f21a000 { 611068320bSLoc Ho compatible = "apm,xgene-phy"; 621068320bSLoc Ho reg = <0x0 0x1f21a000 0x0 0x100>; 631068320bSLoc Ho #phy-cells = <1>; 641068320bSLoc Ho status = "disabled"; 651068320bSLoc Ho }; 661068320bSLoc Ho 671068320bSLoc Ho phy2: phy@1f22a000 { 681068320bSLoc Ho compatible = "apm,xgene-phy"; 691068320bSLoc Ho reg = <0x0 0x1f22a000 0x0 0x100>; 701068320bSLoc Ho #phy-cells = <1>; 711068320bSLoc Ho status = "ok"; 721068320bSLoc Ho }; 731068320bSLoc Ho 741068320bSLoc Ho phy3: phy@1f23a000 { 751068320bSLoc Ho compatible = "apm,xgene-phy"; 761068320bSLoc Ho reg = <0x0 0x1f23a000 0x0 0x100>; 771068320bSLoc Ho #phy-cells = <1>; 781068320bSLoc Ho status = "ok"; 791068320bSLoc Ho }; 80