aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager/rh_periphs.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/rh_periphs.py')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/rh_periphs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/rh_periphs.py b/mpm/python/usrp_mpm/dboard_manager/rh_periphs.py
index 31104153a..bb91aec73 100644
--- a/mpm/python/usrp_mpm/dboard_manager/rh_periphs.py
+++ b/mpm/python/usrp_mpm/dboard_manager/rh_periphs.py
@@ -27,7 +27,7 @@ class TCA6408(object):
def __init__(self, i2c_dev):
assert i2c_dev is not None
- self._gpios = SysFSGPIO({'label': 'tca6408'}, 0x3F, 0x00, 0x00, i2c_dev)
+ self._gpios = SysFSGPIO({'device/name': 'tca6408'}, 0x3F, 0x00, 0x00, i2c_dev)
def set(self, name, value=None):
"""
@@ -57,7 +57,7 @@ class FPGAtoLoDist(object):
POWER_ON_TIMEOUT = 20 #ms
POWER_ON_POLL_INTERVAL = 1 #ms
GPIO_DEV_ID = {
- 'label': 'tca6424',
+ 'device/name': 'tca6424',
'device/of_node/name': 'rhodium-lodist-gpio',
}