X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fpatches-3.14%2F519_board_CPVA502plus.patch;h=756b6437de5b8d96473d90cc9ac215fd42fbd8d8;hb=0d792965e4e1af2a4a5315cc30e8cdb0f6cc1b94;hp=4887fb24a7c7670e5d5994c40c44da55695da607;hpb=3c088485210acb5e31151af0a213e3753dc6283b;p=openwrt.git diff --git a/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch b/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch index 4887fb24a7..756b6437de 100644 --- a/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch +++ b/target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch @@ -1,10 +1,9 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1139,6 +1139,42 @@ static struct board_info __initdata boar - }, +@@ -425,6 +425,27 @@ static struct board_info __initdata boar }, }; -+ + +static struct board_info __initdata board_CPVA502plus = { + .name = "CPVA502+", + .expected_cpu_id = 0x6348, @@ -23,27 +22,13 @@ + .phy_id = 0, + }, + -+ .leds = { -+ { -+ .name = "CPVA502+:green:phone", -+ .gpio = 0, -+ .active_low = 1, -+ }, -+ { -+ .name = "CPVA502+:amber:link", -+ .gpio = 5, -+ .active_low = 1, -+ }, -+ }, -+ + .ephy_reset_gpio = 4, -+ .ephy_reset_gpio_flags = GPIOF_INIT_HIGH, ++ .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW, +}; -+ - #endif - /* -@@ -2220,6 +2256,7 @@ static const struct board_info __initcon + static struct board_info __initdata board_ct536_ct5621 = { + .name = "CT536_CT5621", +@@ -1165,6 +1186,7 @@ static const struct board_info __initcon &board_V2110, &board_ct536_ct5621, &board_96348A_122, @@ -51,3 +36,11 @@ #endif #ifdef CONFIG_BCM63XX_CPU_6358 +@@ -1216,6 +1238,7 @@ static struct of_device_id const bcm963x + { .compatible = "t-com,spw500v", .data = &board_spw500v, }, + { .compatible = "tecom,gw6000", .data = &board_gw6000, }, + { .compatible = "tecom,gw6200", .data = &board_gw6200, }, ++ { .compatible = "telsey,cpva502+", .data = &board_CPVA502plus, }, + { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, }, + { .compatible = "usr,9108", .data = &board_96348gw_a, }, + #endif