diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-02-28 13:21:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-02-28 13:21:54 +0000 |
commit | d9b6ef4c9ec127c57255d409208688d427042a6e (patch) | |
tree | e46f067f8d66fa524ccf90c2a1d0ac6a50786215 /target/linux/ramips | |
parent | c27cf6e0c60fea4400ba62dfe68bdd262a6a504d (diff) | |
download | master-187ad058-d9b6ef4c9ec127c57255d409208688d427042a6e.tar.gz master-187ad058-d9b6ef4c9ec127c57255d409208688d427042a6e.tar.bz2 master-187ad058-d9b6ef4c9ec127c57255d409208688d427042a6e.zip |
ramips: create device tree node for MT7628 WMAC in preparation for future work on driver support in mt76
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/MT7628.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 13 |
2 files changed, 17 insertions, 0 deletions
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>; + }; }; |