summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-28 13:21:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-28 13:21:54 +0000
commitdc6533d982e0810d27708ed7f4fa9d434fc98413 (patch)
tree8cfcb1d0d93b13d2a81ea1c5551ca01265a0978e /target/linux/ramips/dts
parent9d18e34052efc4bf289330f578073e8860e0bde6 (diff)
downloadmtk-20170518-dc6533d982e0810d27708ed7f4fa9d434fc98413.zip
mtk-20170518-dc6533d982e0810d27708ed7f4fa9d434fc98413.tar.gz
mtk-20170518-dc6533d982e0810d27708ed7f4fa9d434fc98413.tar.bz2
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> SVN-Revision: 48812
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/MT7628.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi13
2 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/MT7628.dts b/target/linux/ramips/dts/MT7628.dts
index 726e3b1..5e5b0a1 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 d2b95a6..e120e56 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>;
+ };
};