Home
last modified time | relevance | path

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

12

/linux-6.12.1/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
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 …]
/linux-6.12.1/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
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-6.12.1/arch/arm/boot/dts/allwinner/
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-haoyu-marsboard.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "sun7i-a20.dtsi"
9 #include "sunxi-common-regulators.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "HAOYU Electronics Marsboard A20";
16 compatible = "haoyu,a20-marsboard", "allwinner,sun7i-a20";
23 stdout-path = "serial0:115200n8";
26 hdmi-connector {
[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-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";
68 reg_mmc3_vdd: regulator-mmc3-vdd {
[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";
66 led-0 {
[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-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-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 …]
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/clock/sun6i-rtc.h>
50 #include <dt-bindings/reset/sun6i-a31-ccu.h>
53 interrupt-parent = <&gic>;
54 #address-cells = <1>;
55 #size-cells = <1>;
[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-icnova-a20.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 // Copyright (C) 2023 In-Circuit GmbH
4 #include "sun7i-a20.dtsi"
5 #include "sunxi-common-regulators.dtsi"
7 #include <dt-bindings/interrupt-controller/irq.h>
10 cpu-supply = <&reg_dcdc2>;
13 &gmac {
14 pinctrl-names = "default";
15 pinctrl-0 = <&gmac_mii_pins>;
16 phy-handle = <&phy1>;
[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 …]
/linux-6.12.1/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>
29 * sun7i_a20_gmac_clk_setup - Setup function for A20/A31 GMAC clock module
34 * MII TX clock from PHY >-----|___________ _________|----> to GMAC core
35 * GMAC Int. RGMII TX clk >----|___________\__/__gate---|----> to PHY
36 * Ext. 125MHz RGMII TX clk >--|__divider__/ |
39 * The external 125 MHz reference is optional, i.e. GMAC can use its
40 * internal TX clock just fine. The A31 GMAC clock module does not have
[all …]
/linux-6.12.1/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