diff options
author | Mathias Kresin <dev@kresin.me> | 2017-04-12 07:53:56 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-04-25 19:29:59 +0200 |
commit | 2ddaf96a77a92186447ca18935b8a36d46d3db95 (patch) | |
tree | 4cff193fbf9cf8a1a1d83417971fe70ab4e994bd /target/linux/ramips/dts | |
parent | 3cfc909c54c07d5a24d9a1a7496142b82d580878 (diff) | |
download | upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.gz upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.bz2 upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.zip |
ramips: add ZBT-WE826 32MB variant
The ZBT-WG826 is available with 16 or 32 MByte of flash. Split the
device tree source file, rename the currently supported 16 MByte
version and add the 32 MByte variant.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/ZBT-WE826-16M.dts | 12 | ||||
-rw-r--r-- | target/linux/ramips/dts/ZBT-WE826-32M.dts | 12 | ||||
-rw-r--r-- | target/linux/ramips/dts/ZBT-WE826.dtsi (renamed from target/linux/ramips/dts/ZBT-WE826.dts) | 6 |
3 files changed, 25 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/ZBT-WE826-16M.dts b/target/linux/ramips/dts/ZBT-WE826-16M.dts new file mode 100644 index 0000000000..de3c4c135d --- /dev/null +++ b/target/linux/ramips/dts/ZBT-WE826-16M.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ZBT-WG3526.dtsi" + +/ { + compatible = "zbtlink,zbt-we826-16m", "zbtlink,zbt-we826", "ralink,mt7620a-soc"; + model = "ZBT-WE826 (16M)"; +}; + +&firmware { + reg = <0x50000 0xfb0000>; +};
\ No newline at end of file diff --git a/target/linux/ramips/dts/ZBT-WE826-32M.dts b/target/linux/ramips/dts/ZBT-WE826-32M.dts new file mode 100644 index 0000000000..c8383cbb64 --- /dev/null +++ b/target/linux/ramips/dts/ZBT-WE826-32M.dts @@ -0,0 +1,12 @@ +/dts-v1/; + +#include "ZBT-WG3526.dtsi" + +/ { + compatible = "zbtlink,zbt-we826-32m", "zbtlink,zbt-we826", "ralink,mt7620a-soc"; + model = "ZBT-WE826 (32M)"; +}; + +&firmware { + reg = <0x50000 0x1fb0000>; +};
\ No newline at end of file diff --git a/target/linux/ramips/dts/ZBT-WE826.dts b/target/linux/ramips/dts/ZBT-WE826.dtsi index 8a453bca32..62ea4195a8 100644 --- a/target/linux/ramips/dts/ZBT-WE826.dts +++ b/target/linux/ramips/dts/ZBT-WE826.dtsi @@ -5,9 +5,6 @@ #include <dt-bindings/input/input.h> / { - compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc"; - model = "ZBT-WE826"; - chosen { bootargs = "console=ttyS0,115200"; }; @@ -81,9 +78,8 @@ read-only; }; - partition@50000 { + firmware: partition@50000 { label = "firmware"; - reg = <0x50000 0xfb0000>; }; }; }; |