Home
last modified time | relevance | path

Searched +full:sun7i +full:- +full:a20 +full:- +full:gmac (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/net/
Dallwinner,sun7i-a20-gmac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A20 GMAC Device Tree Bindings
10 - $ref: "snps,dwmac.yaml#"
13 - Chen-Yu Tsai <wens@csie.org>
14 - Maxime Ripard <mripard@kernel.org>
18 const: allwinner,sun7i-a20-gmac
26 interrupt-names:
[all …]
Dsnps,dwmac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Torgue <alexandre.torgue@st.com>
11 - Giuseppe Cavallaro <peppe.cavallaro@st.com>
12 - Jose Abreu <joabreu@synopsys.com>
23 - snps,dwmac
24 - snps,dwmac-3.50a
25 - snps,dwmac-3.610
26 - snps,dwmac-3.70a
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun7i-a20-gmac-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun7i-a20-gmac-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A20 GMAC TX Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#clock-cells":
18 const: allwinner,sun7i-a20-gmac-clk
29 clock-output-names:
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dsun7i-a20.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/thermal/thermal.h>
47 #include <dt-bindings/dma/sun4i-a10.h>
48 #include <dt-bindings/clock/sun7i-a20-ccu.h>
49 #include <dt-bindings/reset/sun4i-a10-ccu.h>
50 #include <dt-bindings/pinctrl/sun4i-a10.h>
53 interrupt-parent = <&gic>;
54 #address-cells = <1>;
[all …]
Dsun7i-a20-i12-tvbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "I12 / Q5 / QT840A A20 tvbox";
52 compatible = "allwinner,i12-tvbox", "allwinner,sun7i-a20";
59 stdout-path = "serial0:115200n8";
63 compatible = "gpio-leds";
[all …]
Dsun7i-a20-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
54 model = "Olimex A20-Olinuxino Micro";
55 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
[all …]
Dsun7i-a20-orangepi.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "xunlong,orangepi", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
73 reg_gmac_3v3: gmac-3v3 {
[all …]
Dsun7i-a20-icnova-swac.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "ICnova-A20 SWAC";
52 compatible = "incircuit,icnova-a20-swac", "incircuit,icnova-a20",
53 "allwinner,sun7i-a20";
60 stdout-path = "serial0:115200n8";
[all …]
Dsun7i-a20-orangepi-mini.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "xunlong,orangepi-mini", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
64 hdmi-connector {
65 compatible = "hdmi-connector";
[all …]
Dsun7i-a20-bananapro.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
51 compatible = "lemaker,bananapro", "allwinner,sun7i-a20";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
77 wifi_pwrseq: wifi-pwrseq {
[all …]
Dsun7i-a20-itead-ibox.dts2 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-itead-core-common.dtsi"
48 model = "Itead Ibox A20";
49 compatible = "itead,itead-ibox-a20", "allwinner,sun7i-a20";
52 compatible = "gpio-leds";
53 pinctrl-names = "default";
54 pinctrl-0 = <&led_pins_itead_core>;
[all …]
Dsun7i-a20-lamobo-r1.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
52 compatible = "lamobo,lamobo-r1", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
64 hdmi-connector {
65 compatible = "hdmi-connector";
[all …]
Dsun7i-a20-olinuxino-lime.dts2 * This is based on sun4i-a10-olinuxino-lime.dts
4 * Copyright 2014 - Hans de Goede <hdegoede@redhat.com>
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
47 #include "sun7i-a20.dtsi"
48 #include "sunxi-common-regulators.dtsi"
50 #include <dt-bindings/gpio/gpio.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
54 model = "Olimex A20-OLinuXino-LIME";
55 compatible = "olimex,a20-olinuxino-lime", "allwinner,sun7i-a20";
[all …]
Dsun7i-a20-bananapi-m1-plus.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/interrupt-controller/arm-gic.h>
52 model = "Banana Pi BPI-M1-Plus";
53 compatible = "sinovoip,bpi-m1-plus", "allwinner,sun7i-a20";
60 stdout-path = "serial0:115200n8";
63 hdmi-connector {
[all …]
Dsun7i-a20-wits-pro-a20-dkt.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/input/input.h>
49 #include <dt-bindings/interrupt-controller/irq.h>
52 model = "Wits Pro A20 DKT";
53 compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20";
60 stdout-path = "serial0:115200n8";
[all …]
Dsun7i-a20-m3.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "mele,m3", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
82 &gmac {
[all …]
Dsun7i-a20-olimex-som204-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Source for A20-SOM204-EVB Board
9 /dts-v1/;
10 #include "sun7i-a20.dtsi"
11 #include "sunxi-common-regulators.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/pwm/pwm.h>
19 model = "Olimex A20-SOM204-EVB";
20 compatible = "olimex,a20-olimex-som204-evb", "allwinner,sun7i-a20";
[all …]
Dsun7i-a20-hummingbird.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
53 model = "Merrii A20 Hummingbird";
54 compatible = "merrii,a20-hummingbird", "allwinner,sun7i-a20";
65 stdout-path = "serial0:115200n8";
69 compatible = "regulator-fixed";
[all …]
Dsun6i-a31.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/thermal/thermal.h>
48 #include <dt-bindings/clock/sun6i-a31-ccu.h>
49 #include <dt-bindings/reset/sun6i-a31-ccu.h>
52 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <1>;
57 ethernet0 = &gmac;
[all …]
Dsun7i-a20-olinuxino-lime2.dts2 * Copyright 2014 - Iain Paton <ipaton0@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun7i-a20.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "Olimex A20-OLinuXino-LIME2";
52 compatible = "olimex,a20-olinuxino-lime2", "allwinner,sun7i-a20";
59 stdout-path = "serial0:115200n8";
[all …]
Dsun7i-a20-bananapi.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "lemaker,bananapi", "allwinner,sun7i-a20";
63 stdout-path = "serial0:115200n8";
66 hdmi-connector {
67 compatible = "hdmi-connector";
[all …]
Dsun7i-a20-olimex-som-evb.dts2 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com>
3 * Copyright 2015 - Karsten Merker <merker@debian.org>
5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun7i-a20.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
53 model = "Olimex A20-Olimex-SOM-EVB";
[all …]
Dsun7i-a20-cubieboard2.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
64 hdmi-connector {
[all …]
/Linux-v5.10/drivers/clk/sunxi/
Dclk-a20-gmac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright 2013 Chen-Yu Tsai
7 * Chen-Yu Tsai <wens@csie.org>
10 #include <linux/clk-provider.h>
19 * sun7i_a20_gmac_clk_setup - Setup function for A20/A31 GMAC clock module
23 * MII TX clock from PHY >-----|___________ _________|----> to GMAC core
24 * GMAC Int. RGMII TX clk >----|___________\__/__gate---|----> to PHY
25 * Ext. 125MHz RGMII TX clk >--|__divider__/ |
28 * The external 125 MHz reference is optional, i.e. GMAC can use its
29 * internal TX clock just fine. The A31 GMAC clock module does not have
[all …]
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dwmac-sunxi.c - Allwinner sunxi DWMAC specific glue layer
5 * Copyright (C) 2013 Chen-Yu Tsai
7 * Chen-Yu Tsai <wens@csie.org>
32 struct sunxi_priv_data *gmac = priv; in sun7i_gmac_init() local
35 if (gmac->regulator) { in sun7i_gmac_init()
36 ret = regulator_enable(gmac->regulator); in sun7i_gmac_init()
41 /* Set GMAC interface port mode in sun7i_gmac_init()
43 * The GMAC TX clock lines are configured by setting the clock in sun7i_gmac_init()
44 * rate, which then uses the auto-reparenting feature of the in sun7i_gmac_init()
[all …]

12