[OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.
郭传鈜
gch981213 at gmail.com
Fri Feb 6 08:32:17 EST 2015
The title should be [PATCH,v2] right...Shall I send it again?
2015-02-06 21:21 GMT+08:00 郭传鈜 <gch981213 at gmail.com>:
> Sorry,I forgot another simple problem of this device tree in the previus
> patch.
> The "pcie0" part in pcie at 10140000 should be defined as "pcie-bridge".
> And 2ghz should be disabled on this router.
> I think the problem should be fixed now.Roger,Please test this patch:D
>
> Signed-off-by: 郭传鈜 <gch981213 at gmail.com>
> ---
> target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
> b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
> index fda3325..6f57f39 100644
> --- a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
> +++ b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
> @@ -97,11 +97,12 @@
> pcie at 10140000 {
> status = "okay";
>
> - pcie0 {
> + pcie-bridge {
> mt76 at 0,0 {
> reg = <0x0000 0 0 0 0>;
> device_type = "pci";
> - mediatek,mtd-eeprom = <&factory 0x8000>;
> + mediatek,mtd-eeprom = <&factory 32768>;
> + mediatek,2ghz = <0>;
> };
> };
> };
> --
> 2.1.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150206/92f42754/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list