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
.
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
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
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
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
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
.
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.
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
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
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
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
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
.
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
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
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
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.
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
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
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
. 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.
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(-)
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
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
.
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
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
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
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
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
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
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
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
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
-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/
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 ++
.
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
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
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
.
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
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
39 matches
Mail list logo