mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
431b177afa
Make GPIO keys active-low. Add DSA support Signed-off-by: Felix Fietkau <nbd@nbd.name>
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
|
|
@@ -591,7 +591,7 @@
|
|
reg = <0x140000 0x0080000>;
|
|
};
|
|
|
|
- partition@1c0000 {
|
|
+ factory: partition@1c0000 {
|
|
label = "Factory";
|
|
reg = <0x1c0000 0x0040000>;
|
|
};
|
|
@@ -648,3 +648,8 @@
|
|
pinctrl-0 = <&watchdog_pins>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&wmac {
|
|
+ mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
+ status = "okay";
|
|
+};
|