mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
df6f3090c4
The Linksys devices in mvebu target feature a mixed naming, where parts are based on the official product name (device node, image; e.g. WRT3200ACM) and parts are based on the internal code name (DTS file name, compatible, LED labels; e.g. rango). This inconsistent naming has been perceived as quite confusing. A recent attempt by Paul Spooren to harmonize this naming in kernel has been declined there. However, for us it still makes sense to apply at least a part of these changes locally. Primarily, this patch changes the compatible in DTS and thus the board name used in various scripts to have them in line with the device, model and image names. Due to the recent switch from swconfig to DSA, this allows us to drop SUPPORTED_DEVICES and thus prevent seamless upgrade between these incompatible setups. However, this does not include the LED label rename from Paul's initial patch: I don't think it's worth keeping the enormous diff locally for this case, as we can implement this much easier in 01_leds if we have to live with the inconsistency anyway. Signed-off-by: Paul Spooren <mail@aparcar.org> [rebase, extend to all devices, drop DT LED changes] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
26 lines
464 B
Diff
26 lines
464 B
Diff
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
|
|
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
|
|
@@ -116,7 +116,7 @@
|
|
};
|
|
|
|
ð2 {
|
|
- status = "okay";
|
|
+ status = "disabled";
|
|
phy-mode = "sgmii";
|
|
buffer-manager = <&bm>;
|
|
bm,pool-long = <2>;
|
|
@@ -200,10 +200,10 @@
|
|
label = "wan";
|
|
};
|
|
|
|
- port@5 {
|
|
- reg = <5>;
|
|
+ port@6 {
|
|
+ reg = <6>;
|
|
label = "cpu";
|
|
- ethernet = <ð2>;
|
|
+ ethernet = <ð0>;
|
|
|
|
fixed-link {
|
|
speed = <1000>;
|