diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B new file mode 100644 index 0000000000000000000000000000000000000000..52ee36b493967908ef243792180b61c72aa2f453 --- /dev/null +++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B @@ -0,0 +1,242 @@ + +config board 'board' + # Spec + option hasAdsl '0' + option hasVdsl '0' + option hasEthWan '1' + option hasVoice '1' + option hasDect '0' + option hasUsb '0' + option hasWifi '0' + option hasSfp '1' + option hasCatv '0' + # Voice + option VoicePorts '1' + # SFP + option sfpBus '/dev/i2c-0' + # Ethernet + option ethernetPorts '5' + option ethernetWanPort 'eth4' + option ethernetPortNames 'LAN4 LAN3 LAN2 LAN1 WAN' + option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4' + option ethernetLanPorts 'eth0 eth1 eth2 eth3' + option gpio_one '67' + option gpio_optical_blackout_zero '40 22' + +############################################################################### +# Button config, start +############### gpio buttons, driver config + +config gpio_button gpio_buttons + list buttons gpio_reset + list buttons gpio_dimming + +config gpio_button gpio_reset + option addr 41 + option active low + +config gpio_button gpio_dimming + option addr 48 + option active low + + +############### mapping function button to driver button +config button RESET + list button gpio_reset + option minpress 0 + option minpress_indicator 0 + option longpress 3000 + option hotplug softresetbutton + option hotplug_long resetbutton + +config button DIMMING + list button gpio_dimming + option hotplug dimmingbutton + option minpress 0 + option minpress_indicator 0 + +############################################################################### +# Led config, start +# + +config gpio_led gpio_leds + list leds voip + list leds pon_green + list leds power_on_green + list leds alarm_red + list leds lan1_green + list leds lan1_yellow + list leds lan2_green + list leds lan2_yellow + list leds lan3_green + list leds lan3_yellow + list leds lan4_green + list leds lan4_yellow + +config gpio_led voip + option active high + option sysfs_attr 29s + option mode led_linux + +config gpio_led pon_green + option active high + option sysfs_attr 28s + option mode led_linux + +config gpio_led power_on_green + option active high + option sysfs_attr 27s + option mode led_linux + +config gpio_led alarm_red + option active high + option sysfs_attr 26s + option mode led_linux + +config gpio_led lan1_yellow + option active high + option sysfs_attr 24s + option mode led_linux + +config gpio_led lan1_green + option active high + option sysfs_attr 25s + option mode led_linux + +config gpio_led lan2_yellow + option active high + option sysfs_attr 22s + option mode led_linux + +config gpio_led lan2_green + option active high + option sysfs_attr 23s + option mode led_linux + +config gpio_led lan3_yellow + option active high + option sysfs_attr 20s + option mode led_linux + +config gpio_led lan3_green + option active high + option sysfs_attr 21s + option mode led_linux + +config gpio_led lan4_yellow + option active high + option sysfs_attr 18s + option mode led_linux + +config gpio_led lan4_green + option active high + option sysfs_attr 19s + option mode led_linux + +############### mapping led function to driver led +config led_map led_map + list press_indicator led_status + list press_indicator led_internet + list press_indicator led_wan_speed + list press_indicator led_lan + list press_indicator led_voice + list functions fiber + list functions status + list functions status_composite + list functions internet + list functions wan_speed + list functions wan_speed_composite + list functions lan + list functions upgrade + list functions voice + + +config led_map led_status_composite + list led_action_ok 'power_on_green = ON' + list led_action_ok 'alarm_red = OFF' + list super_ok 'status_ok, fiber_ok, upgrade_ok' + list super_ok 'status_ok, fiber_ok, upgrade_off' + list super_ok 'status_ok, fiber_off, upgrade_ok' + list super_ok 'status_ok, fiber_off, upgrade_off' + list super_ok 'status_ok, fiber_error, upgrade_ok' + list super_ok 'status_ok, fiber_error, upgrade_off' + + list led_action_off 'power_on_green = OFF' + list led_action_off 'alarm_red = OFF' + list super_off 'status_off, fiber_ok, upgrade_ok' + list super_off 'status_off, fiber_ok, upgrade_off' + list super_off 'status_off, fiber_off, upgrade_ok' + list super_off 'status_off, fiber_off, upgrade_off' + list super_off 'status_off, fiber_error, upgrade_ok' + list super_off 'status_off, fiber_error, upgrade_off' + + list led_action_notice 'power_on_green = FLASH_SLOW' + list led_action_notice 'alarm_red = OFF' + list super_notice 'status_notice, fiber_ok' + list super_notice 'status_notice, fiber_off' + list super_notice 'status_notice, fiber_error' + list super_notice 'upgrade_notice' + + list led_action_alert 'power_on_green = OFF' + list led_action_alert 'alarm_red = FLASH_SLOW' + list super_alert 'status_ok, fiber_alert, upgrade_ok' + list super_alert 'status_ok, fiber_alert, upgrade_off' + list super_alert 'status_alert' + + list led_action_error 'power_on_green = OFF' + list led_action_error 'alarm_red = ON' + list super_error 'upgrade_error, status_ok' + list super_error 'status_error' + +config led_map led_wan_speed_composite + list led_action_ok pon_green=ON + list super_ok 'internet_ok, wan_speed_ok, upgrade_ok' + list super_ok 'internet_ok, wan_speed_ok, upgrade_off' + list super_ok 'internet_ok, wan_speed_ok, upgrade_error' + + list led_action_off pon_green=OFF + list super_off 'internet_off, wan_speed_ok, upgrade_off' + list super_off 'internet_off, wan_speed_ok, upgrade_ok' + list super_off 'internet_off, wan_speed_ok, upgrade_error' + list super_off 'wan_speed_off, upgrade_off' + list super_off 'wan_speed_off, upgrade_ok' + list super_off 'wan_speed_off, upgrade_error' + + list led_action_notice pon_green=FLASH_SLOW + list super_notice 'internet_notice, wan_speed_ok, upgrade_ok' + list super_notice 'internet_notice, wan_speed_ok, upgrade_off' + list super_notice 'internet_notice, wan_speed_ok, upgrade_error' + + list led_action_alert pon_green=FLASH_SLOW + list super_alert 'internet_alert, wan_speed_ok, upgrade_ok' + list super_alert 'internet_alert, wan_speed_ok, upgrade_off' + list super_alert 'internet_alert, wan_speed_ok, upgrade_error' + + list led_action_error pon_green=FLASH_SLOW + list super_error 'internet_error, wan_speed_ok' + list super_error 'upgrade_notice' + +config led_map led_voice + list led_action_ok 'voip = ON' + list led_action_notice 'voip = ON' + list led_action_alert 'voip = FLASH_SLOW' + list led_action_error 'voip = FLASH_SLOW' + list led_action_off 'voip = OFF' + +config led_map led_lan + list led_action_ok lan1_green=ON + list led_action_ok lan1_yellow=ON + list led_action_ok lan2_green=ON + list led_action_ok lan2_yellow=ON + list led_action_ok lan3_green=ON + list led_action_ok lan3_yellow=ON + list led_action_ok lan4_green=ON + list led_action_ok lan4_yellow=ON + list led_action_off lan1_green=OFF + list led_action_off lan1_yellow=OFF + list led_action_off lan2_green=OFF + list led_action_off lan2_yellow=OFF + list led_action_off lan3_green=OFF + list led_action_off lan3_yellow=OFF + list led_action_off lan4_green=OFF + list led_action_off lan4_yellow=OFF diff --git a/iopsys-brcm63xx-arm/config/panther/config b/iopsys-brcm63xx-arm/config/panther/config index f7097e16bea1459d836c207597eeb5dcdce48be6..eb97710a7619eed64d4ff3326d61dc8e708f7cfc 100644 --- a/iopsys-brcm63xx-arm/config/panther/config +++ b/iopsys-brcm63xx-arm/config/panther/config @@ -1,9 +1,9 @@ CONFIG_TARGET_FAMILY="PANTHER" -CONFIG_BCM_KERNEL_PROFILE="96846GO" +CONFIG_BCM_KERNEL_PROFILE="96846GOV" CONFIG_BCM_CHIP_ID="6846" CONFIG_BCM_FIRMWARE_TYPE_NAND_SQUASHFS=y -# CONFIG_BCM_VOICE is not set +CONFIG_BCM_VOICE=y # CONFIG_BCM_DSL is not set # CONFIG_PACKAGE_libdsl is not set # CONFIG_PACKAGE_dslmngr is not set diff --git a/iopsys-brcm63xx-arm/profiles/iopsys.mk b/iopsys-brcm63xx-arm/profiles/iopsys.mk index cf47543540524a7f956a4aed74011a8708bb6233..502bd2f1e66916ea09d4b467bb62da46605f8e11 100644 --- a/iopsys-brcm63xx-arm/profiles/iopsys.mk +++ b/iopsys-brcm63xx-arm/profiles/iopsys.mk @@ -65,7 +65,7 @@ $(eval $(call Profile,tiger)) #################### PANTHER define Profile/panther NAME:=panther - PACKAGES:=i2c-tools + PACKAGES:=i2c-tools $(VOICE_SUPPORT) endef define Profile/panther/Description @@ -77,7 +77,7 @@ $(eval $(call Profile,panther)) #################### PANDA define Profile/panda NAME:=panda - PACKAGES:=i2c-tools + PACKAGES:=i2c-tools $(VOICE_SUPPORT) endef define Profile/panda/Description