From b0ae41f849c237d2e1c842a9819fb3e3ec73f9b5 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 8 Dec 2014 16:10:46 +0000 Subject: brcm63xx: add DT support for TD-W8900GB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to the vendor tarball, the TD-w8900GB's flash has 64k erase block size, but CFE spans two blocks. So fixup the image offset accordingly but keep block size at its default (64k). Signed-off-by: Álvaro Fernández Rojas [jogo: add commit message, add image offset, change nvram offset] Signed-off-by: Jonas Gorski SVN-Revision: 43572 --- target/linux/brcm63xx/dts/td-w8900gb.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 target/linux/brcm63xx/dts/td-w8900gb.dts (limited to 'target/linux/brcm63xx/dts') diff --git a/target/linux/brcm63xx/dts/td-w8900gb.dts b/target/linux/brcm63xx/dts/td-w8900gb.dts new file mode 100644 index 0000000..c8ff50c --- /dev/null +++ b/target/linux/brcm63xx/dts/td-w8900gb.dts @@ -0,0 +1,30 @@ +/dts-v1/; + +/include/ "bcm6348.dtsi" + +/ { + model = "TP-Link TD-W8900GB"; + compatible = "tp-link,td-w8900gb", "brcm,bcm6348"; +}; + +&pflash { + status = "ok"; + + linux,part-probe = "bcm63xxpart"; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x020000>; + read-only; + }; + + linux@20000 { + label = "linux"; + reg = <0x020000 0x3d0000>; + }; + + nvram@3e0000 { + label = "nvram"; + reg = <0x3f0000 0x010000>; + }; +}; -- cgit v1.1