--- /dev/null
+diff -ruN a/arch/arm/boot/dts/sun7i-a20-rgl-c64mini.dts b/arch/arm/boot/dts/sun7i-a20-rgl-c64mini.dts
+--- a/arch/arm/boot/dts/sun7i-a20-c64mini.dts 2019-02-20 16:13:12.000000000 +0100
++++ b/arch/arm/boot/dts/sun7i-a20-c64mini.dts 2019-02-22 14:52:35.906512308 +0100
+@@ -175,6 +177,37 @@
+ function = "gpio_in";
+ bias-pull-down;
+ };
++
++ nand_pins: nand-pins {
++ pins = "PC0", "PC1", "PC2", "PC5",
++ "PC8", "PC9", "PC10", "PC11",
++ "PC12", "PC13", "PC14", "PC15";
++ function = "nand0";
++ };
++
++ nand_pins_cs0: nand-pins-cs0 {
++ pins = "PC4";
++ function = "nand0";
++ bias-pull-up;
++ };
++
++ nand_pins_cs1: nand-pins-cs1 {
++ pins = "PC3";
++ function = "nand0";
++ bias-pull-up;
++ };
++
++ nand_pins_rb0: nand-pins-rb0 {
++ pins = "PC6";
++ function = "nand0";
++ bias-pull-up;
++ };
++
++ nand_pins_rb1: nand-pins-rb1 {
++ pins = "PC7";
++ function = "nand0";
++ bias-pull-up;
++ };
+ };
+
+ ®_usb0_vbus {
+@@ -210,3 +243,20 @@
+ usb2_vbus-supply = <®_usb2_vbus>;
+ status = "okay";
+ };
++
++&nfc {
++ status = "okay";
++ pinctrl-names = "default";
++ pinctrl-0 = <&nand_pins>, <&nand_pins_cs0>, <&nand_pins_rb0>;
++
++ /* ESMT NAND 128MiB 3,3V 8-bit */
++ nand@0 {
++ #address-cells = <1>;
++ #size-cells = <1>;
++ reg = <0>;
++ allwinner,rb = <0>;
++ nand-ecc-mode = "hw";
++ nand-ecc-strength = <16>;
++ nand-ecc-step-size = <1024>;
++ };
++};