X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FM4-8M.dts;h=ec7d3849f7fb54725e38fe1d5b7aaf245a9c6cc8;hp=c8e7ff51ff2966e21181af3958fac2b6c1a977ef;hb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;hpb=8cd1c997079246942680893adbd21d884e131b84 diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts index c8e7ff51ff..ec7d3849f7 100644 --- a/target/linux/ramips/dts/M4-8M.dts +++ b/target/linux/ramips/dts/M4-8M.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "rt5350.dtsi" +#include "rt5350.dtsi" / { compatible = "M4", "ralink,rt5350-soc"; @@ -9,10 +9,11 @@ palmbus@10000000 { spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "gd25q64"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80", "gd25q64"; spi-max-frequency = <10000000>; @@ -52,13 +53,18 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { compatible = "gpio-leds"; + status { label = "m4:blue:status"; gpios = <&gpio0 9 1>; @@ -70,6 +76,7 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>;