mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
69 lines
1.2 KiB
Diff
69 lines
1.2 KiB
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
@@ -538,6 +538,65 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+&bch {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&snfi {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&serial_nand_pins>;
|
|
+ status = "okay";
|
|
+ flash@0 {
|
|
+ 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 = "Preloader";
|
|
+ reg = <0x00000 0x0080000>;
|
|
+ read-only;
|
|
+ };
|
|
+
|
|
+ partition@80000 {
|
|
+ label = "ATF";
|
|
+ reg = <0x80000 0x0040000>;
|
|
+ };
|
|
+
|
|
+ partition@c0000 {
|
|
+ label = "Bootloader";
|
|
+ reg = <0xc0000 0x0080000>;
|
|
+ };
|
|
+
|
|
+ partition@140000 {
|
|
+ label = "Config";
|
|
+ reg = <0x140000 0x0080000>;
|
|
+ };
|
|
+
|
|
+ partition@1c0000 {
|
|
+ label = "Factory";
|
|
+ reg = <0x1c0000 0x0100000>;
|
|
+ };
|
|
+
|
|
+ partition@200000 {
|
|
+ label = "firmware";
|
|
+ reg = <0x2c0000 0x2000000>;
|
|
+ };
|
|
+
|
|
+ partition@2200000 {
|
|
+ label = "User_data";
|
|
+ reg = <0x22c0000 0x4000000>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
&spi0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spic0_pins>;
|