mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 16:21:32 +00:00
62 lines
1.2 KiB
Diff
62 lines
1.2 KiB
Diff
|
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||
|
index 83f39b0..dc1d42b 100644
|
||
|
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||
|
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||
|
@@ -210,6 +210,56 @@
|
||
|
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
|
||
|
};
|
||
|
|
||
|
+&nfc {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&nand_pins_a>, <&nand_cs0_pins_a>, <&nand_rb0_pins_a>;
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ nand@0 {
|
||
|
+ reg = <0>;
|
||
|
+ allwinner,rb = <0>;
|
||
|
+ nand-ecc-mode = "hw";
|
||
|
+ nand-on-flash-bbt;
|
||
|
+
|
||
|
+ partitions {
|
||
|
+ compatible = "fixed-partitions";
|
||
|
+ #address-cells = <2>;
|
||
|
+ #size-cells = <2>;
|
||
|
+
|
||
|
+ partition@0 {
|
||
|
+ label = "SPL";
|
||
|
+ reg = <0x0 0x0 0x0 0x400000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ partition@400000 {
|
||
|
+ label = "SPL.backup";
|
||
|
+ reg = <0x0 0x400000 0x0 0x400000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ partition@800000 {
|
||
|
+ label = "U-Boot";
|
||
|
+ reg = <0x0 0x800000 0x0 0x400000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ partition@c00000 {
|
||
|
+ label = "U-Boot.backup";
|
||
|
+ reg = <0x0 0xc00000 0x0 0x400000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ partition@1000000 {
|
||
|
+ label = "env";
|
||
|
+ reg = <0x0 0x1000000 0x0 0x400000>;
|
||
|
+ read-only;
|
||
|
+ };
|
||
|
+
|
||
|
+ partition@1400000 {
|
||
|
+ label = "rootfs";
|
||
|
+ reg = <0x0 0x1400000 0x01 0xff000000>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
&ohci0 {
|
||
|
status = "okay";
|
||
|
};
|