Path: blob/main/sys/contrib/device-tree/Bindings/ata/ahci-ceva.txt
48376 views
Binding for CEVA AHCI SATA Controller12Required properties:3- reg: Physical base address and size of the controller's register area.4- compatible: Compatibility string. Must be 'ceva,ahci-1v84'.5- clocks: Input clock specifier. Refer to common clock bindings.6- interrupts: Interrupt specifier. Refer to interrupt binding.7- ceva,p0-cominit-params: OOB timing value for COMINIT parameter for port 0.8- ceva,p1-cominit-params: OOB timing value for COMINIT parameter for port 1.9The fields for the above parameter must be as shown below:10ceva,pN-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;11CINMP : COMINIT Negate Minimum Period.12CIBGN : COMINIT Burst Gap Nominal.13CIBGMX: COMINIT Burst Gap Maximum.14CIBGMN: COMINIT Burst Gap Minimum.15- ceva,p0-comwake-params: OOB timing value for COMWAKE parameter for port 0.16- ceva,p1-comwake-params: OOB timing value for COMWAKE parameter for port 1.17The fields for the above parameter must be as shown below:18ceva,pN-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;19CWBGMN: COMWAKE Burst Gap Minimum.20CWBGMX: COMWAKE Burst Gap Maximum.21CWBGN: COMWAKE Burst Gap Nominal.22CWNMP: COMWAKE Negate Minimum Period.23- ceva,p0-burst-params: Burst timing value for COM parameter for port 0.24- ceva,p1-burst-params: Burst timing value for COM parameter for port 1.25The fields for the above parameter must be as shown below:26ceva,pN-burst-params = /bits/ 8 <BMX BNM SFD PTST>;27BMX: COM Burst Maximum.28BNM: COM Burst Nominal.29SFD: Signal Failure Detection value.30PTST: Partial to Slumber timer value.31- ceva,p0-retry-params: Retry interval timing value for port 0.32- ceva,p1-retry-params: Retry interval timing value for port 1.33The fields for the above parameter must be as shown below:34ceva,pN-retry-params = /bits/ 16 <RIT RCT>;35RIT: Retry Interval Timer.36RCT: Rate Change Timer.3738Optional properties:39- ceva,broken-gen2: limit to gen1 speed instead of gen2.40- phys: phandle for the PHY device41- resets: phandle to the reset controller for the SATA IP4243Examples:44ahci@fd0c0000 {45compatible = "ceva,ahci-1v84";46reg = <0xfd0c0000 0x200>;47interrupt-parent = <&gic>;48interrupts = <0 133 4>;49clocks = <&clkc SATA_CLK_ID>;50ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;51ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;52ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;53ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;5455ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;56ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;57ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;58ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;59ceva,broken-gen2;60phys = <&psgtr 1 PHY_TYPE_SATA 1 1>;61resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;62};636465