From 6a7ee1d17ac3f3cd2d5ee12b53b351cc985bcf0b Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Tue, 14 Mar 2023 09:04:59 +0100 Subject: [PATCH] gateware: Set explicit 100K pullup for pwr_usb_n/pwr_chg_n We want them weak in case any of this can leak back in the 5V domain. Signed-off-by: Sylvain Munaut --- gateware/data/top-xmas-snoopy.pcf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateware/data/top-xmas-snoopy.pcf b/gateware/data/top-xmas-snoopy.pcf index c31d1ae..43ac40e 100644 --- a/gateware/data/top-xmas-snoopy.pcf +++ b/gateware/data/top-xmas-snoopy.pcf @@ -12,8 +12,8 @@ set_io -nowarn -pullup no usb_dn 18 set_io -nowarn -pullup no usb_pu 21 # Power -set_io -nowarn -pullup yes pwr_usb_n 45 -set_io -nowarn -pullup yes pwr_chg_n 44 +set_io -nowarn -pullup yes -pullup_resistor 100K pwr_usb_n 45 +set_io -nowarn -pullup yes -pullup_resistor 100K pwr_chg_n 44 set_io -nowarn -pullup no pwr_off 47 # Buttons