From 14b81c909f5839267ca3c450ce739582f27cecfb Mon Sep 17 00:00:00 2001 From: Chen Minqiang Date: Fri, 30 Nov 2018 18:41:43 +0800 Subject: [PATCH] ramips: mt7620: add missing pci wifi nodes to dts files These devices has pci wifi but not defined in dts: HC5761 HC5861 TINY-AC Signed-off-by: Chen Minqiang --- target/linux/ramips/dts/HC5761.dts | 8 ++++++++ target/linux/ramips/dts/HC5861.dts | 8 ++++++++ target/linux/ramips/dts/TINY-AC.dts | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/target/linux/ramips/dts/HC5761.dts b/target/linux/ramips/dts/HC5761.dts index 31a5aa760c7..785535811dc 100644 --- a/target/linux/ramips/dts/HC5761.dts +++ b/target/linux/ramips/dts/HC5761.dts @@ -37,3 +37,11 @@ }; }; }; + +&pcie0 { + mt76@0,0 { + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + }; +}; diff --git a/target/linux/ramips/dts/HC5861.dts b/target/linux/ramips/dts/HC5861.dts index 371f8db217e..f157991d910 100644 --- a/target/linux/ramips/dts/HC5861.dts +++ b/target/linux/ramips/dts/HC5861.dts @@ -97,3 +97,11 @@ &gsw { mediatek,port4 = "gmac"; }; + +&pcie0 { + mt76@0,0 { + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + }; +}; diff --git a/target/linux/ramips/dts/TINY-AC.dts b/target/linux/ramips/dts/TINY-AC.dts index 93ab067ef66..d5a232124db 100644 --- a/target/linux/ramips/dts/TINY-AC.dts +++ b/target/linux/ramips/dts/TINY-AC.dts @@ -161,3 +161,11 @@ }; }; }; + +&pcie0 { + mt76@0,0 { + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + }; +};