1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/econet/dts/en751221_generic.dts
Caleb James DeLisle 1cd3660bee econet: Add Nokia G-240G-E and EN751221 recovery image
The Nokia G-240G-E is an xPON device with an EN7526G, 256M of
memory and 128M of flash. It has 1 USB2 port as well as phone and
ethernet but no wifi. Flashing instructions are per the typical
process using xmodem in the bootloader. This and other things
are described here: https://openwrt.org/inbox/toh/bt/g-240g-e_1

In addition, a generic image is offered, this image can be loaded
into memory from within the bootloader and launched directly. It
is recommended on the wiki of G-240G-E and other EcoNet devices
to be used for backing up the flash before flashing OpenWRT.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Link: https://github.com/openwrt/openwrt/pull/20338
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-10-19 22:21:41 +02:00

52 lines
991 B
Text

// 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 = <0x00000000 0x4000000>;
};
chosen {
stdout-path = "/serial@1fbf0000:115200";
linux,usable-memory-range = <0x00020000 0x3fe0000>;
};
};
&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>;
};
};
};