LPDDR3 SDRAM compliant to JEDEC JESD209-3

Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): jedec,sdram-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "samsung,K3QF2F20DB"

Item 2

Exact value (const): "jedec,lpddr3"

Rule 2

Array item rules (items)

Item 1

String pattern (pattern): "^lpddr3-[0-9a-f]{2},[0-9a-f]{4}$"

Item 2

Exact value (const): "jedec,lpddr3"

#address-cells — not listed as required here #

Exact value (const): 1

Deprecated (deprecated): true

manufacturer-id — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Manufacturer ID value read from Mode Register 5. The property is deprecated, manufacturer should be derived from the compatible.

Deprecated (deprecated): true

#size-cells — not listed as required here #

Exact value (const): 0

Deprecated (deprecated): true

tCKE-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

CKE minimum pulse width (HIGH and LOW pulse width) in terms of number of clock cycles.

tCKESR-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

CKE minimum pulse width during SELF REFRESH (low pulse width during SELF REFRESH) in terms of number of clock cycles.

tDQSCK-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

DQS output data access time from CK_t/CK_c in terms of number of clock cycles.

tFAW-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 63

Four-bank activate window in terms of number of clock cycles.

tMRD-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Mode register set command delay in terms of number of clock cycles.

tR2R-C2C-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Additional READ-to-READ delay in chip-to-chip cases in terms of number of clock cycles.

tRAS-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 63

Row active time in terms of number of clock cycles.

tRC-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 63

ACTIVATE-to-ACTIVATE command period in terms of number of clock cycles.

tRCD-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

RAS-to-CAS delay in terms of number of clock cycles.

tRFC-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 255

Refresh Cycle time in terms of number of clock cycles.

tRL-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

READ data latency in terms of number of clock cycles.

tRPab-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Row precharge time (all banks) in terms of number of clock cycles.

tRPpb-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Row precharge time (single banks) in terms of number of clock cycles.

tRRD-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Active bank A to active bank B in terms of number of clock cycles.

tRTP-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Internal READ to PRECHARGE command delay in terms of number of clock cycles.

tW2W-C2C-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Additional WRITE-to-WRITE delay in chip-to-chip cases in terms of number of clock cycles.

tWL-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

WRITE data latency in terms of number of clock cycles.

tWR-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

WRITE recovery time in terms of number of clock cycles.

tWTR-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 15

Internal WRITE-to-READ command delay in terms of number of clock cycles.

tXP-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 255

Exit power-down to next valid command delay in terms of number of clock cycles.

tXSR-min-tck — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 1023

SELF REFRESH exit to next valid command delay in terms of number of clock cycles.

Properties matching a name pattern (patternProperties) #

^timings((-[0-9])+|(@[0-9a-f]+))?$ — name matches this regular expression #

Shared schema rule ($ref): jedec,lpddr3-timings.yaml

The lpddr3 node may have one or more child nodes with timings. Each timing node provides AC timing parameters of the device for a given speed-bin. The user may provide the timings for as many speed-bins as is required.

Required in this object (required): "compatible", "density", "io-width"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

lpddr3 {
    compatible = "samsung,K3QF2F20DB", "jedec,lpddr3";
    density = <16384>;
    io-width = <32>;

    tCKE-min-tck = <2>;
    tCKESR-min-tck = <2>;
    tDQSCK-min-tck = <5>;
    tFAW-min-tck = <5>;
    tMRD-min-tck = <5>;
    tR2R-C2C-min-tck = <0>;
    tRAS-min-tck = <5>;
    tRC-min-tck = <6>;
    tRCD-min-tck = <3>;
    tRFC-min-tck = <17>;
    tRL-min-tck = <14>;
    tRPab-min-tck = <2>;
    tRPpb-min-tck = <2>;
    tRRD-min-tck = <2>;
    tRTP-min-tck = <2>;
    tW2W-C2C-min-tck = <0>;
    tWL-min-tck = <8>;
    tWR-min-tck = <7>;
    tWTR-min-tck = <2>;
    tXP-min-tck = <2>;
    tXSR-min-tck = <12>;

    timings {
        compatible = "jedec,lpddr3-timings";
        max-freq = <800000000>;
        min-freq = <100000000>;
        tCKE = <3750>;
        tCKESR = <3750>;
        tFAW = <25000>;
        tMRD = <7000>;
        tR2R-C2C = <0>;
        tRAS = <23000>;
        tRC = <33750>;
        tRCD = <10000>;
        tRFC = <65000>;
        tRPab = <12000>;
        tRPpb = <12000>;
        tRRD = <6000>;
        tRTP = <3750>;
        tW2W-C2C = <0>;
        tWR = <7500>;
        tWTR = <3750>;
        tXP = <3750>;
        tXSR = <70000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page