summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230/devicetree.cb
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-23 09:06:08 +0100
committerRudolf Marek <r.marek@assembler.cz>2014-02-01 18:48:16 +0100
commit62adc4c6101749d59bdcc36135556fc2d2482131 (patch)
tree2ae29f5a16f5fd1fa08c133fa588b0401770c9fd /src/mainboard/lenovo/x230/devicetree.cb
parent5f20dbfbe38c6a7797b578f46006299a73d1bd90 (diff)
lenovo: Handle EEPROM/RFID chip.
EEPROM/RFID chip present in thinkpad should be locked in a way to avoid any potential RFID access. Read serial number, UUID and P/N from EEPROM. This info is stored on AT24RF08 chip acessible through SMBUS. Change-Id: Ia3e766d90a094f63c8c854cd37e165221ccd8acd Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4774 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src/mainboard/lenovo/x230/devicetree.cb')
-rw-r--r--src/mainboard/lenovo/x230/devicetree.cb14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb
index 3650b38500..f630e3d416 100644
--- a/src/mainboard/lenovo/x230/devicetree.cb
+++ b/src/mainboard/lenovo/x230/devicetree.cb
@@ -127,7 +127,19 @@ chip northbridge/intel/sandybridge
end
end # LPC bridge
device pci 1f.2 on end # SATA Controller 1
- device pci 1f.3 on end # SMBus
+ device pci 1f.3 on
+ # eeprom, 8 virtual devices, same chip
+ chip drivers/i2c/at24rf08c
+ device i2c 54 on end
+ device i2c 55 on end
+ device i2c 56 on end
+ device i2c 57 on end
+ device i2c 5c on end
+ device i2c 5d on end
+ device i2c 5e on end
+ device i2c 5f on end
+ end
+ end # SMBus
device pci 1f.5 off end # SATA Controller 2
device pci 1f.6 on end # Thermal
end