1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/memory-controllers/ingenic,nemc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs NAND / External Memory Controller (NEMC)
10 - Paul Cercueil <paul@crapouillou.net>
14 pattern: "^memory-controller@[0-9a-f]+$"
22 - const: ingenic,jz4725b-nemc
23 - const: ingenic,jz4740-nemc
42 $ref: mc-peripheral-props.yaml#
43 additionalProperties: true
53 additionalProperties: false
57 #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
58 #include <dt-bindings/gpio/gpio.h>
59 nemc: memory-controller@13410000 {
60 compatible = "ingenic,jz4780-nemc";
61 reg = <0x13410000 0x10000>;
64 ranges = <1 0 0x1b000000 0x1000000>,
65 <2 0 0x1a000000 0x1000000>,
66 <3 0 0x19000000 0x1000000>,
67 <4 0 0x18000000 0x1000000>,
68 <5 0 0x17000000 0x1000000>,
69 <6 0 0x16000000 0x1000000>;
71 clocks = <&cgu JZ4780_CLK_NEMC>;
74 compatible = "davicom,dm9000";
77 pinctrl-names = "default";
78 pinctrl-0 = <&pins_nemc_cs6>;
80 reg = <6 0 1>, /* addr */
83 ingenic,nemc-tAS = <15>;
84 ingenic,nemc-tAH = <10>;
85 ingenic,nemc-tBP = <20>;
86 ingenic,nemc-tAW = <50>;
87 ingenic,nemc-tSTRV = <100>;
89 reset-gpios = <&gpf 12 GPIO_ACTIVE_HIGH>;
90 vcc-supply = <ð0_power>;
92 interrupt-parent = <&gpe>;