devices: add 24c02
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ib84fab69f794cdbb807e177ba61602276d6081d4
diff --git a/include/devices.hpp b/include/devices.hpp
index 84eab30..9a27091 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -40,6 +40,8 @@
exportTemplates{
{{"EEPROM", ExportTemplate("eeprom $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"24C02", ExportTemplate("24c02 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"24C64", ExportTemplate("24c64 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"Gpio", ExportTemplate("$Index", "/sys/class/gpio/export")},