2020-04-07 08:08:16 +00:00
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
2020-04-03 09:52:35 +00:00
|
|
|
@@ -712,6 +712,17 @@
|
|
|
|
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-07-20 16:18:50 +00:00
|
|
|
@@ -591,7 +591,7 @@
|
2020-03-27 14:34:33 +00:00
|
|
|
reg = <0x140000 0x0080000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
- partition@1c0000 {
|
|
|
|
+ factory: partition@1c0000 {
|
|
|
|
label = "Factory";
|
|
|
|
reg = <0x1c0000 0x0040000>;
|
|
|
|
};
|
2020-07-20 16:18:50 +00:00
|
|
|
@@ -648,3 +648,8 @@
|
2020-04-03 09:52:35 +00:00
|
|
|
pinctrl-0 = <&watchdog_pins>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&wmac {
|
|
|
|
+ mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|