Lines Matching +full:nand +full:- +full:ecc +full:- +full:mode

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 - const: rockchip,rk3036-nfc
23 - const: rockchip,rk2928-nfc
24 - items:
25 - const: rockchip,rk3308-nfc
26 - const: rockchip,rv1108-nfc
37 - description: Bus Clock
38 - description: Module Clock
40 clock-names:
43 - const: ahb
44 - const: nfc
46 assigned-clocks:
49 assigned-clock-rates:
52 power-domains:
56 "^nand@[0-7]$":
63 nand-ecc-mode:
66 nand-ecc-step-size:
69 nand-ecc-strength:
72 The ECC configurations that can be supported are as follows.
73 NFC v600 ECC 16, 24, 40, 60
76 NFC v622 ECC 16, 24, 40, 60
79 NFC v800 ECC 16
82 NFC v900 ECC 16, 40, 60, 70
85 nand-bus-width:
88 rockchip,boot-blks:
93 The NFC driver need this information to select ECC
95 Only used in combination with 'nand-is-boot-medium'.
97 rockchip,boot-ecc-strength:
100 - $ref: /schemas/types.yaml#/definitions/uint32
102 If specified it indicates that a different BCH/ECC setting is
104 NFC v600 ECC 16, 24
107 NFC v622 ECC 16, 24, 40, 60
110 NFC v800 ECC 16
113 NFC v900 ECC 16, 70
116 Only used in combination with 'nand-is-boot-medium'.
119 - compatible
120 - reg
121 - interrupts
122 - clocks
123 - clock-names
128 - |
129 #include <dt-bindings/clock/rk3308-cru.h>
130 #include <dt-bindings/interrupt-controller/arm-gic.h>
131 nfc: nand-controller@ff4b0000 {
132 compatible = "rockchip,rk3308-nfc",
133 "rockchip,rv1108-nfc";
137 clock-names = "ahb", "nfc";
138 assigned-clocks = <&clks SCLK_NANDC>;
139 assigned-clock-rates = <150000000>;
141 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
143 pinctrl-names = "default";
145 #address-cells = <1>;
146 #size-cells = <0>;
148 nand@0 {
150 label = "rk-nand";
151 nand-bus-width = <8>;
152 nand-ecc-mode = "hw";
153 nand-ecc-step-size = <1024>;
154 nand-ecc-strength = <16>;
155 nand-is-boot-medium;
156 rockchip,boot-blks = <8>;
157 rockchip,boot-ecc-strength = <16>;