StarFive JH7110 DMC

Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/starfive,jh7110-dmc.yaml#"

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

Maintainers (maintainers): "E Shattow <e@freeshell.de>"

JH7110 DDR external memory interface LPDDR4/DDR4/DDR3/LPDDR3 32-bit at 2133Mbps (up to 2800Mbps).

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "starfive,jh7110-dmc"

reg — required here #

Array item rules (items) #

Item 1

controller registers

Item 2

phy registers

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pll"

resets — required here #

Array item rules (items) #

Item 1

axi

Item 2

osc

Item 3

apb

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "axi"

Item 2

Exact value (const): "osc"

Item 3

Exact value (const): "apb"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include <dt-bindings/reset/starfive,jh7110-crg.h>
soc {
  #address-cells = <2>;
  #size-cells = <2>;

  memory-controller@15700000 {
    compatible = "starfive,jh7110-dmc";
    reg = <0x0 0x15700000 0x0 0x10000>,
          <0x0 0x13000000 0x0 0x10000>;
    clocks = <&syscrg JH7110_PLLCLK_PLL1_OUT>;
    clock-names = "pll";
    resets = <&syscrg JH7110_SYSRST_DDR_AXI>,
             <&syscrg JH7110_SYSRST_DDR_OSC>,
             <&syscrg JH7110_SYSRST_DDR_APB>;
    reset-names = "axi", "osc", "apb";
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page