mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-17 01:06:35 +00:00
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>
57 lines
1022 B
Plaintext
57 lines
1022 B
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 = <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>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gmac0 {
|
|
status = "okay";
|
|
};
|