463602e55224905d08f89f7686d27e776db62f65
[openwrt/staging/wigyori.git] / target / linux / mediatek / patches-5.4 / 0310-dts-add-wmac-support-for-mt7622-rfb1.patch
1 diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
2 index 1ec68de..44cc80c 100644
3 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
4 +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
5 @@ -105,6 +105,18 @@
6 regulator-boot-on;
7 regulator-always-on;
8 };
9 +
10 + wmac: wmac@18000000 {
11 + compatible = "mediatek,mt7622-wmac";
12 + reg = <0 0x18000000 0 0x100000>;
13 + interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
14 +
15 + mediatek,infracfg = <&infracfg>;
16 + status = "okay";
17 +
18 + power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
19 + mediatek,mtd-eeprom = <&factory 0x0000>;
20 + };
21 };
22
23 &bch {
24 @@ -579,7 +591,7 @@
25 reg = <0x140000 0x0080000>;
26 };
27
28 - partition@1c0000 {
29 + factory: partition@1c0000 {
30 label = "Factory";
31 reg = <0x1c0000 0x0040000>;
32 };