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 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>;
+       };
 };