X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FM3.dts;h=0a78afeb85b96bee8a03d0c8b428537a82949215;hb=431105a30677ccba35a1eb181153a6ea027bd8ed;hp=bae84ce4bfdd77af8cb0899be0526a1987bde9d0;hpb=1c23a45a8579a61e11693139122f37d0275d3426;p=openwrt.git diff --git a/target/linux/ramips/dts/M3.dts b/target/linux/ramips/dts/M3.dts index bae84ce4bf..0a78afeb85 100644 --- a/target/linux/ramips/dts/M3.dts +++ b/target/linux/ramips/dts/M3.dts @@ -9,10 +9,11 @@ palmbus@10000000 { spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "w25q32"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80", "w25q32"; 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 = "m3:blue:status"; gpios = <&gpio0 9 1>; @@ -70,11 +76,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; + mode { label = "mode"; gpios = <&gpio0 17 1>;