diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-08-12 01:18:53 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-13 08:37:19 +0200 |
commit | 4dc7cb792a8e34b6ad97c7b8058c70311a06bd38 (patch) | |
tree | 65670da86fe47f0f6a7b21c1f4a1ce44d200fe45 /target/linux/ath79/dts | |
parent | b58df9919ef827e4d591e8b1990f0d306f7bdb5f (diff) | |
download | upstream-4dc7cb792a8e34b6ad97c7b8058c70311a06bd38.tar.gz upstream-4dc7cb792a8e34b6ad97c7b8058c70311a06bd38.tar.bz2 upstream-4dc7cb792a8e34b6ad97c7b8058c70311a06bd38.zip |
ath79: add WNDR3700 and WNDR3700v2
Add support for WNDR3700 and WNDR3700v2.
They share most things with WNDR3800.
Only device IDs and partition structure needs to be set.
Note: WNDR3700 (v1) has no NETGEAR_HW_ID, but has
also the NA version of the factory image.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/ar7161_netgear_wndr3700.dts | 34 | ||||
-rw-r--r-- | target/linux/ath79/dts/ar7161_netgear_wndr3700v2.dts | 34 |
2 files changed, 68 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dts new file mode 100644 index 0000000000..4cfe59ab79 --- /dev/null +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "ar7161_netgear_wndr3700.dtsi" + +/ { + compatible = "netgear,wndr3700", "qca,ar7161"; + model = "Netgear WNDR3700"; +}; + +&partitions { + partition@0 { + label = "u-boot"; + reg = <0x000000 0x050000>; + read-only; + }; + + partition@50000 { + label = "u-boot-env"; + reg = <0x050000 0x020000>; + read-only; + }; + + partition@70000 { + label = "firmware"; + reg = <0x070000 0x780000>; + }; + + art: partition@7f0000 { + label = "art"; + reg = <0x7f0000 0x010000>; + read-only; + }; +}; diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700v2.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3700v2.dts new file mode 100644 index 0000000000..1eb376e09f --- /dev/null +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700v2.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "ar7161_netgear_wndr3700.dtsi" + +/ { + compatible = "netgear,wndr3700v2", "qca,ar7161"; + model = "Netgear WNDR3700v2"; +}; + +&partitions { + partition@0 { + label = "u-boot"; + reg = <0x000000 0x050000>; + read-only; + }; + + partition@50000 { + label = "u-boot-env"; + reg = <0x050000 0x020000>; + read-only; + }; + + partition@70000 { + label = "firmware"; + reg = <0x070000 0xf80000>; + }; + + art: partition@ff0000 { + label = "art"; + reg = <0xff0000 0x010000>; + read-only; + }; +}; |