-/* $OpenBSD: imxehci.c,v 1.5 2015/01/02 01:57:33 jsg Exp $ */
+/* $OpenBSD: imxehci.c,v 1.6 2015/01/17 02:57:16 jsg Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
imxgpio_set_dir(EHCI_HUMMINGBOARD_USB_H1_PWR, IMXGPIO_DIR_OUT);
delay(10);
break;
+ case BOARD_ID_IMX6_SABRELITE:
+ imxgpio_clear_bit(EHCI_NITROGEN6X_USB_HUB_RST);
+ imxgpio_set_dir(EHCI_NITROGEN6X_USB_HUB_RST, IMXGPIO_DIR_OUT);
+ delay(1000 * 2);
+ imxgpio_set_bit(EHCI_NITROGEN6X_USB_HUB_RST);
+ delay(10);
+ break;
case BOARD_ID_IMX6_UTILITE:
imxgpio_clear_bit(EHCI_UTILITE_USB_HUB_RST);
imxgpio_set_dir(EHCI_UTILITE_USB_HUB_RST, IMXGPIO_DIR_OUT);
-/* $OpenBSD: imxenet.c,v 1.9 2015/01/02 01:57:33 jsg Exp $ */
+/* $OpenBSD: imxenet.c,v 1.10 2015/01/17 02:57:16 jsg Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
case BOARD_ID_IMX6_PHYFLEX:
case BOARD_ID_IMX6_SABRELITE:
/* phyFLEX i.MX6 and SABRE Lite PHY reset */
- imxgpio_set_dir(ENET_PHYFLEX_PHY_RST, IMXGPIO_DIR_OUT);
- delay(10);
- imxgpio_set_bit(ENET_PHYFLEX_PHY_RST);
- delay(10);
+ imxgpio_clear_bit(ENET_SABRELITE_PHY_RST);
+ imxgpio_set_dir(ENET_SABRELITE_PHY_RST, IMXGPIO_DIR_OUT);
+ imxgpio_clear_bit(ENET_NITROGEN6X_PHY_RST);
+ imxgpio_set_dir(ENET_NITROGEN6X_PHY_RST, IMXGPIO_DIR_OUT);
+ delay(1000 * 10);
+ imxgpio_set_bit(ENET_SABRELITE_PHY_RST);
+ imxgpio_set_bit(ENET_NITROGEN6X_PHY_RST);
+ delay(100);
break;
case BOARD_ID_IMX6_UDOO:
imxgpio_set_bit(ENET_UDOO_PWR);