diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-17 16:50:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-17 16:50:59 +0000 |
commit | 5461345ea809c0ce70f954a34489eecdc235bd20 (patch) | |
tree | a35772851642ce04ff0cc8c63610888b4b57839b | |
parent | 895884d601e2ae5c8dee70d283cdc960e1063028 (diff) | |
download | upstream-5461345ea809c0ce70f954a34489eecdc235bd20.tar.gz upstream-5461345ea809c0ce70f954a34489eecdc235bd20.tar.bz2 upstream-5461345ea809c0ce70f954a34489eecdc235bd20.zip |
ramips: register mt76 device tree info for WSR-1166DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/dts/WSR-1166.dts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts index de197725a3..3d955a7367 100644 --- a/target/linux/ramips/dts/WSR-1166.dts +++ b/target/linux/ramips/dts/WSR-1166.dts @@ -156,4 +156,26 @@ compatible = "gpio-poweroff"; gpios = <&gpio0 0 1>; }; + + pcie@1e140000 { + status = "okay"; + + pcie0 { + mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; + mediatek,mtd-eeprom = <&factory 0x8000>; + mediatek,2ghz = <0>; + }; + }; + + pcie1 { + mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; + mediatek,mtd-eeprom = <&factory 0x0000>; + mediatek,5ghz = <0>; + }; + }; + }; }; |