Browse Source

ramips: create device tree node for MT7628 WMAC in preparation for future work on driver support in mt76

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 48812
Felix Fietkau 10 years ago
parent
commit
dc6533d982
2 changed files with 17 additions and 0 deletions
  1. 4 0
      target/linux/ramips/dts/MT7628.dts
  2. 13 0
      target/linux/ramips/dts/mt7628an.dtsi

+ 4 - 0
target/linux/ramips/dts/MT7628.dts

@@ -20,6 +20,10 @@
 		};
 	};
 
+	wmac@10300000 {
+		status = "okay";
+	};
+
 	palmbus@10000000 {
 		spi@b00 {
 			status = "okay";

+ 13 - 0
target/linux/ramips/dts/mt7628an.dtsi

@@ -441,4 +441,17 @@
 			device_type = "pci";
 		};
 	};
+
+	wmac: wmac@10300000 {
+		compatible = "mediatek,mt7628-wmac";
+		reg = <0x10300000 100000>;
+
+		interrupt-parent = <&cpuintc>;
+		interrupts = <6>;
+
+		status = "disabled";
+
+		mediatek,mtd-eeprom = <&factory 0x0000>;
+		mediatek,5ghz = <0>;
+	};
 };