ramips: create device tree node for MT7628 WMAC in preparation for future work on...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2016 13:21:54 +0000 (13:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2016 13:21:54 +0000 (13:21 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48812

target/linux/ramips/dts/MT7628.dts
target/linux/ramips/dts/mt7628an.dtsi

index 726e3b12d2da96dcffc842e6b32162f7849d58c0..5e5b0a1928fd3d4ee34cb11c5113ed2ca6e6e64b 100644 (file)
                };
        };
 
+       wmac@10300000 {
+               status = "okay";
+       };
+
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
index d2b95a68c93a6f832f3e8f39f4fbed2575bd5705..e120e56cf4edf4317f874284fe564f3e00d073a4 100644 (file)
                        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>;
+       };
 };