X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FM2M.dts;h=fcc8c04de84f451dfe756081eda1ceab1b56a716;hb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;hp=41910374c978238386424bf597d13dafb6b4b94a;hpb=deb66a555e8856d253a5feb6620ae4d50f404e69;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts index 41910374c9..fcc8c04de8 100644 --- a/target/linux/ramips/dts/M2M.dts +++ b/target/linux/ramips/dts/M2M.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "rt5350.dtsi" +#include "rt5350.dtsi" / { compatible = "M2M", "ralink,rt5350-soc"; @@ -13,10 +13,11 @@ palmbus@10000000 { spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "mx25l6405d"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80", "mx25l6405d"; spi-max-frequency = <10000000>; @@ -58,10 +59,12 @@ gpio-leds { compatible = "gpio-leds"; + wifi { label = "m2m:blue:wifi"; gpios = <&gpio0 7 1>; }; + wan { label = "m2m:green:wan"; gpios = <&gpio0 12 1>; @@ -73,11 +76,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + power { label = "power"; gpios = <&gpio0 1 1>; linux,code = <0x116>; }; + reset { label = "reset"; gpios = <&gpio0 10 1>; @@ -90,7 +95,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; ehci@101c0000 {