mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
50416c18dd
It breaks built-in SoC WLAN. Can be re-enabled after we've figured out the cause Signed-off-by: Felix Fietkau <nbd@nbd.name>
51 lines
961 B
Diff
51 lines
961 B
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
@@ -251,14 +251,42 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
-&nor_flash {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&spi_nor_pins>;
|
|
- status = "disabled";
|
|
+&bch {
|
|
+ status = "okay";
|
|
+};
|
|
|
|
+&snfi {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&serial_nand_pins>;
|
|
+ status = "okay";
|
|
flash@0 {
|
|
- compatible = "jedec,spi-nor";
|
|
+ compatible = "spi-nand";
|
|
reg = <0>;
|
|
+ spi-tx-bus-width = <4>;
|
|
+ spi-rx-bus-width = <4>;
|
|
+ nand-ecc-engine = <&snfi>;
|
|
+ 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>;
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
|