1This is about the i2c GPIO chips found in the Sun Fire v210, starting at 2/pci/isa@7/i2c@0,320/gpio@0,44 3Input/Output assignments and levels are what the firmware leaves us with - 4all LEDs off except the power one. 5 6All known pin functions were determined by experiment. No idea what the 7undocumented pins do, if anything. 8 9[ 1.000000] pcagpio0 at iic0 addr 0x22: PCA9555 10[ 1.000000] dir: I-IIIIIIIIIIIIII 11[ 1.000000] lvl: X XXXX XXX XXXX 12[ 1.000000] dir: -O-------------- 13[ 1.000000] lvl: X 14 ^ 150x0400 clears when the case is open 16 17[ 1.000000] pcagpio1 at iic0 addr 0x23: PCA9555 18[ 1.000000] dir: ------IIIIIIIIII 19[ 1.000000] lvl: XXXXXXXX 20[ 1.000000] dir: OOOOOO---------- 21[ 1.000000] lvl: XXXXXX 22Bit 0x0002 gets set when bay 1 is empty, I would assume 0x0001 is for bay 0. 23The output bits seem to control the drive bay LEDs 240x2000 - bay 1, blue LED 250x1000 - bay 0, blue LED 260x0800 - bay 1, both LEDs orange 270x0400 - bay 0, both LEDs orange 28all low active, the remaining outputs don't seem to do anything. 29 30[ 1.000000] pcagpio2 at iic0 addr 0x34: PCA9555 31[ 1.000000] dir: --II----IIIIIIII 32[ 1.000000] lvl: X XXXXXXXX 33[ 1.000000] dir: OO--OOOO-------- 34[ 1.000000] lvl: XX XXXX 35clearing 0x0300 reset the machine 36probably controls redundant / hot-swappable power supplies on v240. 37 38[ 1.000000] pcagpio3 at iic0 addr 0x38: PCA9556 39[ 1.000000] dir: ---------------- 40[ 1.000000] lvl: 41[ 1.000000] dir: OOOOOOOOOOOOOOOO 42[ 1.000000] lvl: XXX XXXX 43This controls the front panel LEDs 440x80 - indicator LED 450x20 - fault LED 460x10 - power LED 47all low active, the remaining outputs don't seem to do anything. 48