mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +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>
69 lines
2.1 KiB
Diff
69 lines
2.1 KiB
Diff
--- a/arch/arm/boot/dts/armada-385-linksys-rango.dts
|
|
+++ b/arch/arm/boot/dts/armada-385-linksys-rango.dts
|
|
@@ -12,8 +12,8 @@
|
|
|
|
/ {
|
|
model = "Linksys WRT3200ACM";
|
|
- compatible = "linksys,rango", "linksys,armada385", "marvell,armada385",
|
|
- "marvell,armada380";
|
|
+ compatible = "linksys,wrt3200acm", "linksys,rango", "linksys,armada385",
|
|
+ "marvell,armada385", "marvell,armada380";
|
|
};
|
|
|
|
&expander0 {
|
|
--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
|
|
+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
|
|
@@ -22,9 +22,10 @@
|
|
#include "armada-xp-mv78230.dtsi"
|
|
|
|
/ {
|
|
- model = "Linksys WRT1900AC";
|
|
- compatible = "linksys,mamba", "marvell,armadaxp-mv78230",
|
|
- "marvell,armadaxp", "marvell,armada-370-xp";
|
|
+ model = "Linksys WRT1900AC v1";
|
|
+ compatible = "linksys,wrt1900ac-v1", "linksys,mamba",
|
|
+ "marvell,armadaxp-mv78230", "marvell,armadaxp",
|
|
+ "marvell,armada-370-xp";
|
|
|
|
aliases {
|
|
led-boot = &led_power;
|
|
--- a/arch/arm/boot/dts/armada-385-linksys-cobra.dts
|
|
+++ b/arch/arm/boot/dts/armada-385-linksys-cobra.dts
|
|
@@ -9,8 +9,9 @@
|
|
#include "armada-385-linksys.dtsi"
|
|
|
|
/ {
|
|
- model = "Linksys WRT1900ACv2";
|
|
- compatible = "linksys,cobra", "linksys,armada385", "marvell,armada385",
|
|
+ model = "Linksys WRT1900AC v2";
|
|
+ compatible = "linksys,wrt1900ac-v2", "linksys,cobra",
|
|
+ "linksys,armada385", "marvell,armada385",
|
|
"marvell,armada380";
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/armada-385-linksys-caiman.dts
|
|
+++ b/arch/arm/boot/dts/armada-385-linksys-caiman.dts
|
|
@@ -10,8 +10,8 @@
|
|
|
|
/ {
|
|
model = "Linksys WRT1200AC";
|
|
- compatible = "linksys,caiman", "linksys,armada385", "marvell,armada385",
|
|
- "marvell,armada380";
|
|
+ compatible = "linksys,wrt1200ac", "linksys,caiman", "linksys,armada385",
|
|
+ "marvell,armada385", "marvell,armada380";
|
|
};
|
|
|
|
&expander0 {
|
|
--- a/arch/arm/boot/dts/armada-385-linksys-shelby.dts
|
|
+++ b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
|
|
@@ -10,7 +10,8 @@
|
|
|
|
/ {
|
|
model = "Linksys WRT1900ACS";
|
|
- compatible = "linksys,shelby", "linksys,armada385", "marvell,armada385",
|
|
+ compatible = "linksys,wrt1900acs", "linksys,shelby",
|
|
+ "linksys,armada385", "marvell,armada385",
|
|
"marvell,armada380";
|
|
};
|
|
|