From: Felix Fietkau 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://git.lede-project.org./?a=commitdiff_plain;h=dc6533d982e0810d27708ed7f4fa9d434fc98413;p=openwrt%2Fstaging%2Fwigyori.git ramips: create device tree node for MT7628 WMAC in preparation for future work on driver support in mt76 Signed-off-by: Felix Fietkau SVN-Revision: 48812 --- 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>; + }; };