X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMT7621.dts;h=4013f3c7b53aaf93400b8182b8c1f1deda85cd07;hb=5fba0f0c0c873e0d7179225273ceac89a5d39914;hp=41a1fe4cab7aa975b16593c39662a76d5075167f;hpb=654bc380ec549e3cdcc2c286ef7d67fea9509609;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/MT7621.dts b/target/linux/ramips/dts/MT7621.dts index 41a1fe4cab..4013f3c7b5 100644 --- a/target/linux/ramips/dts/MT7621.dts +++ b/target/linux/ramips/dts/MT7621.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "mt7621.dtsi" +#include "mt7621.dtsi" / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; @@ -15,11 +15,42 @@ bootargs = "console=ttyS0,57600"; }; - sdhci@10130000 { - status = "okay"; + nand@1e003000 { + 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"; +}; + +&xhci { + status = "okay"; +}; - xhci@1E1C0000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci"; + ralink,function = "gpio"; + }; }; };