summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml')
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml
index 35098b3cc..2f8356261 100644
--- a/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml
+++ b/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml
@@ -23,4 +23,32 @@
<!-- -->
<!-- IBM_PROLOG_END_TAG -->
<attributes>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_I2C_DEV_TYPE</id>
+ <targetType>TARGET_TYPE_GENERICI2CSLAVE</targetType>
+ <description>
+ Device type of I2C slave device
+ </description>
+ <enum>
+ ADS7138_ADC,
+ PCA9554A_GPIO_EXPANDER
+ </enum>
+ <valueType>uint8</valueType>
+ <platInit/>
+ <default>0xFF</default><!-- Ensures platform explicitly puts a valid number in here -->
+ </attribute>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_I2C_SUB_POS</id>
+ <targetType>TARGET_TYPE_GENERICI2CSLAVE</targetType>
+ <description>
+ Represents the ordinal position of this target compared to other peer
+ GENERICI2CSLAVE targets with the same ATTR_I2C_DEV_TYPE
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ <default>0xFF</default><!-- Ensures platform explicitly puts a valid number in here -->
+ </attribute>
+ <!-- ******************************************************************************** -->
</attributes>
OpenPOWER on IntegriCloud