mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
b82cb155fc
Register buttons and leds through DT for all available dts, and remove them from the board files. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: remove leds/buttons from board files fix wrong led polarities for dsl-274xb-c2, cpva642, p870hw comment out spi-gpio and associated leds] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44566
20 lines
446 B
Diff
20 lines
446 B
Diff
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
@@ -984,6 +984,8 @@ static struct board_info __initdata boar
|
|
.name = "DWV-S0",
|
|
.expected_cpu_id = 0x6358,
|
|
|
|
+ .has_uart0 = 1,
|
|
+
|
|
.has_enet0 = 1,
|
|
.has_enet1 = 1,
|
|
.has_pci = 1,
|
|
@@ -1000,6 +1002,7 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.has_ohci0 = 1,
|
|
+ .has_ehci0 = 1,
|
|
};
|
|
|
|
/* D-Link DSL-274xB revison C2/C3 */
|