|
@@ -1,3 +1,23 @@
|
|
|
|
+From d278f43f25beedfd0cb784d1dd0a9e7e8c8f123f Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Daniel Golle <[email protected]>
|
|
|
|
+Date: Wed, 19 Apr 2023 20:15:53 +0100
|
|
|
|
+Subject: [PATCH] arm64: dts: mt7622: declare SPI-NAND present on BPI-R64
|
|
|
|
+
|
|
|
|
+The SPI-NOR node in the device tree of the BananaPi R64 has most likely
|
|
|
|
+been copied from the reference board's device tree even though the R64
|
|
|
|
+comes with an SPI-NAND chip rather than SPI-NOR.
|
|
|
|
+
|
|
|
|
+Setup the Serial NAND Flash Interface (SNFI) controller, enable
|
|
|
|
+hardware BCH error detection and correction engine and add the SPI-NAND
|
|
|
|
+chip including basic partitions,
|
|
|
|
+
|
|
|
|
+Signed-off-by: Daniel Golle <[email protected]>
|
|
|
|
+Link: https://lore.kernel.org/r/[email protected]
|
|
|
|
+Signed-off-by: Matthias Brugger <[email protected]>
|
|
|
|
+---
|
|
|
|
+ .../dts/mediatek/mt7622-bananapi-bpi-r64.dts | 38 ++++++++++++++++---
|
|
|
|
+ 1 file changed, 33 insertions(+), 5 deletions(-)
|
|
|
|
+
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
@@ -253,14 +253,42 @@
|
|
@@ -253,14 +253,42 @@
|
|
@@ -40,7 +60,7 @@
|
|
+ read-only;
|
|
+ read-only;
|
|
+ };
|
|
+ };
|
|
+
|
|
+
|
|
-+ partition@280000 {
|
|
|
|
|
|
++ ubi: partition@280000 {
|
|
+ label = "ubi";
|
|
+ label = "ubi";
|
|
+ reg = <0x280000 0x7d80000>;
|
|
+ reg = <0x280000 0x7d80000>;
|
|
+ };
|
|
+ };
|