From dc6533d982e0810d27708ed7f4fa9d434fc98413 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 28 Feb 2016 13:21:54 +0000 Subject: 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 --- target/linux/ramips/dts/MT7628.dts | 4 ++++ target/linux/ramips/dts/mt7628an.dtsi | 13 +++++++++++++ 2 files changed, 17 insertions(+) (limited to 'target/linux') 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>; + }; }; -- cgit v1.2.3