mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
a3d431ccf7
Deleted (reverse-applicable): mvebu/patches-5.10/101-ARM-dts-turris-omnia-configure-LED-2--INTn-pin-as-interrupt-pin.patch Automatically refreshed: bcm63xx/patches-5.10/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch generic/backport-5.10/610-v5.13-02-netfilter-Fix-fall-through-warnings-for-Clang.patch generic/backport-5.10/610-v5.13-10-netfilter-nftables-update-table-flags-from-the-commi.patch generic/hack-5.10/204-module_strip.patch generic/hack-5.10/902-debloat_proc.patch generic/pending-5.10/203-kallsyms_uncompressed.patch generic/pending-5.10/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch generic/pending-5.10/920-mangle_bootargs.patch mediatek/patches-5.10/115-dts-bpi64-add-snand-support.patch mediatek/patches-5.10/602-arm64-dts-mediatek-Split-PCIe-node-for-MT2712-MT7622.patch mediatek/patches-5.10/900-dts-mt7622-bpi-r64-aliases-for-dtoverlay.patch ramips/patches-5.10/323-mt7621-memory-detect.patch Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
58 lines
1015 B
Diff
58 lines
1015 B
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
@@ -114,7 +114,7 @@
|
|
};
|
|
|
|
&bch {
|
|
- status = "disabled";
|
|
+ status = "okay";
|
|
};
|
|
|
|
&btif {
|
|
@@ -259,14 +259,40 @@
|
|
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>;
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
|