aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-03-27 15:34:33 +0100
committerJohn Crispin <john@phrozen.org>2020-03-27 16:18:57 +0100
commitd3f058db1cb9b2d43764cd0d84fdc2779f0abacf (patch)
treee94b7109ae76212b0f00f7380e22816ac5b49e52 /target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch
parent22d896eb218765f362587df6008f67018435d6a5 (diff)
downloadupstream-d3f058db1cb9b2d43764cd0d84fdc2779f0abacf.tar.gz
upstream-d3f058db1cb9b2d43764cd0d84fdc2779f0abacf.tar.bz2
upstream-d3f058db1cb9b2d43764cd0d84fdc2779f0abacf.zip
mediatek: more v5.4 mtd fixes
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch')
-rw-r--r--target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch b/target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch
new file mode 100644
index 0000000000..463602e552
--- /dev/null
+++ b/target/linux/mediatek/patches-5.4/0310-dts-add-wmac-support-for-mt7622-rfb1.patch
@@ -0,0 +1,32 @@
+diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+index 1ec68de..44cc80c 100644
+--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
++++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+@@ -105,6 +105,18 @@
+ regulator-boot-on;
+ regulator-always-on;
+ };
++
++ wmac: wmac@18000000 {
++ compatible = "mediatek,mt7622-wmac";
++ reg = <0 0x18000000 0 0x100000>;
++ interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
++
++ mediatek,infracfg = <&infracfg>;
++ status = "okay";
++
++ power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
++ mediatek,mtd-eeprom = <&factory 0x0000>;
++ };
+ };
+
+ &bch {
+@@ -579,7 +591,7 @@
+ reg = <0x140000 0x0080000>;
+ };
+
+- partition@1c0000 {
++ factory: partition@1c0000 {
+ label = "Factory";
+ reg = <0x1c0000 0x0040000>;
+ };