X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FFIREWRT.dts;h=e7cfb1174408ac771228be2d2b5e0c51e94ab40e;hb=6093c652e3f455cef3509037bbc7376dde44c344;hp=a6318d0000b9766836a943671b9bc56494bb0f16;hpb=270057b58a11fe598997ce2b284683764b14bfc1;p=openwrt.git diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index a6318d0000..e7cfb11744 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "mt7621.dtsi" +#include "mt7621.dtsi" / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; @@ -8,7 +8,7 @@ memory@0 { device_type = "memory"; - reg = <0x0 0x10000000>; + reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; }; chosen { @@ -26,7 +26,7 @@ m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "mx25l12805d"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80"; spi-max-frequency = <10000000>; @@ -51,9 +51,8 @@ partition@50000 { label = "firmware"; - reg = <0x50000 0x7b0000>; + reg = <0x50000 0xfb0000>; }; - }; }; }; @@ -98,16 +97,23 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + wps { label = "wps"; gpios = <&gpio0 18 1>; linux,code = <0x211>; }; + + power { + label = "power"; + gpios = <&gpio0 23 1>; + linux,code = <116>; + }; }; pinctrl { state_default: pinctrl0 { - gpio { + gpio { ralink,group = "wdt", "rgmii2"; ralink,function = "gpio"; };