Hello, Here is my first patch, adding kernel support for Oxip Ipibox board.
CPU : BCM6358 RAM: 32M Flash : 8M Ethernet switch BCM5350 Wlan : Broadcom 4318 USB 2.0 port All of these are working fine, but I have to configure the reset button (GPIO36) with hotplug. Ipibox is a box with two BCM6358 based routers, used to provide double DSL connectivity with failover and VoIP. Each router can be separated and flashed with OpenWRT image. Official Ipibox presentation : http://www.multi-reseaux.fr/site/solutions/ipibox.html Signed-off-by: Sebastien Decourriere <sebtx452 (at) gmail (dot) com> ------- Index: linux-3.3.3/arch/mips/bcm63xx/boards/board_bcm963xx.c =================================================================== --- linux-3.3.3.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2012-04-25 15:05:28.000000000 +0200 +++ linux-3.3.3/arch/mips/bcm63xx/boards/board_bcm963xx.c 2012-04-25 15:11:55.000000000 +0200 @@ -2137,6 +2137,66 @@ }, } }; + +static struct board_info __initdata board_OXIPCT6382T = { + .name = "OXIPCT6382T", + .expected_cpu_id = 0x6358, + + .has_uart0 = 1, + + .has_enet0 = 1, + .has_enet1 = 1, + .has_pci = 1, + + .enet0 = { + .has_phy = 1, + .use_internal_phy = 1, + }, + + .enet1 = { + .force_speed_100 = 1, + .force_duplex_full = 1, + }, + + + .has_ohci0 = 1, + .has_pccard = 1, + .has_ehci0 = 1, + + .leds = { + { + .name = "adsl", + .gpio = 22, + .active_low = 1, + }, + { + .name = "service", + .gpio = 23, + .active_low = 0, + }, + { + .name = "phone1", + .gpio = 24, + .active_low = 1, + }, + { + .name = "phone2", + .gpio = 25, + .active_low = 1, + }, + + }, + .buttons = { + { + .desc = "reset", + .gpio = 36, + .active_low = 1, + .type = EV_KEY, + .code = KEY_RESTART, + .threshold = 3, + }, + }, +}; #endif /* @@ -2327,6 +2387,7 @@ &board_nb4_fxc_r2, &board_HW553, &board_spw303v, + &board_OXIPCT6382T, #endif #ifdef CONFIG_BCM63XX_CPU_6368 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel