View difference between Paste ID: J1mQLsjj and BjYVzwGr
SHOW: | | - or go back to the newest paste.
1
&nfc {
2
        pinctrl-names = "default";
3
        pinctrl-0 = <&nand_pins_a>, <&nand_cs0_pins_a>, <&nand_rb0_pins_a>;
4
        status = "okay";
5
6
        nand@0 {
7
                #address-cells = <2>;
8
                #size-cells = <2>;
9
                reg = <0>;
10
                allwinner,rb = <0>;
11
12
                nand-ecc-mode = "hw";
13-
                nand-rnd-mode = "hw";
13+
14-
                /*nand-ecc-strength = <40>;
14+
15-
                nand-ecc-step-size = <1024>;*/
15+
16
                        label = "boot0";
17
                        reg = /bits/ 64 <0x0 0x200000>;
18
                };
19
20
                boot0-rescue@200000 {
21-
                        nand-ecc-mode = "hw_syndrome";
21+
22-
                        nand-rnd-mode = "hw";
22+
23-
                        nand-randomizer-seeds = /bits/ 16 <0x4a80>;
23+
24
25
                uboot@400000 {
26
                        label = "uboot";
27
                        reg = /bits/ 64 <0x400000 0x200000>;
28
                };
29-
                        nand-ecc-mode = "hw_syndrome";
29+
30-
                        nand-rnd-mode = "hw";
30+
                uboot-rescue@400000 {
31-
                        nand-randomizer-seeds = /bits/ 16 <0x4a80>;
31+
                        label = "uboot-rescue";
32
                        reg = /bits/ 64 <0x600000 0x200000>;
33
                };
34-
                main@200000 {
34+
35
                main@800000 {
36-
                        reg = /bits/ 64 <0x400000 0xffc00000>;
36+
37-
                        nand-ecc-mode = "hw";
37+
                        reg = /bits/ 64 <0x800000 0xff800000>;
38-
                        nand-rnd-mode = "hw";
38+
39-
                        nand-randomizer-seeds = /bits/ 16 <
39+
40-
                                0x2b75 0x0bd0 0x5ca3 0x62d1 0x1c93 0x07e9 0x2162 0x3a72
40+