2021-04-14 11:25:24 +00:00
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
|
|
@@ -108,7 +108,7 @@
|
2021-04-10 17:16:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&bch {
|
|
|
|
- status = "disabled";
|
|
|
|
+ status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&btif {
|
2021-04-14 11:25:24 +00:00
|
|
|
@@ -283,14 +283,40 @@
|
2021-04-10 17:16:08 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
-&nor_flash {
|
|
|
|
+&snfi {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
- pinctrl-0 = <&spi_nor_pins>;
|
|
|
|
- status = "disabled";
|
|
|
|
+ pinctrl-0 = <&serial_nand_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
|
|
|
|
- flash@0 {
|
|
|
|
- compatible = "jedec,spi-nor";
|
|
|
|
+ snand: spi_nand@0 {
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+ compatible = "spi-nand";
|
|
|
|
+ spi-max-frequency = <104000000>;
|
|
|
|
reg = <0>;
|
|
|
|
+
|
|
|
|
+ partitions {
|
|
|
|
+ compatible = "fixed-partitions";
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "bl2";
|
|
|
|
+ reg = <0x0 0x80000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@80000 {
|
|
|
|
+ label = "fip";
|
|
|
|
+ reg = <0x80000 0x200000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@280000 {
|
|
|
|
+ label = "ubi";
|
|
|
|
+ reg = <0x280000 0x7d80000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|