aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch')
-rw-r--r--target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch21
1 files changed, 9 insertions, 12 deletions
diff --git a/target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch b/target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch
index 4c4fbec764..b837989d48 100644
--- a/target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch
+++ b/target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch
@@ -1,23 +1,20 @@
--- a/arch/arm/boot/dts/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
-@@ -15,6 +15,13 @@
- model = "Helios4";
- compatible = "kobol,helios4", "marvell,armada388",
- "marvell,armada385", "marvell,armada380";
-+
-+ aliases {
+@@ -24,6 +24,10 @@
+ aliases {
+ /* So that mvebu u-boot can update the MAC addresses */
+ ethernet1 = &eth0;
+ led-boot = &led_status;
+ led-failsafe = &led_status;
+ led-running = &led_status;
+ led-upgrade = &led_status;
-+ };
+ };
- memory {
- device_type = "memory";
-@@ -70,10 +77,9 @@
+ chosen {
+@@ -73,10 +77,9 @@
+ pinctrl-names = "default";
+ pinctrl-0 = <&helios_system_led_pins>;
- system-leds {
- compatible = "gpio-leds";
- status-led {
+ led_status: status-led {
label = "helios4:green:status";