2020-04-07 08:08:16 +00:00
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
2021-03-04 20:37:13 +00:00
|
|
|
@@ -716,6 +716,17 @@
|
2020-04-03 09:52:35 +00:00
|
|
|
status = "disabled";
|
2020-03-27 14:34:33 +00:00
|
|
|
};
|
2020-04-03 09:52:35 +00:00
|
|
|
|
2020-03-27 14:34:33 +00:00
|
|
|
+ wmac: wmac@18000000 {
|
|
|
|
+ compatible = "mediatek,mt7622-wmac";
|
|
|
|
+ reg = <0 0x18000000 0 0x100000>;
|
|
|
|
+ interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
+
|
|
|
|
+ mediatek,infracfg = <&infracfg>;
|
2020-04-03 09:52:35 +00:00
|
|
|
+ status = "disabled";
|
2020-03-27 14:34:33 +00:00
|
|
|
+
|
|
|
|
+ power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
|
|
|
|
+ };
|
2020-04-03 09:52:35 +00:00
|
|
|
+
|
|
|
|
ssusbsys: ssusbsys@1a000000 {
|
|
|
|
compatible = "mediatek,mt7622-ssusbsys",
|
|
|
|
"syscon";
|
2020-04-07 08:08:16 +00:00
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
2020-11-11 20:30:36 +00:00
|
|
|
@@ -589,7 +589,7 @@
|
2020-03-27 14:34:33 +00:00
|
|
|
reg = <0x140000 0x0080000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
- partition@1c0000 {
|
|
|
|
+ factory: partition@1c0000 {
|
|
|
|
label = "Factory";
|
|
|
|
reg = <0x1c0000 0x0040000>;
|
|
|
|
};
|
2020-11-11 20:30:36 +00:00
|
|
|
@@ -646,3 +646,8 @@
|
2020-04-03 09:52:35 +00:00
|
|
|
pinctrl-0 = <&watchdog_pins>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&wmac {
|
|
|
|
+ mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|