浏览代码

x86 64: Add new device Cordoba Edge Platform

Add new device Cordoba Edge Platform
hardware specifications: CPU - Intel Atom C3000
                           Ethernet - 2 10Gbps ixgbe SPF+
                                      2 1Gbps  ixgbe RJ45/SPF
                                      4 2.5Gbps  igc RJ45
                           WiFi - mt7915e
                           LED  - 3 multicolor(red|blue|green) LEDs

Signed-off-by: Xiaojun Liu <[email protected]>
Xiaojun Liu 1 年之前
父节点
当前提交
5899689159
共有 2 个文件被更改,包括 15 次插入0 次删除
  1. 4 0
      target/linux/x86/base-files/etc/board.d/01_leds
  2. 11 0
      target/linux/x86/base-files/etc/board.d/02_network

+ 4 - 0
target/linux/x86/base-files/etc/board.d/01_leds

@@ -28,6 +28,10 @@ traverse-technologies-geos)
 	ucidef_set_led_netdev "wlan" "WiFi" "geos:2" "phy0tpt"
 	ucidef_set_led_default "diag" "DIAG" "geos:3" "1"
 	;;
+silicom-80500-0214-*)
+        ucidef_set_led_netdev "wan" "WAN" "multicolor:fp_center" "wan0"
+        ucidef_set_led_netdev "lan" "LAN" "multicolor:fp_right" "br-lan"
+        ;;
 esac
 board_config_flush
 

+ 11 - 0
target/linux/x86/base-files/etc/board.d/02_network

@@ -78,6 +78,17 @@ traverse-technologies-geos)
 	macaddr="$(cat /sys/class/net/eth0/address)" 2>/dev/null
 	[ -n "$macaddr" ] && ucidef_set_interface_macaddr "wan" "$macaddr"
 	;;
+silicom-80500-0214-*)
+        ucidef_set_network_device_path "wan0" "pci0000:00/0000:00:16.0/0000:03:00.0"
+        ucidef_set_network_device_path "wan1" "pci0000:00/0000:00:16.0/0000:03:00.1"
+        ucidef_set_network_device_path "media0" "pci0000:00/0000:00:17.0/0000:02:00.1"
+        ucidef_set_network_device_path "media1" "pci0000:00/0000:00:17.0/0000:02:00.0"
+        ucidef_set_network_device_path "eth0" "pci0000:00/0000:00:0c.0/0000:04:00.0"
+        ucidef_set_network_device_path "eth1" "pci0000:00/0000:00:0e.0/0000:05:00.0"
+        ucidef_set_network_device_path "eth2" "pci0000:00/0000:00:0f.0/0000:06:00.0"
+        ucidef_set_network_device_path "eth3" "pci0000:00/0000:00:10.0/0000:07:00.0"
+        ucidef_set_interfaces_lan_wan "eth0 eth1 eth2 eth3" "wan0"
+        ;;
 esac
 board_config_flush