Skip to content

Commit

Permalink
[devices]: add the delta ag9064 platform (#1435)
Browse files Browse the repository at this point in the history
* add the ag9064 platform

Signed-off-by: hans <hans.tseng@deltaww.com>
  • Loading branch information
hans-tseng authored and lguohan committed Mar 1, 2018
1 parent 33d5a9c commit 837e964
Show file tree
Hide file tree
Showing 28 changed files with 7,128 additions and 1 deletion.
67 changes: 67 additions & 0 deletions device/delta/x86_64-delta_ag9064-r0/Delta-ag9064/port_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# name lanes alias index
Ethernet0 49,50,51,52 Ethernet1/1 1
Ethernet4 53,54,55,56 Ethernet2/1 2
Ethernet8 65,66,67,68 Ethernet3/1 3
Ethernet12 69,70,71,72 Ethernet4/1 4
Ethernet16 81,82,83,84 Ethernet5/1 5
Ethernet20 85,86,87,88 Ethernet6/1 6
Ethernet24 1,2,3,4 Ethernet7/1 7
Ethernet28 101,102,103,104 Ethernet8/1 8
Ethernet32 5,6,7,8 Ethernet9/1 9
Ethernet36 17,18,19,20 Ethernet10/1 10
Ethernet40 21,22,23,24 Ethernet11/1 11
Ethernet44 33,34,35,36 Ethernet12/1 12
Ethernet48 37,38,39,40 Ethernet13/1 13
Ethernet52 97,98,99,100 Ethernet14/1 14
Ethernet56 113,114,115,116 Ethernet15/1 15
Ethernet60 117,118,119,120 Ethernet16/1 16
Ethernet64 129,130,131,132 Ethernet17/1 17
Ethernet68 133,134,135,136 Ethernet18/1 18
Ethernet72 145,146,147,148 Ethernet19/1 19
Ethernet76 209,210,211,212 Ethernet20/1 20
Ethernet80 213,214,215,216 Ethernet21/1 21
Ethernet84 225,226,227,228 Ethernet22/1 22
Ethernet88 229,230,231,232 Ethernet23/1 23
Ethernet92 241,242,243,244 Ethernet24/1 24
Ethernet96 245,246,247,248 Ethernet25/1 25
Ethernet100 157,158,159,160 Ethernet26/1 26
Ethernet104 161,162,163,164 Ethernet27/1 27
Ethernet108 165,166,167,168 Ethernet28/1 28
Ethernet112 177,178,179,180 Ethernet29/1 29
Ethernet116 181,182,183,184 Ethernet30/1 30
Ethernet120 193,194,195,196 Ethernet31/1 31
Ethernet124 197,198,199,200 Ethernet32/1 32
Ethernet128 61,62,63,64 Ethernet33/1 33
Ethernet132 57,58,59,60 Ethernet34/1 34
Ethernet136 77,78,79,80 Ethernet35/1 35
Ethernet140 73,74,75,76 Ethernet36/1 36
Ethernet144 93,94,95,96 Ethernet37/1 37
Ethernet148 89,90,91,92 Ethernet38/1 38
Ethernet152 105,106,107,108 Ethernet39/1 39
Ethernet156 9,10,11,12 Ethernet40/1 40
Ethernet160 25,26,27,28 Ethernet41/1 41
Ethernet164 13,14,15,16 Ethernet42/1 42
Ethernet168 41,42,43,44 Ethernet43/1 43
Ethernet172 29,30,31,32 Ethernet44/1 44
Ethernet176 45,46,47,48 Ethernet45/1 45
Ethernet180 109,110,111,112 Ethernet46/1 46
Ethernet184 125,126,127,128 Ethernet47/1 47
Ethernet188 121,122,123,124 Ethernet48/1 48
Ethernet192 141,142,143,144 Ethernet49/1 49
Ethernet196 137,138,139,140 Ethernet50/1 50
Ethernet200 217,218,219,220 Ethernet51/1 51
Ethernet204 149,150,151,152 Ethernet52/1 52
Ethernet208 233,234,235,236 Ethernet53/1 53
Ethernet212 221,222,223,224 Ethernet54/1 54
Ethernet216 249,250,251,252 Ethernet55/1 55
Ethernet220 237,238,239,240 Ethernet56/1 56
Ethernet224 153,154,155,156 Ethernet57/1 57
Ethernet228 253,254,255,256 Ethernet58/1 58
Ethernet232 173,174,175,176 Ethernet59/1 59
Ethernet236 169,170,171,172 Ethernet60/1 60
Ethernet240 189,190,191,192 Ethernet61/1 61
Ethernet244 185,186,187,188 Ethernet62/1 62
Ethernet248 205,206,207,208 Ethernet63/1 63
Ethernet252 201,202,203,204 Ethernet64/1 64
Ethernet256 257 Ethernet65 65
Ethernet260 259 Ethernet66 66
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/etc/bcm/th2-ag9064-64x100G.config.bcm
2 changes: 2 additions & 0 deletions device/delta/x86_64-delta_ag9064-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONSOLE_PORT=0x3f8
CONSOLE_SPEED=115200
63 changes: 63 additions & 0 deletions device/delta/x86_64-delta_ag9064-r0/led_proc_init.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
led 0 stop
led 0 prog \
02 00 60 E0 02 A0 60 E2 86 ED 02 00 60 E1 2E E0 \
32 08 97 02 00 0E 05 60 E3 2E E0 32 00 32 01 B7 \
97 02 00 0E 00 12 E7 FE E1 50 86 E0 86 E1 06 E1 \
D2 04 74 19 16 E7 61 EB 06 E3 12 05 67 92 06 E3 \
12 04 67 92 06 E3 12 03 67 92 16 E9 61 EB 06 E5 \
12 03 67 92 02 02 60 EC 02 00 60 E1 77 66 02 01 \
60 EC 02 00 60 E1 12 E7 FE E1 05 60 EB 12 E3 FE \
E1 05 16 EC 67 92 86 E1 06 E1 D2 04 74 66 06 EC \
D2 02 70 5E 06 E2 F2 04 60 E2 06 E0 D2 40 74 0A \
3A C0 09 75 A9 06 EB D2 00 70 A5 16 ED 99 99 1A \
00 71 A5 77 A9 32 0F 87 57 32 0E 87 57 00 00 00
led 0 auto on
led 0 start

led 1 stop
led 1 prog \
02 00 60 E0 02 A0 60 E2 86 ED 02 00 60 E1 2E E0 \
32 08 97 02 00 0E 05 60 E3 2E E0 32 00 32 01 B7 \
97 02 00 0E 00 12 E7 FE E1 50 86 E0 86 E1 06 E1 \
D2 04 74 19 16 E7 61 EB 06 E3 12 05 67 92 06 E3 \
12 04 67 92 06 E3 12 03 67 92 16 E9 61 EB 06 E5 \
12 03 67 92 02 02 60 EC 02 00 60 E1 77 66 02 01 \
60 EC 02 00 60 E1 12 E7 FE E1 05 60 EB 12 E3 FE \
E1 05 16 EC 67 92 86 E1 06 E1 D2 04 74 66 06 EC \
D2 02 70 5E 06 E2 F2 04 60 E2 06 E0 D2 40 74 0A \
3A C0 09 75 A9 06 EB D2 00 70 A5 16 ED 99 99 1A \
00 71 A5 77 A9 32 0F 87 57 32 0E 87 57 00 00 00
led 1 auto on
led 1 start

led 2 stop
led 2 prog \
02 00 60 E0 02 A0 60 E2 86 ED 02 00 60 E1 2E E0 \
32 08 97 02 00 0E 05 60 E3 2E E0 32 00 32 01 B7 \
97 02 00 0E 00 12 E7 FE E1 50 86 E0 86 E1 06 E1 \
D2 04 74 19 16 E7 61 EB 06 E3 12 05 67 92 06 E3 \
12 04 67 92 06 E3 12 03 67 92 16 E9 61 EB 06 E5 \
12 03 67 92 02 02 60 EC 02 00 60 E1 77 66 02 01 \
60 EC 02 00 60 E1 12 E7 FE E1 05 60 EB 12 E3 FE \
E1 05 16 EC 67 92 86 E1 06 E1 D2 04 74 66 06 EC \
D2 02 70 5E 06 E2 F2 04 60 E2 06 E0 D2 40 74 0A \
3A C0 09 75 A9 06 EB D2 00 70 A5 16 ED 99 99 1A \
00 71 A5 77 A9 32 0F 87 57 32 0E 87 57 00 00 00
led 2 auto on
led 2 start

led 3 stop
led 3 prog \
02 00 60 E0 02 A0 60 E2 86 ED 02 00 60 E1 2E E0 \
32 08 97 02 00 0E 05 60 E3 2E E0 32 00 32 01 B7 \
97 02 00 0E 00 12 E7 FE E1 50 86 E0 86 E1 06 E1 \
D2 04 74 19 16 E7 61 EB 06 E3 12 05 67 92 06 E3 \
12 04 67 92 06 E3 12 03 67 92 16 E9 61 EB 06 E5 \
12 03 67 92 02 02 60 EC 02 00 60 E1 77 66 02 01 \
60 EC 02 00 60 E1 12 E7 FE E1 05 60 EB 12 E3 FE \
E1 05 16 EC 67 92 86 E1 06 E1 D2 04 74 66 06 EC \
D2 02 70 5E 06 E2 F2 04 60 E2 06 E0 D2 40 74 0A \
3A C0 09 75 A9 06 EB D2 00 70 A5 16 ED 99 99 1A \
00 71 A5 77 A9 32 0F 87 57 32 0E 87 57 00 00 00
led 3 auto on
led 3 start
Loading

0 comments on commit 837e964

Please # to comment.