Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658783
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/5] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver |
| Date | 2017-06-06 16:00 +0200 |
| Message-ID | <tPnbz-160-1@gated-at.bofh.it> (permalink) |
| References | <tP5Ro-6ZT-7@gated-at.bofh.it> <tP5Ro-6ZT-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 6, 2017 at 3:21 AM, Corentin Labbe
<clabbe.montjoie@gmail.com> wrote:
> The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed.
> This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> ---
> arch/arm/boot/dts/sun8i-a83t.dtsi | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
> index ae559dc42caa..304a966c8048 100644
> --- a/arch/arm/boot/dts/sun8i-a83t.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
> @@ -200,6 +200,14 @@
> #interrupt-cells = <3>;
> #gpio-cells = <3>;
>
> + emac_rgmii_pins: emac0-pins {
I prefer emac-rgmii-pins for the node name.
> + pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
> + "PD11", "PD12", "PD13", "PD14", "PD18",
> + "PD19", "PD21", "PD22", "PD23";
> + function = "gmac";
> + drive-strength = <40>;
> + };
> +
> mmc0_pins: mmc0-pins {
> pins = "PF0", "PF1", "PF2",
> "PF3", "PF4", "PF5";
> @@ -266,6 +274,26 @@
> status = "disabled";
> };
>
> + emac: ethernet@1c30000 {
> + compatible = "allwinner,sun8i-a83t-emac";
> + syscon = <&syscon>;
> + reg = <0x01c30000 0x104>;
> + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "macirq";
> + resets = <&ccu 13>;
> + reset-names = "stmmaceth";
> + clocks = <&ccu 27>;
> + clock-names = "stmmaceth";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> +
> + mdio: mdio {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + };
> + };
> +
> gic: interrupt-controller@1c81000 {
> compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
> reg = <0x01c81000 0x1000>,
> --
> 2.13.0
>
Otherwise,
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] ARM: sunxi: Enable dwmac-sun8i on more boards Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
[PATCH 3/5] ARM: sun50i: orangepi-pc2: Enable dwmac-sun8i Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
[PATCH 5/5] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
Re: [PATCH 5/5] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver Chen-Yu Tsai <wens@csie.org> - 2017-06-06 16:00 +0200
[PATCH 2/5] ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
[PATCH 4/5] ARM: sun8i: a83t: Add dt node for the syscon control module Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
Re: [PATCH 4/5] ARM: sun8i: a83t: Add dt node for the syscon control module Chen-Yu Tsai <wens@csie.org> - 2017-06-06 05:00 +0200
[PATCH 1/5] ARM: sun8i: orangepi-plus: Enable dwmac-sun8i Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-05 21:30 +0200
Re: [PATCH 0/5] ARM: sunxi: Enable dwmac-sun8i on more boards Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-06-06 20:00 +0200
csiph-web