commit | 32e783241d3802e22b4893f283d74eb323f961dd | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Sep 06 13:43:46 2024 +0800 |
committer | developer <developer@mediatek.com> | Mon Sep 09 09:40:44 2024 +0800 |
tree | bbc5b8eb2313831d6826e1bc9ba8a7836ccd6030 | |
parent | abd0fbb2ce12ac96c89cc3be7d368bb1f9a88b56 [diff] |
[][openwrt-24][common][bsp][Add eeprom loading support for MT76] [Description] Add eeprom loading support for MT76 (via mtd) [Release-log] N/A Change-Id: I84143d84b528f7c8cb4c044e4af6c1718c6b4e67 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9601655
diff --git a/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso b/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso index 62d4e86..159cced 100644 --- a/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso +++ b/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso
@@ -43,7 +43,7 @@ reg = <0x0100000 0x0080000>; }; - partition@180000 { + factory: partition@180000 { label = "Factory"; reg = <0x180000 0x0400000>; }; @@ -69,6 +69,22 @@ }; }; + fragment@1 { + target = <&pcie0>; + __overlay__ { + slot0: pcie@0,0 { + reg = <0x0000 0 0 0 0>; + + mt7996@0,0 { + compatible = "mediatek,mt76"; + reg = <0x0000 0 0 0 0>; + device_type = "pci"; + mediatek,mtd-eeprom = <&factory 0x0>; + }; + }; + }; + }; + fragment@2 { target-path = "/chosen"; __overlay__ {