x86 64: Add new device Cordoba Edge Platform
authorXiaojun Liu <xiaojun.liu@silicom.co.il>
Mon, 13 Nov 2023 03:59:45 +0000 (03:59 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Nov 2023 19:03:59 +0000 (20:03 +0100)
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 <xiaojun.liu@silicom.co.il>
target/linux/x86/base-files/etc/board.d/01_leds
target/linux/x86/base-files/etc/board.d/02_network

index efc5460df3ce863f8e8d0a9d38b2eacdd1e02622..47ea0929e62531810d052f6674eba800190fbbec 100644 (file)
@@ -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
 
index 0a0f32eb801ce66cac599b7a277a2e22d9af63a5..b18ab60120eb047d69c5bef32fcdfe2b27c408cf 100644 (file)
@@ -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