1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mtd/ingenic,nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs NAND controller devicetree bindings
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: nand-controller.yaml#
19 - ingenic,jz4725b-nand
24 - description: Bank number, offset and size of first attached NAND chip
25 - description: Bank number, offset and size of second attached NAND chip
26 - description: Bank number, offset and size of third attached NAND chip
27 - description: Bank number, offset and size of fourth attached NAND chip
35 Node containing description of fixed partitions.
36 See Documentation/devicetree/bindings/mtd/partition.txt
43 description: GPIO specifier for the busy pin.
47 description: GPIO specifier for the write-protect pin.
54 unevaluatedProperties: false
58 #include <dt-bindings/clock/jz4780-cgu.h>
59 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 = "ingenic,jz4780-nand";
75 reg = <1 0 0x1000000>;
82 ingenic,nemc-tAS = <10>;
83 ingenic,nemc-tAH = <5>;
84 ingenic,nemc-tBP = <10>;
85 ingenic,nemc-tAW = <15>;
86 ingenic,nemc-tSTRV = <100>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pins_nemc>;
94 nand-ecc-step-size = <1024>;
95 nand-ecc-strength = <24>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pins_nemc_cs1>;
103 compatible = "fixed-partitions";
104 #address-cells = <2>;
108 label = "u-boot-spl";
109 reg = <0x0 0x0 0x0 0x800000>;
114 reg = <0x0 0x800000 0x0 0x200000>;
118 label = "u-boot-env";
119 reg = <0x0 0xa00000 0x0 0x200000>;
124 reg = <0x0 0xc00000 0x0 0x4000000>;
129 reg = <0x0 0x4c00000 0x1 0xfb400000>;