Commit bb274fcf authored by Andrey Filippov's avatar Andrey Filippov

Added pullup to usb pins

parent 98f98457
...@@ -41,14 +41,20 @@ CONFIG_EZYNQ_QUADSPI_0__ATTRIB = SLOW ...@@ -41,14 +41,20 @@ CONFIG_EZYNQ_QUADSPI_0__ATTRIB = SLOW
#CONFIG_EZYNQ_MIO_ETH_1=y #CONFIG_EZYNQ_MIO_ETH_1=y
CONFIG_EZYNQ_MIO_ETH_MDIO__ATTRIB= SLOW CONFIG_EZYNQ_MIO_ETH_MDIO__ATTRIB= SLOW
CONFIG_EZYNQ_MIO_USB_0__ATTRIB= SLOW CONFIG_EZYNQ_MIO_USB_0__ATTRIB= SLOW
CONFIG_EZYNQ_MIO_USB_0__ATTRIB= PULLUP
#CONFIG_EZYNQ_MIO_USB_1=y #CONFIG_EZYNQ_MIO_USB_1=y
#CONFIG_EZYNQ_MIO_SPI_0=16 #16,28,40 #CONFIG_EZYNQ_MIO_SPI_0=16 #16,28,40
#CONFIG_EZYNQ_MIO_SPI_1=10 #10,22,34,46 #CONFIG_EZYNQ_MIO_SPI_1=10 #10,22,34,46
CONFIG_EZYNQ_MIO_SDIO_0=40 #16,28,40 CONFIG_EZYNQ_MIO_SDIO_0=40 #16,28,40
CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB=SLOW CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB=SLOW
CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB=PULLUP
#CONFIG_EZYNQ_MIO_SDIO_1=10 #10,22,34,46 #CONFIG_EZYNQ_MIO_SDIO_1=10 #10,22,34,46
CONFIG_EZYNQ_MIO_SDCD_0=46 #any but 7,8 CONFIG_EZYNQ_MIO_SDCD_0=46 #any but 7,8
CONFIG_EZYNQ_MIO_SDCD_0__ATTRIB=PULLUP
CONFIG_EZYNQ_MIO_SDWP_0=50 #any but 7,8 CONFIG_EZYNQ_MIO_SDWP_0=50 #any but 7,8
CONFIG_EZYNQ_MIO_SDWP_0__ATTRIB=PULLUP
#CONFIG_EZYNQ_MIO_SDCD_1=48 #any but 7,8 #CONFIG_EZYNQ_MIO_SDCD_1=48 #any but 7,8
#CONFIG_EZYNQ_MIO_SDWP_1=48 #any but 7,8 #CONFIG_EZYNQ_MIO_SDWP_1=48 #any but 7,8
#CONFIG_EZYNQ_MIO_SDPWR_0=48 #any even #CONFIG_EZYNQ_MIO_SDPWR_0=48 #any even
......
...@@ -57,23 +57,19 @@ ...@@ -57,23 +57,19 @@
#define CONFIG_EZYNQ_MIO_ETH_0__ATTRIB SLOW #define CONFIG_EZYNQ_MIO_ETH_0__ATTRIB SLOW
#define CONFIG_EZYNQ_MIO_ETH_MDIO__ATTRIB SLOW #define CONFIG_EZYNQ_MIO_ETH_MDIO__ATTRIB SLOW
#define CONFIG_EZYNQ_MIO_USB_0__ATTRIB SLOW #define CONFIG_EZYNQ_MIO_USB_0__ATTRIB SLOW
#define CONFIG_EZYNQ_MIO_USB_0__ATTRIB PULLUP
#define CONFIG_EZYNQ_MIO_SDIO_0 40 // 16,28,40 #define CONFIG_EZYNQ_MIO_SDIO_0 40 // 16,28,40
#define CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB SLOW #define CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB SLOW
#define CONFIG_EZYNQ_MIO_SDIO_0__ATTRIB PULLUP
#define CONFIG_EZYNQ_MIO_SDCD_0 46 //#any but 7,8 #define CONFIG_EZYNQ_MIO_SDCD_0 46 //#any but 7,8
#define CONFIG_EZYNQ_MIO_SDCD_0__ATTRIB PULLUP
#define CONFIG_EZYNQ_MIO_SDWP_0 50 //#any but 7,8 #define CONFIG_EZYNQ_MIO_SDWP_0 50 //#any but 7,8
#define CONFIG_EZYNQ_MIO_SDWP_0__ATTRIB PULLUP
#define CONFIG_EZYNQ_MIO_UART_1 48 //# 8+4*N #define CONFIG_EZYNQ_MIO_UART_1 48 //# 8+4*N
/* LED will be OFF */ /* LED will be OFF */
#define CONFIG_EZYNQ_MIO_INOUT_47 OUT #define CONFIG_EZYNQ_MIO_INOUT_47 OUT
#define CONFIG_EZYNQ_MIO_PULLUP_EN_40
#define CONFIG_EZYNQ_MIO_PULLUP_EN_41
#define CONFIG_EZYNQ_MIO_PULLUP_EN_42
#define CONFIG_EZYNQ_MIO_PULLUP_EN_43
#define CONFIG_EZYNQ_MIO_PULLUP_EN_44
#define CONFIG_EZYNQ_MIO_PULLUP_EN_45
#define CONFIG_EZYNQ_MIO_PULLUP_EN_46
/* /*
Red LED - pullup, input - on, Red LED - pullup, input - on,
output (or undefined) - off output (or undefined) - off
#define CONFIG_EZYNQ_MIO_PULLUP_EN_47 #define CONFIG_EZYNQ_MIO_PULLUP_EN_47
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment