From 01a2513287967f2ce0c13923e30e01e7d20a0bbd Mon Sep 17 00:00:00 2001 From: cshore Date: Fri, 19 Nov 2010 13:41:54 +0000 Subject: [PATCH] [brcm63xx] Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24040 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/image/Makefile | 3 ++ .../patches-2.6.35/310-CPVA642_board.patch | 37 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 target/linux/brcm63xx/patches-2.6.35/310-CPVA642_board.patch diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 56d048bbb..4f41889a5 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -172,6 +172,9 @@ define Image/Build # RG100A,DB120 etc. $(call Image/Build/RG100A,$(1),96358VW2,6358,0x20000,RG100A_DB120) + # Telsey CPVA642-type (e.g. CPA-ZNTE60T) + $(call Image/Build/CFE,$(1),CPVA642,6358,CPA-ZNTE60T,,--signature "Telsey Tlc",--signature2 "99.99.999",--second-image-flag "0") + endef $(eval $(call BuildImage)) diff --git a/target/linux/brcm63xx/patches-2.6.35/310-CPVA642_board.patch b/target/linux/brcm63xx/patches-2.6.35/310-CPVA642_board.patch new file mode 100644 index 000000000..bc71425d9 --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.35/310-CPVA642_board.patch @@ -0,0 +1,37 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c ++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -677,6 +677,26 @@ static struct board_info __initdata boar + }, + }; + ++static struct board_info __initdata board_CPVA642 = { ++ .name = "CPVA642", ++ .expected_cpu_id = 0x6358, ++ ++ .has_uart0 = 1, ++ .has_enet1 = 1, ++ .has_pci = 1, ++ ++ .enet1 = { ++ .force_speed_100 = 1, ++ .force_duplex_full = 1, ++ }, ++ ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ ++ /* GPIOs not yet known for this device */ ++}; ++ ++ + static struct board_info __initdata board_AGPFS0 = { + .name = "AGPF-S0", + .expected_cpu_id = 0x6358, +@@ -1339,6 +1359,7 @@ static const struct board_info __initdat + &board_96358vw, + &board_96358vw2, + &board_AGPFS0, ++ &board_CPVA642, + &board_DWVS0, + &board_nb4_ser_r0, + &board_nb4_ser_r1, -- 2.20.1