Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
targets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
targets
Commits
9e841194
Commit
9e841194
authored
3 years ago
by
Sukru Senli
Browse files
Options
Downloads
Patches
Plain Diff
econet: correct rodimus and arcee db configs
parent
8738b3fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iopsys-econet/base-files/etc/board-db/boards/arcee
+4
-174
4 additions, 174 deletions
iopsys-econet/base-files/etc/board-db/boards/arcee
iopsys-econet/base-files/etc/board-db/boards/rodimus
+6
-176
6 additions, 176 deletions
iopsys-econet/base-files/etc/board-db/boards/rodimus
with
10 additions
and
350 deletions
iopsys-econet/base-files/etc/board-db/boards/arcee
+
4
−
174
View file @
9e841194
config board 'board'
# Specs
option hasEthWan '0'
option hasAdsl '0'
option hasVdsl '0'
option hasVoice '0'
...
...
@@ -11,179 +12,8 @@ config board 'board'
option hasWifi '1'
# Ethernet
option ethernetPorts '2'
option ethernetPortNames 'LAN1
W
AN'
option ethernetPortNames 'LAN1
L
AN
2
'
option ethernetPortOrder 'eth0.1 eth0.2'
option ethernetLanPorts 'eth0.1'
option ethernetWanPort 'eth0.2'
# I2C
option sx9512_i2c_device '/dev/i2c-0'
option sx9512_i2c_address 2b
option sx9512_irq_pin 10
option sx9512_active_capsense_channels 0f
option sx9512_active_led_channels ff
############### mapping function button to driver button
config button RESET
list button gpio_reset
option minpress 5000
option hotplug resetbutton
option enable 1
###############################################################################
#
# Button config, start
#
############### gpio buttons, driver config
config gpio_button gpio_buttons
list buttons gpio_reset
config gpio_button gpio_reset
option addr 18
option mode linux
option active low
############### sx9512, i2c buttons, driver config
config 9512_button 9512_buttons
list buttons 9512_wps
list buttons 9512_wifi_2g
list buttons 9512_wifi_5g
list buttons 9512_touch_near
list buttons 9512_touch_far
config 9512_button 9512_wifi_2g
option addr 1
config 9512_button 9512_wifi_5g
option addr 2
config 9512_button 9512_wps
option addr 3
config 9512_button 9512_touch_near
option addr 8
config 9512_button 9512_touch_far
option addr 9
#
# Button config , end
#
###############################################################################
###############################################################################
#
# Led config, start
#
############### 9512 led, driver config
config 9512_led 9512_leds
list leds Internet_green
list leds Internet_red
list leds Wireless_24
list leds Wireless_5
config 9512_led Internet_green
option addr 5
config 9512_led Internet_red
option addr 4
config 9512_led Wireless_24
option addr 7
config 9512_led Wireless_5
option addr 6
############### gpio led, driver config
config gpio_led gpio_leds
list leds Status_green
list leds Status_red
list leds WPS_green
config gpio_led Status_green
option addr 8
option active low
option mode linux
config gpio_led Status_red
option addr 11
option active hi
option mode linux
config 9512_led WPS_green
option addr 12
option active low
option mode linux
############### mapping led function to driver led
config led_map led_map
list press_indicator led_wifi_2g
list press_indicator led_wifi_5g
list press_indicator led_wps
list press_indicator led_internet
list functions 'wifi_2g'
list functions 'wifi_5g'
list functions wps
list functions status
list functions internet
# dimming turn leds off unless above cutof level
option dimming_level off
option dimming_on 5
list dimming wifi
list dimming wps
list dimming status
list dimming internet
config led_map 'led_wifi_2g'
list led_action_ok 'Wireless_24 = ON'
list led_action_off 'Wireless_24 = OFF'
list led_action_notice 'Wireless_24 = FLASH_SLOW'
list led_action_alert 'Wireless_24 = FLASH_SLOW'
list led_action_error 'Wireless_24 = FLASH_FAST'
config led_map 'led_wifi_5g'
list led_action_ok 'Wireless_5 = ON'
list led_action_off 'Wireless_5 = OFF'
list led_action_notice 'Wireless_5 = FLASH_SLOW'
list led_action_alert 'Wireless_5 = FLASH_SLOW'
list led_action_error 'Wireless_5 = FLASH_FAST'
config led_map led_wps
list led_action_ok 'WPS_green=ON'
list led_action_off 'WPS_green=OFF'
list led_action_notice 'WPS_green=FLASH_SLOW'
list led_action_alert 'WPS_green=FLASH_FAST'
list led_action_error 'WPS_green=OFF'
config led_map led_status
list led_action_ok 'Status_green = ON'
list led_action_ok 'Status_red = OFF'
list led_action_off 'Status_green = OFF'
list led_action_off 'Status_red = OFF'
list led_action_notice 'Status_green = FLASH_SLOW'
list led_action_notice 'Status_red = OFF'
list led_action_alert 'Status_green = OFF'
list led_action_alert 'Status_red = FLASH_SLOW'
list led_action_error 'Status_green = OFF'
list led_action_error 'Status_red = FLASH_FAST'
config led_map led_internet
list led_action_ok 'Internet_green = ON'
list led_action_ok 'Internet_red = OFF'
list led_action_off 'Internet_green = OFF'
list led_action_off 'Internet_red = OFF'
list led_action_notice 'Internet_green = FLASH_SLOW'
list led_action_notice 'Internet_red = OFF'
list led_action_alert 'Internet_green = OFF'
list led_action_alert 'Internet_red = FLASH_SLOW'
list led_action_error 'Internet_green = OFF'
list led_action_error 'Internet_red = ON'
list led_action_eok 'Internet_green = ON'
list led_action_eok 'Internet_red = ON'
option ethernetLanPorts 'eth0.1 eth0.2'
option ethernetWanPort ''
This diff is collapsed.
Click to expand it.
iopsys-econet/base-files/etc/board-db/boards/rodimus
+
6
−
176
View file @
9e841194
config board 'board'
# Specs
option hasEthWan '1'
option hasAdsl '0'
option hasVdsl '0'
option hasVoice '0'
...
...
@@ -10,180 +11,9 @@ config board 'board'
option hasSfp '0'
option hasWifi '1'
# Ethernet
option ethernetPorts '4'
option ethernetPortNames 'LAN1 WAN LAN2 LAN3'
option ethernetPortOrder 'eth0.1 eth0.2 eth0.3 eth0.4'
option ethernetLanPorts 'eth0.1 eth0.3 eth0.4'
option ethernetWanPort 'eth0.2'
# I2C
option sx9512_i2c_device '/dev/i2c-0'
option sx9512_i2c_address 2b
option sx9512_irq_pin 10
option sx9512_active_capsense_channels 0f
option sx9512_active_led_channels ff
############### mapping function button to driver button
config button RESET
list button gpio_reset
option minpress 5000
option hotplug resetbutton
option enable 1
###############################################################################
#
# Button config, start
#
############### gpio buttons, driver config
config gpio_button gpio_buttons
list buttons gpio_reset
config gpio_button gpio_reset
option addr 18
option mode linux
option active low
############### sx9512, i2c buttons, driver config
config 9512_button 9512_buttons
list buttons 9512_wps
list buttons 9512_wifi_2g
list buttons 9512_wifi_5g
list buttons 9512_touch_near
list buttons 9512_touch_far
config 9512_button 9512_wifi_2g
option addr 1
config 9512_button 9512_wifi_5g
option addr 2
config 9512_button 9512_wps
option addr 3
config 9512_button 9512_touch_near
option addr 8
config 9512_button 9512_touch_far
option addr 9
#
# Button config , end
#
###############################################################################
###############################################################################
#
# Led config, start
#
############### 9512 led, driver config
config 9512_led 9512_leds
list leds Internet_green
list leds Internet_red
list leds Wireless_24
list leds Wireless_5
config 9512_led Internet_green
option addr 5
config 9512_led Internet_red
option addr 4
config 9512_led Wireless_24
option addr 7
config 9512_led Wireless_5
option addr 6
############### gpio led, driver config
config gpio_led gpio_leds
list leds Status_green
list leds Status_red
list leds WPS_green
config gpio_led Status_green
option addr 8
option active low
option mode linux
config gpio_led Status_red
option addr 11
option active hi
option mode linux
config 9512_led WPS_green
option addr 12
option active low
option mode linux
############### mapping led function to driver led
config led_map led_map
list press_indicator led_wifi_2g
list press_indicator led_wifi_5g
list press_indicator led_wps
list press_indicator led_internet
list functions 'wifi_2g'
list functions 'wifi_5g'
list functions wps
list functions status
list functions internet
# dimming turn leds off unless above cutof level
option dimming_level off
option dimming_on 5
list dimming wifi
list dimming wps
list dimming status
list dimming internet
config led_map 'led_wifi_2g'
list led_action_ok 'Wireless_24 = ON'
list led_action_off 'Wireless_24 = OFF'
list led_action_notice 'Wireless_24 = FLASH_SLOW'
list led_action_alert 'Wireless_24 = FLASH_SLOW'
list led_action_error 'Wireless_24 = FLASH_FAST'
config led_map 'led_wifi_5g'
list led_action_ok 'Wireless_5 = ON'
list led_action_off 'Wireless_5 = OFF'
list led_action_notice 'Wireless_5 = FLASH_SLOW'
list led_action_alert 'Wireless_5 = FLASH_SLOW'
list led_action_error 'Wireless_5 = FLASH_FAST'
config led_map led_wps
list led_action_ok 'WPS_green=ON'
list led_action_off 'WPS_green=OFF'
list led_action_notice 'WPS_green=FLASH_SLOW'
list led_action_alert 'WPS_green=FLASH_FAST'
list led_action_error 'WPS_green=OFF'
config led_map led_status
list led_action_ok 'Status_green = ON'
list led_action_ok 'Status_red = OFF'
list led_action_off 'Status_green = OFF'
list led_action_off 'Status_red = OFF'
list led_action_notice 'Status_green = FLASH_SLOW'
list led_action_notice 'Status_red = OFF'
list led_action_alert 'Status_green = OFF'
list led_action_alert 'Status_red = FLASH_SLOW'
list led_action_error 'Status_green = OFF'
list led_action_error 'Status_red = FLASH_FAST'
config led_map led_internet
list led_action_ok 'Internet_green = ON'
list led_action_ok 'Internet_red = OFF'
list led_action_off 'Internet_green = OFF'
list led_action_off 'Internet_red = OFF'
list led_action_notice 'Internet_green = FLASH_SLOW'
list led_action_notice 'Internet_red = OFF'
list led_action_alert 'Internet_green = OFF'
list led_action_alert 'Internet_red = FLASH_SLOW'
list led_action_error 'Internet_green = OFF'
list led_action_error 'Internet_red = ON'
list led_action_eok 'Internet_green = ON'
list led_action_eok 'Internet_red = ON'
option ethernetPorts '5'
option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
option ethernetPortOrder 'eth0.1 eth0.2 eth0.3 eth0.4 eth1'
option ethernetLanPorts 'eth0.1 eth0.2 eth0.3 eth0.4'
option ethernetWanPort 'eth1'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment