[U-Boot] [PATCH v6 6/6] configs: Bananapi_M2_Ultra: enable gigabit ethernet

2018-07-13 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40) Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2 -> v3 remove unused CONFIG_SUN7I_GMAC v3 -> v4 include device tree node, enable ALD

[U-Boot] [PATCH v6 4/6] net: sun8i-emac: support R40 GMAC

2018-07-13 Thread Lothar Felten
. The driver uses the -gmac suffix for the R40 because the R40 also has a different 100 MBit MAC (EMAC). Signed-off-by: Lothar Felten Reviewed-by: Jagan Teki Tested-by: Jagan Teki --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants v4 -> v5 -> v6 none --- dr

[U-Boot] [PATCH v6 5/6] sunxi: R40: add gigabit ethernet devicetree node

2018-07-13 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 GMAC gigabit ethernet interface. The R40 SoC does not use the syscon register for GMAC settings. The gigabit ethernet interface can only be routed to a fixed set of pins. Updated to match the Linux kernel's device tree. Signed-off-by: Lothar Felten

[U-Boot] [PATCH v6 2/6] net: sun8i-emac: fix printing NULL character

2018-07-13 Thread Lothar Felten
If the variant is not set and therefore NULL, do not attempt to print the variant. Signed-off-by: Lothar Felten Acked-by: Maxime Ripard Acked-by: Joe Hershberger Reviewed-by: Jagan Teki Tested-by: Jagan Teki --- Changelog: new in v4 v4->v5->v6 none --- drivers/net/sun8i_emac

[U-Boot] [PATCH v6 3/6] net: sun8i-emac: set mux and clock by driver data

2018-07-13 Thread Lothar Felten
Use driver data->variant information to select device specific pin mux and phy clock settings. Suggested by Jagan Teki Reviewed-by: Jagan Teki Tested-by: Jagan Teki Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants v4

[U-Boot] [PATCH v6 1/6] sunxi: R40: add gigabit ethernet clocks

2018-07-13 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Acked-by: Maxime Ripard Reviewed-by: Joe Hershberger Reviewed-by: Jagan Teki Tested-by: Jagan Teki Signed-off-by: Lothar Felten --- Changelog: new in v2 v2->v3->4->v5->v6: none --- arch/arm/incl

[U-Boot] [PATCH v5 4/6] net: sun8i-emac: support R40 GMAC

2018-06-27 Thread Lothar Felten
. The driver uses the -gmac suffix for the R40 because the R40 also has a different 100 MBit MAC (EMAC). Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants v4 -> v5 none --- drivers/net/sun8i_emac.

[U-Boot] [PATCH v5 6/6] configs: Bananapi_M2_Ultra: enable gigabit ethernet

2018-06-27 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40) Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2 -> v3 remove unused CONFIG_SUN7I_GMAC v3 -> v4 include device tree node, enable ALD

[U-Boot] [PATCH v5 5/6] sunxi: R40: add gigabit ethernet devicetree node

2018-06-27 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 GMAC gigabit ethernet interface. The R40 SoC does not use the syscon register for GMAC settings. The gigabit ethernet interface can only be routed to a fixed set of pins. Updated to match the Linux kernel's device tree. Signed-off-by: Lothar Felten

[U-Boot] [PATCH v5 3/6] net: sun8i-emac: set mux and clock by driver data

2018-06-27 Thread Lothar Felten
Use driver data->variant information to select device specific pin mux and phy clock settings. Suggested by Jagan Teki Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants v4 -> v5 none --- drivers/net/sun8i_em

[U-Boot] [PATCH v5 2/6] net: sun8i-emac: fix printing NULL character

2018-06-27 Thread Lothar Felten
If the variant is not set and therefore NULL, do not attempt to print the variant. Signed-off-by: Lothar Felten Acked-by: Maxime Ripard Acked-by: Joe Hershberger --- Changelog: new in v4 v4->v5 none --- drivers/net/sun8i_emac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) d

[U-Boot] [PATCH v5 1/6] sunxi: R40: add gigabit ethernet clocks

2018-06-27 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Acked-by: Maxime Ripard Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2->v3->4->v5: none --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 fil

[U-Boot] [PATCH v4 4/6] net: sun8i-emac: support R40 GMAC

2018-06-26 Thread Lothar Felten
. The driver uses the -gmac suffix for the R40 because the R40 also has a different 100 MBit MAC (EMAC). Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants drivers/net/sun8i_emac.c | 79

[U-Boot] [PATCH v4 5/6] sunxi: R40: add gigabit ethernet devicetree node

2018-06-26 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 GMAC gigabit ethernet interface. The R40 SoC does not use the syscon register for GMAC settings. The gigabit ethernet interface can only be routed to a fixed set of pins. Signed-off-by: Lothar Felten --- Changelog: new in v2 v2 -> v3 o

[U-Boot] [PATCH v4 6/6] configs: Bananapi_M2_Ultra: enable gigabit ethernet

2018-06-26 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40) Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2 -> v3 remove unused CONFIG_SUN7I_GMAC v3 -> v4 include device tree node, enable

[U-Boot] [PATCH v4 3/6] net: sun8i-emac: set mux and clock by driver data

2018-06-26 Thread Lothar Felten
Use driver data->variant information to select device specific pin mux and phy clock settings. Suggested by Jagan Teki Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants drivers/net/sun8i_emac.

[U-Boot] [PATCH v4 1/6] sunxi: R40: add gigabit ethernet clocks

2018-06-26 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Acked-by: Maxime Ripard Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2->v3->4: none arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 file chan

[U-Boot] [PATCH v4 2/6] net: sun8i-emac: fix printing NULL character

2018-06-26 Thread Lothar Felten
If the variant is not set and therefore NULL, do not attempt to print the variant. Signed-off-by: Lothar Felten --- Changelog: new in v4 drivers/net/sun8i_emac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index

[U-Boot] [PATCH v2 1/1] net: new command: wol - Wake on LAN

2018-06-22 Thread Lothar Felten
be recognized as Wake-on-LAN password bytes. By default enabled in pengwyn_defconfig. Signed-off-by: Lothar Felten --- Changes v1 -> v2: - UDP support (suggested by Joe Hershberger) - moved to separate command file cmd/wol.c - style and formatting cmd/Kconfig | 5 +++ cmd/Makef

[U-Boot] [PATCH 1/2] [RFC]new command: wol - Wake on LAN

2018-04-23 Thread Lothar Felten
. Otherwise it boots the default image. This method is a simple way to interact with a system via network even if only the MAC address is known. Tools to send WoL packets are available on all common platforms. Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- net/wol.

[U-Boot] [PATCH 2/2] [RFC]new command: wol - enable command

2018-04-23 Thread Lothar Felten
This patch enables the WoL command Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- cmd/Kconfig | 5 + cmd/net.c | 14 ++ include/net.h | 3 ++- net/Makefile | 1 + net/net.c | 19 +++ 5 files changed, 41 insertions(+), 1 deletion(-)

Re: [U-Boot] [PATCH v2 5/5] configs: Bananapi_M2_Ultra: enable gigabit on the Bananapi M2U

2018-04-23 Thread Lothar Felten
On Thu, 2018-04-19 at 10:41 +0200, Maxime Ripard wrote: > On Tue, Apr 17, 2018 at 03:42:35PM +0200, Lothar Felten wrote: > > Enable the gigabit ethernet for the Bananapi M2 Ultra board. > > Tested on BananaPi M2 Berry (R40), custom board (V40). > > > > Signed-off-by

[U-Boot] [PATCH v3 5/5] configs: Bananapi_M2_Ultra: enable gigabit on the Bananapi

2018-04-23 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40) Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++ configs/Bananapi_M2_Ultra_defconfig | 3

[U-Boot] [PATCH v3 2/5] net: sun8i-emac: support R40 GMAC

2018-04-23 Thread Lothar Felten
. The diver uses the -gmac suffix for the R40 because the R40 also has a different 100 MBit MAC (EMAC). Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- drivers/net/sun8i_emac.c | 69 +--- 1 file changed, 47 insertions(+), 22 deletions(-) diff

[U-Boot] [PATCH v3 3/5] sunxi: R40: add gigabit ethernet gpio pinmux

2018-04-23 Thread Lothar Felten
Add gpio mux settings for the Allwinner R40/V40 CPU. The gigabit ethernet interface can only be routed to a fixed set of pins. Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts

[U-Boot] [PATCH v3 4/5] sunxi: R40: add gigabit ethernet devicetree node

2018-04-23 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 GMAC gigabit ethernet interface. The R40 SoC does not use the syscon register for GMAC settings. Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40.dtsi | 21 + 1 file changed, 21 inse

[U-Boot] [PATCH v3 1/5] sunxi: R40: add gigabit ethernet clocks

2018-04-23 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH v2 5/5] configs: Bananapi_M2_Ultra: enable gigabit on the Bananapi M2U

2018-04-17 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40). Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++ configs/Bananapi_M2_Ultra_defconfig

[U-Boot] [PATCH v2 4/5] sunxi: R40: add gigabit ethernet devicetree node

2018-04-17 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 CPU. The syscon node is required by the gmac driver. Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/dts/sun

[U-Boot] [PATCH v2 2/5] sunxi: R40: add gigabit ethernet reset

2018-04-17 Thread Lothar Felten
Add reset control for the gigabit interface of the Allwinner R40/V40 CPU Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- board/sunxi/gmac.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c index 826650c89b..b2ed

[U-Boot] [PATCH v2 3/5] sunxi: R40: add gigabit ethernet gpio pinmux

2018-04-17 Thread Lothar Felten
Add gpio mux settings for the Allwinner R40/V40 CPU. The gigabit ethernet interface can only be routed to a fixed set of pins. Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40.dtsi | 9 + drivers/net/sun8i_emac.c| 2 ++ 2 files changed, 11 inse

[U-Boot] [PATCH v2 1/5] sunxi: R40: add gigabit ethernet clocks

2018-04-17 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Signed-off-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH 1/1] sunxi: R40: add support for gigabit ethernet

2018-04-12 Thread Lothar Felten
-by: Lothar Felten <lothar.fel...@gmail.com> --- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++ arch/arm/dts/sun8i-r40.dtsi | 37 +++ arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +++- board/sunxi/

[U-Boot] [PATCH v4 0/1] Initial support for Silica Pengwyn board

2014-01-31 Thread Lothar Felten
Initial support for Silica Pengwyn board arch/arm/include/asm/arch-am33xx/ddr_defs.h | 16 +++ board/silica/pengwyn/Makefile | 13 ++ board/silica/pengwyn/board.c| 207 ++ board/silica/pengwyn/board.h| 15 ++

[U-Boot] [PATCH v4 1/1] Initial support for Silica Pengwyn board

2014-01-31 Thread Lothar Felten
. USB Host, USB Device and Ethernet are also provided but untested. [1] http://www.silica.com/product/silica-pengwyn-board.html [2] http://www.ti.com/product/am3354 Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- Changes for v2: - Changed license type to GPL 2.0+ - Coding style cleanup

[U-Boot] [PATCH] initial support for pengwyn board

2014-01-29 Thread Lothar Felten
Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 16 ++ board/silica/pengwyn/Makefile | 13 ++ board/silica/pengwyn/board.c| 216 + board/silica/pengwyn/board.h| 15

[U-Boot] [PATCH v3 1/2] initial support for pengwyn board

2014-01-29 Thread Lothar Felten
Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 16 ++ board/silica/pengwyn/Makefile | 13 ++ board/silica/pengwyn/board.c| 216 + board/silica/pengwyn/board.h| 15

[U-Boot] [PATCH v3 0/2] Initial support for the silica pengwyn board

2014-01-29 Thread Lothar Felten
. USB Host, USB Device and Ethernet are also provided but untested. [1] http://www.silica.com/product/silica-pengwyn-board.html [2] http://www.ti.com/product/am3354 Lothar Felten (2): initial support for pengwyn board cosmetics: braces, comment and whitespace formatting Signed-off

[U-Boot] [PATCH v3 2/2] cosmetics: braces, comment and whitespace formatting Signed-off-by: Lothar Felten lothar.fel...@gmail.com

2014-01-29 Thread Lothar Felten
Signed-off-by: Lothar Felten lothar.fel...@gmail.com --- board/silica/pengwyn/board.c | 10 +- include/configs/pengwyn.h|6 ++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/board/silica/pengwyn/board.c b/board/silica/pengwyn/board.c index d5dbd3b..97d7de4