From: nbd Date: Sun, 28 Feb 2016 13:21:54 +0000 (+0000) Subject: ramips: create device tree node for MT7628 WMAC in preparation for future work on... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5474978798627bd8d39fdfe51a7603ebb36a55f2;p=openwrt.git ramips: create device tree node for MT7628 WMAC in preparation for future work on driver support in mt76 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48812 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ramips/dts/MT7628.dts b/target/linux/ramips/dts/MT7628.dts index 726e3b12d2..5e5b0a1928 100644 --- a/target/linux/ramips/dts/MT7628.dts +++ b/target/linux/ramips/dts/MT7628.dts @@ -20,6 +20,10 @@ }; }; + wmac@10300000 { + status = "okay"; + }; + palmbus@10000000 { spi@b00 { status = "okay"; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index d2b95a68c9..e120e56cf4 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/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>; + }; };