Lines Matching +full:nand +full:- +full:is +full:- +full:boot +full:- +full:medium
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/rockchip,nand-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip SoCs NAND FLASH Controller (NFC)
10 - $ref: nand-controller.yaml#
13 - Heiko Stuebner <heiko@sntech.de>
18 - const: rockchip,px30-nfc
19 - const: rockchip,rk2928-nfc
20 - const: rockchip,rv1108-nfc
21 - items:
22 - enum:
23 - rockchip,rk3036-nfc
24 - rockchip,rk3128-nfc
25 - const: rockchip,rk2928-nfc
26 - items:
27 - const: rockchip,rk3308-nfc
28 - const: rockchip,rv1108-nfc
39 - description: Bus Clock
40 - description: Module Clock
42 clock-names:
45 - const: ahb
46 - const: nfc
48 assigned-clocks:
51 assigned-clock-rates:
54 power-domains:
58 "^nand@[0-7]$":
60 $ref: raw-nand-chip.yaml
66 nand-ecc-mode:
69 nand-ecc-step-size:
72 nand-ecc-strength:
88 nand-bus-width:
91 rockchip,boot-blks:
97 algorithms supported by the boot ROM.
98 Only used in combination with 'nand-is-boot-medium'.
100 rockchip,boot-ecc-strength:
104 If specified it indicates that a different BCH/ECC setting is
105 supported by the boot ROM.
118 Only used in combination with 'nand-is-boot-medium'.
123 - compatible
124 - reg
125 - interrupts
126 - clocks
127 - clock-names
132 - |
133 #include <dt-bindings/clock/rk3308-cru.h>
134 #include <dt-bindings/interrupt-controller/arm-gic.h>
135 nfc: nand-controller@ff4b0000 {
136 compatible = "rockchip,rk3308-nfc",
137 "rockchip,rv1108-nfc";
141 clock-names = "ahb", "nfc";
142 assigned-clocks = <&clks SCLK_NANDC>;
143 assigned-clock-rates = <150000000>;
145 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
147 pinctrl-names = "default";
149 #address-cells = <1>;
150 #size-cells = <0>;
152 nand@0 {
154 label = "rk-nand";
155 nand-bus-width = <8>;
156 nand-ecc-mode = "hw";
157 nand-ecc-step-size = <1024>;
158 nand-ecc-strength = <16>;
159 nand-is-boot-medium;
160 rockchip,boot-blks = <8>;
161 rockchip,boot-ecc-strength = <16>;