[linux-sunxi] [PATCH 4/4] net-next: stmmac: dwmac-sun8i: add support for V3s EMAC

2017-06-17 Thread Icenowy Zheng
Allwinner V3s SoC has an Ethernet MAC and an internal PHY like the ones in H3 SoC, however the MAC has no external *MII interfaces available at GPIOs, thus only MII connection to internal PHY is supported. Add this variant of EMAC to dwmac-sun8i driver. The default value of the syscon

[linux-sunxi] [PATCH 3/4] net-next: stmmac: dwmac-sun8i: force EPHY clock freq to 24MHz

2017-06-17 Thread Icenowy Zheng
The EPHY control part of the EMAC syscon register has a bit called CLK_SEL. On the datasheet it says that if it's 0 the EPHY clock is 25MHz and if it's 1 the clock is 24MHz. However, according to the datasheets, no Allwinner SoC with EPHY has any extra xtal input pins for the EPHY, and the system

[linux-sunxi] [PATCH 2/4] dt-bindings: syscon: Add DT bindings documentation for Allwinner V3s syscon

2017-06-17 Thread Icenowy Zheng
Allwinner V3s SoC has a syscon like the one in H3. Add its compatible string. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/misc/allwinner,syscon.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-sunxi] [PATCH 1/4] dt-bindings: net-next: Add DT bindings documentation for Allwinner V3s EMAC

2017-06-17 Thread Icenowy Zheng
Allwinner V3s SoC has a Ethernet MAC like the one in Allwinner H3, but have no external MII capability. That means that it can only use the EPHY and cannot do Gbps transmission. Add binding for it. Signed-off-by: Icenowy Zheng ---

[linux-sunxi] [PATCH 0/4] net-next: stmmac: dwmac-sun8i: add support for V3s

2017-06-17 Thread Icenowy Zheng
Allwinner V3s features an EMAC like the on in H3, but without external MII interfaces, so being not able really to use RMII/RGMII. And it has a different default value of syscon (0x38000 instead of 0x58000 on H3), which shows a problem that the EMAC clock freq should be 24MHz. (Both H3 and V3s

[linux-sunxi] [PATCH 3/3] board: Add Pine64 support

2017-06-17 Thread Jagan Teki
From: Jagan Teki Add initial support for Pine64 board with below features: - U-Boot 2017.07-rc1 - Linux 4.11.5 - Default packages from buildroot Cc: Andre Przywara Signed-off-by: Jagan Teki --- DEVELOPERS

[linux-sunxi] [PATCH 2/3] Board: Add Bananapi M2 Plus support

2017-06-17 Thread Jagan Teki
From: Jagan Teki Add initial support for bananapi M2 Plus board with below features: - U-Boot 2017.07-rc1 - Linux 4.11.5 - Default packages from buildroot Signed-off-by: Jagan Teki --- DEVELOPERS | 1 +