I am not sure if you are trying to enable both HS USB and Ethernet. The main difference between K66 and K60 is if you are trying to use HS USB, then you need to connect 12, 16 or 24MHz on the main oscillator pins (PTA18 and PTA19). But this conflicts the requirement for RMII clock input of 50MHz to be connected on EXTAL like on K60.
But there is a different option to connect RMII clock, you can use ENET_1588_CLKIN (PTE26) and this can be configured with SIM_SOPT2[RMIISRC] bit.
Iam using only external 50MHz crystal at pin(72),Iam using RMII mode ,but the same crystal is used in the k60 the Ethernet is worked fine but for k66 Ethernet is not working , I made MCG_c2 registers EREFS bit to logic 1, even thought it not working . Iam using the code warrior generated code for the k60 , now only change I replace the k60 with k66, I don't know how to enable the interrupts in the code warrior generated code because irq numbers gets changed in k66 , I possible can you send Ethernet application in keil 5 for k66 ,
Actually you should use the following link to download KSDK2.0 packages.
Choose Build an SDK, and select the board for FRDM-K66, so you can download that package.
Sorry that what I showed might have confused you. Yo do not have to select RTOS for using ENET, you can deselect RTOSes on that page and just get a baremetal project and you can also just select Keil for your toolchain.
I have attached the package with just ENET driver demos for Keil here.
You can check folder SDK_2.0_FRDM-K66F\boards\frdmk66f for demo projects where demo_apps include examples running with LWIP while driver_examples just include example for using ENET module.
Bare-metal Ethernet drivers are available at
Note however that the only change to any other Ethernet part is that the 50MHz clock MUST to be connected to the ENET_1588_CLKIN clock input and the pin selected as its peripheral function, doing something like
_CONFIG_PERIPHERAL(E, 26, PE_26_ENET_1588_CLKIN);
There is also really nothing that is Keil specific since the code will build with any IDE or compiler.
Kinetis for professionals: http://http://www.utasker.com/kinetis.html