From adfadea95ed01aa80fc95975fc93f9fb88cca422 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 6 Jun 2012 15:44:52 +0000 Subject: [brcm63xx] fix leds naming for all bcm63xx boards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32086 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/patches-3.3/503-board-CPVA642.patch | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch') diff --git a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch index a9cca53a1..2edadfdcc 100644 --- a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch +++ b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -663,6 +663,98 @@ static struct board_info __initdata boar +@@ -663,6 +663,96 @@ static struct board_info __initdata boar }, }; @@ -21,56 +21,54 @@ + .has_ehci0 = 1, + + .leds = { -+ /* bi-color */ + { -+ .name = "power:red", ++ .name = "CPVA642:red:power", + .gpio = 14, + .active_low = 1, + }, + { -+ .name = "power:green", ++ .name = "CPVA642:green:power", + .gpio = 11, + .active_low = 1, + .default_trigger = "default-on", + }, + { -+ .name = "wifi:red", ++ .name = "CPVA642:red:wifi", + .gpio = 6, + .active_low = 1, + }, + { -+ .name = "wifi:green", ++ .name = "CPVA642:green:wifi", + .gpio = 28, + .active_low = 0, + }, + { -+ .name = "link:red", ++ .name = "CPVA642:red:link", + .gpio = 9, + .active_low = 1, + }, + { -+ .name = "link:green", ++ .name = "CPVA642:green:link", + .gpio = 10, + .active_low = 1, + }, -+ /* green only */ + { -+ .name = "ether", ++ .name = "CPVA642:green:ether", + .gpio = 1, + .active_low = 1, + }, + { -+ .name = "phone1", ++ .name = "CPVA642:green:phone1", + .gpio = 4, + .active_low = 1, + }, + { -+ .name = "phone2", ++ .name = "CPVA642:green:phone2", + .gpio = 2, + .active_low = 1, + }, + { -+ .name = "usb", ++ .name = "CPVA642:green:usb", + .gpio = 3, + .active_low = 1, + }, @@ -99,7 +97,7 @@ static struct board_info __initdata board_AGPFS0 = { .name = "AGPF-S0", .expected_cpu_id = 0x6358, -@@ -1226,6 +1318,7 @@ static const struct board_info __initdat +@@ -1226,6 +1316,7 @@ static const struct board_info __initdat &board_96358vw, &board_96358vw2, &board_AGPFS0, -- cgit v1.2.3