From 1db37316ebe81786671739e6e297b2d47c9f4807 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Thu, 27 Jul 2017 12:06:58 -0700 Subject: n3xx: enable all pins on tca6424 --- mpm/python/usrp_mpm/periph_manager/n310.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mpm') diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index 6ab151454..f51762e52 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -69,7 +69,7 @@ class TCA6424(object): ) def __init__(self): - self._gpios = SysFSGPIO('tca6424', 0x700, 0x700) + self._gpios = SysFSGPIO('tca6424',0xFFE7FF, 0x86E7FF) def set(self, name): """ @@ -124,6 +124,7 @@ class n310(PeriphManagerBase): # Initialize reference clock self._gpios.set("PWREN-CLK-MAINREF") + self._gpios.set("PWREN-CLK-MGT156MHz") self._ext_clock_freq = float( args.default_args.get('ext_clock_freq', N3XX_DEFAULT_EXT_CLOCK_FREQ) ) -- cgit v1.2.3