mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-13 00:10:21 +00:00
ipq40xx: dts: add ethernet0 alias for all devices
Updating the driver patches for ipq40xx (correctly) removed the ethernet0 alias from qcom-ipq4019.dtsi; however, on some devices this alias is needed for the bootloader to set MAC addresses in the FDT. As it is unknown which devices actually need the alias, simply add it to all devices trees for now that enable the &gmac now to avoid regressions from previous OpenWrt releases. The additional alias should not cause any issues even when it is not needed. A TODO comment is added to the same Device Trees to document that the alias may not be needed (hopefully preventing it from being copied unnecessarily to newly added devices in the future). The following devices are known to need the alias for correct MAC address assignment, so no TODO comment is added: - FRITZ!Box 4040 - FRITZ!Box 7530 Fixes:cd9c721124
("ipq40xx: 6.1: use latest DSA and ethernet patches") Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Link: https://github.com/openwrt/openwrt/pull/17442 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commitd09dd75fbd
)
This commit is contained in:
parent
3c8b23fad8
commit
66229e2093
@ -52,6 +52,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_green;
|
||||
led-failsafe = &led_status_green;
|
||||
led-running = &led_status_green;
|
||||
|
@ -15,6 +15,8 @@
|
||||
led-failsafe = &status;
|
||||
led-running = &status;
|
||||
led-upgrade = &status;
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
ethernet1 = &swport5;
|
||||
};
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_user;
|
||||
led-failsafe = &led_user;
|
||||
led-running = &led_user;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "ezviz,cs-w3-wd1200g-eup";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_green;
|
||||
led-failsafe = &led_status_red;
|
||||
led-running = &led_status_blue;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "dlink,dap-2610";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_red;
|
||||
led-failsafe = &led_red;
|
||||
led-running = &led_green;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "linksys,ea6350v3";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power;
|
||||
led-failsafe = &power;
|
||||
led-running = &power;
|
||||
|
@ -41,6 +41,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power;
|
||||
led-failsafe = &power;
|
||||
led-running = &power;
|
||||
|
@ -46,6 +46,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power_amber;
|
||||
led-failsafe = &power_amber;
|
||||
led-running = &power_green;
|
||||
|
@ -11,6 +11,7 @@
|
||||
compatible = "avm,fritzbox-4040";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power;
|
||||
led-failsafe = &flash;
|
||||
led-running = &power;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "glinet,gl-a1300", "qcom,ipq4019";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_run;
|
||||
led-failsafe = &led_run;
|
||||
led-running = &led_run;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "glinet,gl-ap1300";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_user;
|
||||
led-failsafe = &led_user;
|
||||
led-running = &led_user;
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
ethernet1 = &swport5;
|
||||
};
|
||||
|
||||
|
@ -9,6 +9,11 @@
|
||||
model = "devolo Magic 2 WiFi next";
|
||||
compatible = "devolo,magic-2-wifi-next";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x10000000>;
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status;
|
||||
led-failsafe = &led_status;
|
||||
led-running = &led_status;
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power;
|
||||
led-failsafe = &power;
|
||||
led-running = &power;
|
||||
|
@ -52,6 +52,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_purple;
|
||||
led-failsafe = &led_status_yellow;
|
||||
led-running = &led_status_cyan;
|
||||
|
@ -16,6 +16,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
|
@ -7,6 +7,8 @@
|
||||
compatible = "teltonika,rutx50";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_rssi0;
|
||||
led-failsafe = &led_rssi0;
|
||||
led-running = &led_rssi0;
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_user;
|
||||
led-failsafe = &led_user;
|
||||
led-running = &led_user;
|
||||
|
@ -16,6 +16,8 @@
|
||||
led-failsafe = &led_power_amber;
|
||||
led-running = &led_power_green;
|
||||
led-upgrade = &led_power_amber;
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
ethernet1 = &swport5;
|
||||
};
|
||||
|
||||
|
@ -18,6 +18,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_user;
|
||||
led-failsafe = &led_user;
|
||||
led-running = &led_user;
|
||||
|
@ -10,6 +10,8 @@
|
||||
compatible = "linksys,whw01";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
serial0 = &blsp1_uart1;
|
||||
led-boot = &led_system_blue;
|
||||
led-running = &led_system_blue;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "pakedge,wr-1";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
label-mac-device = &gmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
|
@ -9,6 +9,11 @@
|
||||
model = "Luma Home WRTQ-329ACN";
|
||||
compatible = "luma,wrtq-329acn";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
|
||||
i2c-gpio {
|
||||
compatible = "i2c-gpio";
|
||||
sda-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||
|
@ -52,6 +52,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_green;
|
||||
led-failsafe = &led_status_green;
|
||||
led-running = &led_status_green;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "mobipromo,cm520-79f";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_sys;
|
||||
led-failsafe = &led_sys;
|
||||
led-running = &led_sys;
|
||||
|
@ -11,6 +11,11 @@
|
||||
/ {
|
||||
model = "Qxwlan E2600AC c1";
|
||||
compatible = "qxwlan,e2600ac-c1";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_spi1 {
|
||||
|
@ -11,6 +11,11 @@
|
||||
/ {
|
||||
model = "Qxwlan E2600AC c2";
|
||||
compatible = "qxwlan,e2600ac-c2";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_spi1 {
|
||||
|
@ -15,6 +15,7 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power_green;
|
||||
led-failsafe = &info_red;
|
||||
led-running = &power_green;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "avm,fritzrepeater-1200";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power_green;
|
||||
led-failsafe = &power_red;
|
||||
led-running = &power_green;
|
||||
|
@ -11,6 +11,8 @@
|
||||
compatible = "avm,fritzrepeater-3000";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power_led;
|
||||
led-failsafe = &power_led;
|
||||
led-running = &power_led;
|
||||
|
@ -20,6 +20,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
ethernet1 = &swport4;
|
||||
};
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
compatible = "8dev,habanero-dvk";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status;
|
||||
led-failsafe = &led_status;
|
||||
led-running = &led_status;
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_blue;
|
||||
led-failsafe = &led_status_red;
|
||||
led-running = &led_status_blue;
|
||||
|
@ -21,6 +21,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status_blue;
|
||||
led-failsafe = &led_status_red;
|
||||
led-running = &led_status_blue;
|
||||
|
@ -15,6 +15,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_backlight_white;
|
||||
led-failsafe = &led_status_green;
|
||||
led-running = &led_status_green;
|
||||
|
@ -35,6 +35,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &user;
|
||||
led-failsafe = &user;
|
||||
led-running = &user;
|
||||
|
@ -15,6 +15,8 @@
|
||||
led-failsafe = &led_red0;
|
||||
led-running = &led_blue0;
|
||||
led-upgrade = &led_red0;
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
ethernet1 = &swport4;
|
||||
};
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
compatible = "zte,mf18a";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
|
@ -13,6 +13,8 @@
|
||||
compatible = "zte,mf282plus";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_internal;
|
||||
led-failsafe = &led_internal;
|
||||
led-running = &led_internal;
|
||||
|
@ -12,6 +12,8 @@
|
||||
compatible = "zte,mf286d";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_internal;
|
||||
led-failsafe = &led_internal;
|
||||
led-running = &led_internal;
|
||||
|
@ -13,6 +13,8 @@
|
||||
compatible = "zte,mf289f";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_status;
|
||||
led-failsafe = &led_status;
|
||||
led-running = &led_status;
|
||||
|
@ -12,6 +12,8 @@
|
||||
compatible = "sony,ncp-hg100-cellular";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_cloud_green;
|
||||
led-failsafe = &led_cloud_red;
|
||||
led-running = &led_cloud_green;
|
||||
|
@ -44,6 +44,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power_orange;
|
||||
led-failsafe = &led_status_blue;
|
||||
led-running = &led_power_orange;
|
||||
|
@ -12,6 +12,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_sys;
|
||||
led-failsafe = &led_sys;
|
||||
led-running = &led_sys;
|
||||
|
@ -16,6 +16,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
|
@ -14,6 +14,8 @@
|
||||
compatible = "cellc,rtl30vw";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power_blue;
|
||||
led-failsafe = &led_power_red;
|
||||
led-running = &led_power_blue;
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_blue;
|
||||
led-failsafe = &led_red;
|
||||
led-running = &led_blue;
|
||||
|
@ -11,6 +11,8 @@
|
||||
model = "SKSpruce WIA3300-20";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
label-mac-device = &gmac;
|
||||
led-boot = &led_status_red;
|
||||
led-failsafe = &led_status_lime;
|
||||
|
@ -14,6 +14,8 @@
|
||||
compatible = "google,wifi", "google,gale-v2", "qcom,ipq4019";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
label-mac-device = &gmac0;
|
||||
led-boot = &led0_blue;
|
||||
led-failsafe = &led0_red;
|
||||
|
@ -29,6 +29,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_power_blue;
|
||||
led-failsafe = &led_power_orange;
|
||||
led-running = &led_power_white;
|
||||
|
@ -26,6 +26,11 @@
|
||||
};
|
||||
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
|
||||
soc {
|
||||
tcsr@1949000 {
|
||||
compatible = "qcom,tcsr";
|
||||
|
@ -73,6 +73,8 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &status;
|
||||
led-failsafe = &status;
|
||||
led-upgrade = &status;
|
||||
|
@ -10,6 +10,8 @@
|
||||
compatible = "aruba,ap-303h";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_system_green;
|
||||
led-failsafe = &led_system_red;
|
||||
led-running = &led_system_green;
|
||||
|
@ -6,6 +6,11 @@
|
||||
#include <dt-bindings/soc/qcom,tcsr.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x10000000>;
|
||||
|
@ -25,6 +25,8 @@
|
||||
compatible = "glinet,gl-b1300";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &power;
|
||||
led-failsafe = &power;
|
||||
led-running = &power;
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &status_green;
|
||||
led-failsafe = &status_red;
|
||||
led-running = &status_green;
|
||||
|
@ -10,6 +10,8 @@
|
||||
compatible = "extreme-networks,ws-ap3915i";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_system_green;
|
||||
led-failsafe = &led_system_amber;
|
||||
led-running = &led_system_green;
|
||||
|
@ -10,6 +10,8 @@
|
||||
compatible = "extreme-networks,ws-ap391x";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
led-boot = &led_system_green;
|
||||
led-failsafe = &led_system_red;
|
||||
led-running = &led_system_green;
|
||||
|
@ -9,6 +9,11 @@
|
||||
model = "Wallystech DR40X9";
|
||||
compatible = "wallys,dr40x9";
|
||||
|
||||
aliases {
|
||||
// TODO: Verify if the ethernet0 alias is needed
|
||||
ethernet0 = &gmac;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user