2021-04-11 15:59:09 +00:00
|
|
|
--- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
|
|
+++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
2023-04-20 10:31:49 +00:00
|
|
|
@@ -20,7 +20,7 @@
|
2021-04-11 15:59:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
- spi0 = &snfi;
|
|
|
|
+ spi0 = &snand;
|
|
|
|
ethernet0 = ð
|
|
|
|
};
|
|
|
|
|
2024-01-21 23:50:02 +00:00
|
|
|
@@ -208,16 +208,27 @@
|
2021-04-11 15:59:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
-&snfi {
|
|
|
|
- pinctrl-names = "default", "snfi";
|
|
|
|
- pinctrl-0 = <&snor_pins>;
|
|
|
|
- pinctrl-1 = <&snfi_pins>;
|
|
|
|
+&snand {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&snfi_pins>;
|
2023-07-22 14:50:27 +00:00
|
|
|
+ quad-spi;
|
2021-04-11 15:59:09 +00:00
|
|
|
status = "okay";
|
2024-01-21 23:50:02 +00:00
|
|
|
|
2021-04-11 15:59:09 +00:00
|
|
|
- spi-flash@0{
|
|
|
|
- compatible = "jedec,spi-nor";
|
|
|
|
- reg = <0>;
|
2023-07-22 14:50:27 +00:00
|
|
|
- bootph-all;
|
2024-01-21 23:50:02 +00:00
|
|
|
+ partitions {
|
|
|
|
+ compatible = "fixed-partitions";
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "bl2";
|
|
|
|
+ reg = <0x0 0x80000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@80000 {
|
|
|
|
+ label = "ubi";
|
|
|
|
+ reg = <0x80000 0x7f80000>;
|
|
|
|
+ compatible = "linux,ubi";
|
|
|
|
+ };
|
|
|
|
};
|
2021-04-11 15:59:09 +00:00
|
|
|
};
|
|
|
|
|