ramips: create device tree node for MT7628 WMAC in preparation for future work on...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Feb 2016 13:21:54 +0000 (13:21 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Feb 2016 13:21:54 +0000 (13:21 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48812 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 726e3b1..5e5b0a1 100644 (file)
                };
        };
 
+       wmac@10300000 {
+               status = "okay";
+       };
+
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
index d2b95a6..e120e56 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>;
+       };
 };