Path: blob/main/sys/contrib/device-tree/Bindings/ddr/lpddr2.txt
48378 views
* LPDDR2 SDRAM memories compliant to JEDEC JESD209-212Required properties:3- compatible : Should be one of - "jedec,lpddr2-nvm", "jedec,lpddr2-s2",4"jedec,lpddr2-s4"56"ti,jedec-lpddr2-s2" should be listed if the memory part is LPDDR2-S2 type78"ti,jedec-lpddr2-s4" should be listed if the memory part is LPDDR2-S4 type910"ti,jedec-lpddr2-nvm" should be listed if the memory part is LPDDR2-NVM type1112- density : <u32> representing density in Mb (Mega bits)1314- io-width : <u32> representing bus width. Possible values are 8, 16, and 321516Optional properties:1718The following optional properties represent the minimum value of some AC19timing parameters of the DDR device in terms of number of clock cycles.20These values shall be obtained from the device data-sheet.21- tRRD-min-tck22- tWTR-min-tck23- tXP-min-tck24- tRTP-min-tck25- tCKE-min-tck26- tRPab-min-tck27- tRCD-min-tck28- tWR-min-tck29- tRASmin-min-tck30- tCKESR-min-tck31- tFAW-min-tck3233Child nodes:34- The lpddr2 node may have one or more child nodes of type "lpddr2-timings".35"lpddr2-timings" provides AC timing parameters of the device for36a given speed-bin. The user may provide the timings for as many37speed-bins as is required. Please see Documentation/devicetree/38bindings/ddr/lpddr2-timings.txt for more information on "lpddr2-timings"3940Example:4142elpida_ECB240ABACN : lpddr2 {43compatible = "Elpida,ECB240ABACN","jedec,lpddr2-s4";44density = <2048>;45io-width = <32>;4647tRPab-min-tck = <3>;48tRCD-min-tck = <3>;49tWR-min-tck = <3>;50tRASmin-min-tck = <3>;51tRRD-min-tck = <2>;52tWTR-min-tck = <2>;53tXP-min-tck = <2>;54tRTP-min-tck = <2>;55tCKE-min-tck = <3>;56tCKESR-min-tck = <3>;57tFAW-min-tck = <8>;5859timings_elpida_ECB240ABACN_400mhz: lpddr2-timings@0 {60compatible = "jedec,lpddr2-timings";61min-freq = <10000000>;62max-freq = <400000000>;63tRPab = <21000>;64tRCD = <18000>;65tWR = <15000>;66tRAS-min = <42000>;67tRRD = <10000>;68tWTR = <7500>;69tXP = <7500>;70tRTP = <7500>;71tCKESR = <15000>;72tDQSCK-max = <5500>;73tFAW = <50000>;74tZQCS = <90000>;75tZQCL = <360000>;76tZQinit = <1000000>;77tRAS-max-ns = <70000>;78};7980timings_elpida_ECB240ABACN_200mhz: lpddr2-timings@1 {81compatible = "jedec,lpddr2-timings";82min-freq = <10000000>;83max-freq = <200000000>;84tRPab = <21000>;85tRCD = <18000>;86tWR = <15000>;87tRAS-min = <42000>;88tRRD = <10000>;89tWTR = <10000>;90tXP = <7500>;91tRTP = <7500>;92tCKESR = <15000>;93tDQSCK-max = <5500>;94tFAW = <50000>;95tZQCS = <90000>;96tZQCL = <360000>;97tZQinit = <1000000>;98tRAS-max-ns = <70000>;99};100101}102103104