mirror of
https://github.com/cjdelisle/openwrt.git
synced 2025-09-16 15:59:28 +00:00
Add support for TP-Link Archer VR1200v (v2), a DSL modem based on the EN7513G SoC. Installation instructions can be found here: https://openwrt.org/inbox/toh/tp-link/archer_vr1200v Also added a "Generic EN751221" initramfs image for testing and recovery of non-specific EN751221 devices. Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include "en751221.dtsi"
|
|
|
|
/ {
|
|
model = "Generic EN751221";
|
|
compatible = "econet,en751221";
|
|
|
|
memory@0 {
|
|
// We hope at least 64MB will be available on every device
|
|
device_type = "memory";
|
|
reg = <0x00020000 0x4000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200";
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@1 {
|
|
// We don't know how big the flash is
|
|
// Put 1GB and let it truncate
|
|
label = "all_flash";
|
|
reg = <0x0 0x40000000>;
|
|
read-only;
|
|
};
|
|
partition@2 {
|
|
// We don't know how big the bootloader
|
|
// is, but when we're doing testing, lets
|
|
// make sure nobody touches anything below 4MB
|
|
label = "bootloader";
|
|
reg = <0x0 0x00400000>;
|
|
read-only;
|
|
};
|
|
partition@3 {
|
|
label = "rest_of_flash";
|
|
reg = <0x00400000 0x40000000>;
|
|
};
|
|
};
|
|
}; |