X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMAC1200RV2.dts;h=bcbe55f3f890fc0335747f19af4d706cf2473754;hb=64878a561621e3af3708d3394c4f89473d7de1af;hp=f52be3c51c15b46af6779c823ca0e3dd0d2c0dfb;hpb=77b807999d86498c4378a136bd366d09eb2c9bd5;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/MAC1200RV2.dts b/target/linux/ramips/dts/MAC1200RV2.dts index f52be3c51c..bcbe55f3f8 100644 --- a/target/linux/ramips/dts/MAC1200RV2.dts +++ b/target/linux/ramips/dts/MAC1200RV2.dts @@ -2,8 +2,11 @@ #include "mt7628an.dtsi" +#include +#include + / { - compatible = "mercury,mac1200rv2", "mediatek,mt7628an-soc"; + compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc"; model = "Mercury MAC1200R v2"; chosen { @@ -19,7 +22,7 @@ compatible = "gpio-leds"; status { label = "mac1200rv2:green:status"; - gpios = <&gpio0 11 1>; + gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; }; }; @@ -30,9 +33,8 @@ m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "w25q128"; + compatible = "jedec,spi-nor"; reg = <0 0>; - linux,modalias = "m25p80", "w25q128"; spi-max-frequency = <10000000>; m25p,chunked-io = <32>; @@ -73,7 +75,7 @@ ðernet { pinctrl-names = "default"; mtd-mac-address = <&factory 0xd>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; &wmac { @@ -88,7 +90,7 @@ reg = <0x0000 0 0 0 0>; device_type = "pci"; mediatek,mtd-eeprom = <&art 0x1000>; - mediatek,2ghz = <0>; + ieee80211-freq-limit = <5000000 6000000>; }; }; };