openwrt-6.x/target/linux/econet/dts/en751221_tplink_archer-vr1200v-v2.dts
Caleb James DeLisle d6b4b63850 econet: basic Ethernet support
This is about as simple as it gets, it's able to start up and put
the onboard switch into dumb switch mode and then send untagged
frames which become available on every switch port.

It is out-of-tree to allow for rapid development and it is being
proposed now because even in this state it brings a lot of value
to the EcoNet platform and it is a fairly complex ethernet system
so it will take some time before the driver is in a state that
may be considered for upstreaming.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Link: https://github.com/openwrt/openwrt/pull/20685
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-12-04 22:58:00 +01:00

105 lines
1.9 KiB
Plaintext

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/dts-v1/;
#include "en751221.dtsi"
/ {
model = "TP-Link Archer VR1200v (v2)";
compatible = "tplink,archer-vr1200v-v2", "econet,en751221";
memory@0 {
device_type = "memory";
reg = <0x00000000 0x8000000>;
};
chosen {
stdout-path = "/serial@1fbf0000:115200";
linux,usable-memory-range = <0x00020000 0x07fe0000>;
};
};
&nand {
status = "okay";
econet,bmt;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x80000>;
read-only;
};
partition@80000 {
label = "misc";
reg = <0x80000 0x140000>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
eeprom_misc_80000: eeprom@80000 {
/* MT7592 */
reg = <0x80000 0x200>;
};
eeprom_misc_a0000: eeprom@a0000 {
/* MT7613BE */
reg = <0xa0000 0x600>;
};
macaddr_misc_8f100: macaddr@8f100 {
compatible = "mac-base";
reg = <0x4f100 0x6>;
#nvmem-cell-cells = <1>;
};
};
};
partition@1c0000 {
label = "tclinux";
reg = <0x1c0000 0x1e40000>;
econet,enable-remap;
};
partition@5c0000 {
label = "rootfs";
reg = <0x5c0000 0x1a40000>;
linux,rootfs;
};
partition@2000000 {
label = "firmware_factory";
reg = <0x2000000 0x1e40000>;
};
partition@3e40000 {
label = "unused";
reg = <0x3e40000 0x1a0000>;
};
partition@3fe0000 {
label = "reserve";
reg = <0x3fe0000 0x20000>;
};
partition@4000000 {
label = "openwrt_ubi";
/* From the factory this is unallocated space, so it's ours for the taking.
* We have up to 0x35e0000 of space, but we reserve 10 eraseblocks (1.25MB)
* in case the BMT steals them from us.
*/
reg = <0x4000000 0x34a0000>;
};
};
};
&gmac0 {
status = "okay";
nvmem-cells = <&macaddr_misc_8f100 0>;
nvmem-cell-names = "mac-address";
};