File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ set DMA_MODULES 1
2727set QSFP_CAGES 1
2828# I2C address of each QSFP cage
2929set QSFP_I2C_ADDR(0) " 0xA0"
30+ set QSFP_I2C_CUSTOM_CTRLS [list " i2c_bmc" ]
3031
3132# ------------------------------------------------------------------------------
3233# Checking of parameter compatibility
Original file line number Diff line number Diff line change @@ -12,5 +12,11 @@ proc dts_card_specific {base} {
1212 append ret " reg = <$base 0x44>;"
1313 append ret " version = <0x00000003>;"
1414 append ret " };"
15+
16+ append ret " i2c_bmc: i2c_controller {"
17+ append ret " compatible = \" bittware,bmc\" ;"
18+ append ret " reg = <[ expr $base + 256] 0x44>;"
19+ append ret " version = <0x00000003>;"
20+ append ret " };"
1521 return $ret
1622}
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ begin
343343
344344 QSFP_PORTS => QSFP_PORTS,
345345 QSFP_I2C_PORTS => 1 ,
346- -- QSFP_I2C_TRISTATE => ?? ,
346+ QSFP_I2C_CTRL_EN => false ,
347347
348348 STATUS_LEDS => STATUS_LEDS,
349349 MISC_IN_WIDTH => MISC_IN_WIDTH,
You can’t perform that action at this time.
0 commit comments