X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fpatches-3.14%2F565-board_hw520.patch;h=70eeaf91f5aca57fbfe962fe325c19ca77e2c715;hb=d8c4cc64ba6cabb2e3be28c7b4539a95115119ce;hp=98287999ffa1992bc6c0d5c883b1cd48b01f1837;hpb=68c0942be4e16805fc019d5b4214927560974609;p=15.05%2Fopenwrt.git diff --git a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch index 98287999ff..70eeaf91f5 100644 --- a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch +++ b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch @@ -1,12 +1,11 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -3226,6 +3226,57 @@ static struct board_info __initdata boar - .num_spis = ARRAY_SIZE(ct6373_spi_devices), +@@ -1511,6 +1511,37 @@ static struct board_info __initdata boar + }, }; +static struct board_info __initdata board_HW520 = { + .name = "HW6358GW_B", -+ .of_board_id = "huawei,hg520v", + .expected_cpu_id = 0x6358, + + .has_uart0 = 1, @@ -29,25 +28,6 @@ + .force_duplex_full = 1, + }, + -+ .leds = { -+ { -+ .name = "HW520:green:net", -+ .gpio = 32, -+ .active_low = 1, -+ }, -+ }, -+ -+ .buttons = { -+ { -+ .desc = "reset", -+ .gpio = 37, -+ .active_low = 1, -+ .type = EV_KEY, -+ .code = KEY_RESTART, -+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, -+ }, -+ }, -+ + .fallback_sprom = { + .type = SPROM_BCM4318, + .pci_bus = 0, @@ -57,8 +37,8 @@ + static struct board_info __initdata board_HW553 = { .name = "HW553", - .of_board_id = "huawei,hg553", -@@ -4958,6 +5009,7 @@ static const struct board_info __initcon + .expected_cpu_id = 0x6358, +@@ -2371,6 +2402,7 @@ static const struct board_info __initcon &board_nb4_ser_r0, &board_nb4_fxc_r1, &board_ct6373_1, @@ -66,3 +46,11 @@ &board_HW553, &board_HW556_A, &board_HW556_B, +@@ -2456,6 +2488,7 @@ static struct of_device_id const bcm963x + { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, }, + { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, }, + { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, }, ++ { .compatible = "huawei,hg520v", .data = &board_HW520, }, + { .compatible = "huawei,hg553", .data = &board_HW553, }, + { .compatible = "huawei,hg556a-a", .data = &board_HW556_A, }, + { .compatible = "huawei,hg556a-b", .data = &board_HW556_B, },