X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMT7621.dts;h=83d0c86c183e729bb722d63d1b20db8c09d6dda1;hb=70b192f57358f753842cbe1f8f82e26e8c6f9e1e;hp=7c7f159f01e3d5bf881704106c95d3c1b63f690f;hpb=bfcdc8711cc437f836fa529183e35c0e845da4fc;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/ramips/dts/MT7621.dts b/target/linux/ramips/dts/MT7621.dts index 7c7f159f01..83d0c86c18 100644 --- a/target/linux/ramips/dts/MT7621.dts +++ b/target/linux/ramips/dts/MT7621.dts @@ -1,12 +1,13 @@ /dts-v1/; -/include/ "mt7621.dtsi" +#include "mt7621.dtsi" / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "Mediatek MT7621 evaluation board"; memory@0 { + device_type = "memory"; reg = <0x0 0x2000000>; }; @@ -14,3 +15,40 @@ bootargs = "console=ttyS0,57600"; }; }; + +&nand { + status = "okay"; + + partition@0 { + label = "uboot"; + reg = <0x00000 0x80000>; /* 64 KB */ + }; + + partition@80000 { + label = "uboot_env"; + reg = <0x80000 0x80000>; /* 64 KB */ + }; + + partition@100000 { + label = "factory"; + reg = <0x100000 0x40000>; + }; + + partition@140000 { + label = "rootfs"; + reg = <0x140000 0xec0000>; + }; +}; + +&sdhci { + status = "okay"; +}; + +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci"; + ralink,function = "gpio"; + }; + }; +};