mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
b299002877
Refreshed patches, removed upstreamed patches: oxnas: 003-ARM-dts-oxnas-Fix-clear-mask-property.patch generic: 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch Run tested: apu2, qemu-x86-64, apalis Build tested: sunxi/a53, imx6, x86/64, ipq40xx Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2] Signed-off-by: Petr Štetiar <ynezz@true.cz>
41 lines
950 B
Diff
41 lines
950 B
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
@@ -712,6 +712,17 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ wmac: wmac@18000000 {
|
|
+ compatible = "mediatek,mt7622-wmac";
|
|
+ reg = <0 0x18000000 0 0x100000>;
|
|
+ interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
|
|
+
|
|
+ mediatek,infracfg = <&infracfg>;
|
|
+ status = "disabled";
|
|
+
|
|
+ power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
|
|
+ };
|
|
+
|
|
ssusbsys: ssusbsys@1a000000 {
|
|
compatible = "mediatek,mt7622-ssusbsys",
|
|
"syscon";
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
@@ -579,7 +579,7 @@
|
|
reg = <0x140000 0x0080000>;
|
|
};
|
|
|
|
- partition@1c0000 {
|
|
+ factory: partition@1c0000 {
|
|
label = "Factory";
|
|
reg = <0x1c0000 0x0040000>;
|
|
};
|
|
@@ -636,3 +636,8 @@
|
|
pinctrl-0 = <&watchdog_pins>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&wmac {
|
|
+ mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
+ status = "okay";
|
|
+};
|