- 27 Oct, 2011 3 commits
-
-
Manjunath Hadli authored
remove macro CONFIG_EMAC_MDIO_PHY_NUM and depending macro EMAC_MDIO_PHY_NUM as they are no longer needed with the support for more than 1 PHYs in davinci emac driver. Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Manjunath Hadli authored
add support for more than 1 PHYs. Many of the davinci platforms have more than 1 PHYs on thier board. This patch extends support in davinci emac driver for upto 3 PHYs. Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Manjunath Hadli authored
add more features like DUPLEX, 100MB link speed etc to auto negotiate in EMAC driver. EMAC controller autonegotiates for these features with PHYs which are on the board. Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 30 Sep, 2011 3 commits
-
-
Heiko Schocher authored
Once the MDIO state machine has been initialized and enabled, it starts polling all 32 PHY addresses on the MDIO bus, looking for an active PHY. Add a 5 ms delay, so all PHYs are for sure detected. This problem was detected on the cmc board with a KSZ8864 switch. Signed-off-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Heiko Schocher authored
The PHY driver was too verbose and corrupted the boot message display like this: ... Net: Ethernet PHY: KSZ8873 @ 0x02 DaVinci-EMAC ... Turn printf() into debug() so we get the expected output again: ... Net: DaVinci-EMAC ... Signed-off-by:
Heiko Schocher <hs@denx.de> cc: Paulraj Sandeep <s-paulraj@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Paulraj Sandeep <s-paulraj@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 04 Sep, 2011 1 commit
-
-
Nagabhushana Netagunte authored
TX and RX channel numbers programmed as '1' during EMAC teardown initialization is wrong. This patch fixes the same by setting channel number to '0' which is used by U-boot. Signed-off-by:
Sugumar Natarajan <sugumar@ti.com> Signed-off-by:
Nagabhushana Netagunte <nagabhushana.netagunte@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 11 Apr, 2011 1 commit
-
-
Ben Gardiner authored
This patch fixes ea20 after 8ef583a0 where the u-boot custom PHY_ macros were replaced with those of linux/mii.h MII_ definitions except in the RMII support for davinci_emac. Probably also due to the merge path of changes in 2010.12. Signed-off-by:
Ben <Gardiner<bengardiner@nanometrics.ca> CC: Mike Frysinger <vapier@gentoo.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
- 01 Feb, 2011 3 commits
-
-
Sandeep Paulraj authored
Added arch/arm/cpu/arm926ejs/davinci/et1011c.c for handling ET1011C gigabit phy. which overrides get_link_speed function from default implementation. This enables output of 125 MHz reference clock on SYS_CLK pin. Signed-off-by:
Prakash PM <prakash.pm@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Adds "DaVinci-EMAC" as the name of the device so that it gets printed as "Using DaVinci-EMAC device" during network access (dhcp, tftp) instead of empty name in "Using" statement.This name also gets reflected in 'ethact' env variable. Signed-off-by:
Hemant Pedanekar <hemantp@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Enabling the gigabit was overwriting the previous configuration by setting up only GIGAFORCE and GIG bits of MAC control register. Modified to retain previous configuration while gigabit enabling. Signed-off-by:
Prakash PM <prakash.pm@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 09 Jan, 2011 1 commit
-
-
Mike Frysinger authored
The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot and Linux simpler. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 09 Dec, 2010 1 commit
-
-
Sudhakar Rajashekhara authored
This patch is a port of the work by Sudhakar Rajeshekhara in commit ab3effbcad8851cc65dc5241a01c064d2030a3b2 of git://arago-project.org/git/people/sandeep/u-boot-davinci.git . The da850 UI board has on it an RMII PHY which can be used if the MDC line to the MII PHY on the baseboard is disabled and the RMII PHY is enabled by configuring the values of some GPIO pins on the IO expander of the UI board. This patch implements disabling that line via GPIO2[6], configuring the UI board's IO expander and setting only the pinmux settings that are needed for RMII operation. Tested on da850evm by adding a define for CONFIG_DRIVER_TI_EMAC_USE_RMII. Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> CC: Sandeep Paulraj <s-paulraj@ti.com> CC: Ben Warren <biggerbadderben@gmail.com> CC: Mike Frysinger <vapier@gentoo.org> CC: Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 30 Nov, 2010 1 commit
-
-
Sudhakar Rajashekhara authored
This patch is a port of the work by Sudhakar Rajeshekhara in commit ab3effbcad8851cc65dc5241a01c064d2030a3b2 of git://arago-project.org/git/people/sandeep/u-boot-davinci.git . The da850 UI board has on it an RMII PHY which can be used if the MDC line to the MII PHY on the baseboard is disabled and the RMII PHY is enabled by configuring the values of some GPIO pins on the IO expander of the UI board. This patch implements disabling that line via GPIO2[6], configuring the UI board's IO expander and setting only the pinmux settings that are needed for RMII operation. Tested on da850evm by adding a define for CONFIG_DRIVER_TI_EMAC_USE_RMII. Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> CC: Sandeep Paulraj <s-paulraj@ti.com> CC: Ben Warren <biggerbadderben@gmail.com> CC: Mike Frysinger <vapier@gentoo.org> CC: Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 12 Oct, 2010 1 commit
-
-
Ben Gardiner authored
This patch proposes to migrate the davinci_emac driver to using the eth_device->write_hwaddr function pointer as suggested by Ben Warren. All the davinci boards had the behaviour, prior to this patch, of sync'ing the environment variable enetaddr with the MAC address read from non-volatile storage on boot -- when the two locations disagreed, the environment variable value took precendence. This patch keeps the same behaviour but lets eth_initialize take care of it. This patch refactors davinci_emac setup in the boards so that the MAC address is read from non-volatile storage into the environment variable and then the environment variable value is use in eth_intialize. The only exception is the direct call to davinci_eth_set_mac_addr made by the da830evm board init which was changed into an assignment of the enetaddr field. Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> Tested-by:
Nick Thompson <nick.thompson@ge.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 09 Aug, 2010 1 commit
-
-
Mike Frysinger authored
The driver name does not need to be writable, so constify it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 01 Feb, 2010 1 commit
-
-
Nick Thompson authored
The EMAC IP on DM365, DM646x and DA830 is slightly different from that on DM644x. This change updates the DaVinci EMAC driver so that EMAC becomes operational on SOCs with EMAC v2. Signed-off-by:
Nick Thompson <nick.thompson@ge.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 15 Jun, 2009 3 commits
-
-
Ben Warren authored
Added CONFIG_NET_MULTI to all Davinci boards Removed all calls to Davinci network driver from board code Added cpu_eth_init() to cpu/arm926ejs/cpu.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Removed pointless #ifdefs Moved functions around in file in preparation for switch to newer API Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
This driver has been renamed davinci_emac.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- 30 Aug, 2008 1 commit
-
-
Sandeep Paulraj authored
DM644x is just one of a series of DaVinci chips that use the EMAC driver. By replacing all the function names that start with dm644x_* to davinci_* we make these function more portable. I have tested this change on my EVM. DM6467 is another DaVinci SOC which uses the EMAC driver and i will be sending patches that add DaVinci DM6467 support to the list soon. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- 14 Jul, 2008 1 commit
-
-
Hugo Villeneuve authored
ARM DaVinci: Remove extern phy_t declaration by moving code to proper place. Signed-off-by:
Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
-
- 20 May, 2008 1 commit
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- 12 Aug, 2007 1 commit
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- 10 Aug, 2007 2 commits
-
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
Sergey Kubushyn authored
Add support for the following DaVinci boards: - DV_EVM - SCHMOOGIE - SONATA Changes: - Split into separate board directories - Removed changes to MTD_DEBUG (or whatever it's called) - New CONFIG_CMD party line followed - Some cosmetic fixes, cleanup etc. - Patches against the latest U-Boot tree as of now. - Fixed CONFIG_CMD_NET in net files. - Fixed CONFIG_CMD_EEPROM for schmoogie. - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and DV_EVM. Can't check if it works on SONATA, don't have a board any more, but it at least compiles. Here is an excerpt from session log on SCHMOOGIE... U-Boot 1.2.0-g6c33c785 -dirty (Aug 7 2007 - 13:07:17) DRAM: 128 MB NAND: 128 MiB In: serial Out: serial Err: serial ARM Clock : 297MHz DDR Clock : 162MHz ETH PHY : DP83848 @ 0x01 U-Boot > iprobe Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F U-Boot > ping 192.168.253.10 host 192.168.253.10 is alive U-Boot > Signed-off-by:
Sergey Kubushyn <ksi@koi8.net> Acked-by:
Dirk Behme <dirk.behme@gmail.com> Acked-by:
Zach Sadecki <Zach.Sadecki@ripcode.com> Acked-by:
Stefan Roese <sr@denx.de>
-