RT74765. twr-k60n512: reuse the `mcffec` Ethernet driver for TWR-K60N512
Also add the code for: 1. Enabling the clock gate for the Ethernet module of the MCU, 2. Pin configuration for RMII. 3. Disabling the MPU (the Ethernet module will be unable to work with the SRAM otherwise.) The pull-down resistor for the RXER pin is enabled, because this input pin is not connected to the PHY on the TWR-K60N512 board by default.
Showing
- board/freescale/twr-k60n512/board.c 58 additions, 1 deletionboard/freescale/twr-k60n512/board.c
- cpu/arm_cortexm3/kinetis/Makefile 1 addition, 1 deletioncpu/arm_cortexm3/kinetis/Makefile
- cpu/arm_cortexm3/kinetis/clock.c 5 additions, 0 deletionscpu/arm_cortexm3/kinetis/clock.c
- cpu/arm_cortexm3/kinetis/eth.c 43 additions, 0 deletionscpu/arm_cortexm3/kinetis/eth.c
- cpu/arm_cortexm3/kinetis/soc.c 60 additions, 0 deletionscpu/arm_cortexm3/kinetis/soc.c
- drivers/gpio/kinetis_gpio.c 20 additions, 0 deletionsdrivers/gpio/kinetis_gpio.c
- include/asm-arm/arch-kinetis/kinetis.h 3 additions, 0 deletionsinclude/asm-arm/arch-kinetis/kinetis.h
- include/asm-arm/arch-kinetis/kinetis_gpio.h 17 additions, 0 deletionsinclude/asm-arm/arch-kinetis/kinetis_gpio.h
- include/configs/twr-k60n512.h 38 additions, 4 deletionsinclude/configs/twr-k60n512.h
Loading
Please register or sign in to comment