aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/td-w8900gb.dts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-12-08 16:10:46 +0000
committerJonas Gorski <jogo@openwrt.org>2014-12-08 16:10:46 +0000
commit544265862fb7bacafe91ea055e74d673ed3dd1ba (patch)
tree19fe833b83e3879ef6bc8211c6e027c300aa5363 /target/linux/brcm63xx/dts/td-w8900gb.dts
parent98f63520b4c523d45ecd124534e4e9ee56e1259e (diff)
downloadupstream-544265862fb7bacafe91ea055e74d673ed3dd1ba.tar.gz
upstream-544265862fb7bacafe91ea055e74d673ed3dd1ba.tar.bz2
upstream-544265862fb7bacafe91ea055e74d673ed3dd1ba.zip
brcm63xx: add DT support for TD-W8900GB
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 <noltari@gmail.com> [jogo: add commit message, add image offset, change nvram offset] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43572 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/dts/td-w8900gb.dts')
-rw-r--r--target/linux/brcm63xx/dts/td-w8900gb.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/td-w8900gb.dts b/target/linux/brcm63xx/dts/td-w8900gb.dts
new file mode 100644
index 0000000000..c8ff50c8f2
--- /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>;
+ };
+};