X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FM2M.dts;h=c547b5f5b639914594b1894f0716fbea267587c7;hb=4a5158bd2a733a2967d6967701e0e97eed80dfda;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..c547b5f5b6 100644 --- a/target/linux/ramips/dts/M2M.dts +++ b/target/linux/ramips/dts/M2M.dts @@ -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 {