1*4882a593SmuzhiyunSTMicroelectronics STi SATA controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis binding describes a SATA device. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunRequired properties: 6*4882a593Smuzhiyun - compatible : Must be "st,ahci" 7*4882a593Smuzhiyun - reg : Physical base addresses and length of register sets 8*4882a593Smuzhiyun - interrupts : Interrupt associated with the SATA device 9*4882a593Smuzhiyun - interrupt-names : Associated name must be; "hostc" 10*4882a593Smuzhiyun - clocks : The phandle for the clock 11*4882a593Smuzhiyun - clock-names : Associated name must be; "ahci_clk" 12*4882a593Smuzhiyun - phys : The phandle for the PHY port 13*4882a593Smuzhiyun - phy-names : Associated name must be; "ahci_phy" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunOptional properties: 16*4882a593Smuzhiyun - resets : The power-down, soft-reset and power-reset lines of SATA IP 17*4882a593Smuzhiyun - reset-names : Associated names must be; "pwr-dwn", "sw-rst" and "pwr-rst" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunExample: 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun /* Example for stih407 family silicon */ 22*4882a593Smuzhiyun sata0: sata@9b20000 { 23*4882a593Smuzhiyun compatible = "st,ahci"; 24*4882a593Smuzhiyun reg = <0x9b20000 0x1000>; 25*4882a593Smuzhiyun interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>; 26*4882a593Smuzhiyun interrupt-names = "hostc"; 27*4882a593Smuzhiyun phys = <&phy_port0 PHY_TYPE_SATA>; 28*4882a593Smuzhiyun phy-names = "ahci_phy"; 29*4882a593Smuzhiyun resets = <&powerdown STIH407_SATA0_POWERDOWN>, 30*4882a593Smuzhiyun <&softreset STIH407_SATA0_SOFTRESET>, 31*4882a593Smuzhiyun <&softreset STIH407_SATA0_PWR_SOFTRESET>; 32*4882a593Smuzhiyun reset-names = "pwr-dwn", "sw-rst", "pwr-rst"; 33*4882a593Smuzhiyun clocks = <&clk_s_c0_flexgen CLK_ICN_REG>; 34*4882a593Smuzhiyun clock-names = "ahci_clk"; 35*4882a593Smuzhiyun }; 36