Home
last modified time | relevance | path

Searched +full:sun4i +full:- +full:a10 +full:- +full:emac (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/net/
Dallwinner,sun4i-a10-emac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 EMAC Ethernet Controller
10 - $ref: ethernet-controller.yaml#
13 - Chen-Yu Tsai <wens@csie.org>
14 - Maxime Ripard <mripard@kernel.org>
18 const: allwinner,sun4i-a10-emac
31 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun5i.dtsi2 * Copyright 2012-2015 Maxime Ripard
4 * 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/clock/sun5i-ccu.h>
46 #include <dt-bindings/dma/sun4i-a10.h>
47 #include <dt-bindings/reset/sun5i-ccu.h>
50 interrupt-parent = <&intc>;
51 #address-cells = <1>;
52 #size-cells = <1>;
55 #address-cells = <1>;
[all …]
Dsun4i-a10.dtsi5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/thermal/thermal.h>
45 #include <dt-bindings/dma/sun4i-a10.h>
46 #include <dt-bindings/clock/sun4i-a10-ccu.h>
47 #include <dt-bindings/reset/sun4i-a10-ccu.h>
50 #address-cells = <1>;
51 #size-cells = <1>;
52 interrupt-parent = <&intc>;
55 ethernet0 = &emac;
59 #address-cells = <1>;
[all …]
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 …]
Dsun4i-a10-hackberry.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 "sun4i-a10.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "miniand,hackberry", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
63 reg_emac_3v3: emac-3v3 {
64 compatible = "regulator-fixed";
[all …]
Dsun4i-a10-jesurun-q5.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun4i-a10.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "jesurun,q5", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
73 reg_emac_3v3: emac-3v3 {
74 compatible = "regulator-fixed";
[all …]
Dsun4i-a10-itead-iteaduino-plus.dts3 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com>
5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-itead-core-common.dtsi"
49 model = "Iteaduino Plus A10";
50 compatible = "itead,iteaduino-plus-a10", "allwinner,sun4i-a10";
54 target-supply = <&reg_ahci_5v>;
58 &emac {
59 pinctrl-names = "default";
[all …]
Dsun4i-a10-a1000.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun4i-a10.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "mele,a1000", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
63 hdmi-connector {
64 compatible = "hdmi-connector";
69 remote-endpoint = <&hdmi_out_con>;
[all …]
Dsun4i-a10-marsboard.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
51 model = "HAOYU Electronics Marsboard A10";
52 compatible = "haoyu,a10-marsboard", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
63 compatible = "gpio-leds";
65 led-0 {
[all …]
Dsun4i-a10-olinuxino-lime.dts2 * Copyright 2014 - Hans de Goede <hdegoede@redhat.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
50 model = "Olimex A10-OLinuXino-LIME";
51 compatible = "olimex,a10-olinuxino-lime", "allwinner,sun4i-a10";
58 stdout-path = "serial0:115200n8";
61 hdmi-connector {
[all …]
Dsun4i-a10-ba10-tvbox.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
51 compatible = "allwinner,ba10-tvbox", "allwinner,sun4i-a10";
58 stdout-path = "serial0:115200n8";
70 &emac {
71 phy-handle = <&phy1>;
83 compatible = "x-powers,axp209";
[all …]
Dsun4i-a10-pcduino.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
66 led-0 {
[all …]
Dsun4i-a10-cubieboard.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
52 compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
62 hdmi-connector {
63 compatible = "hdmi-connector";
68 remote-endpoint = <&hdmi_out_con>;
[all …]
Dsun5i-a10s.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/dma/sun4i-a10.h>
51 ethernet0 = &emac;
55 #address-cells = <1>;
56 #size-cells = <1>;
59 framebuffer-lcd0-hdmi {
60 compatible = "allwinner,simple-framebuffer",
61 "simple-framebuffer";
62 allwinner,pipeline = "de_be0-lcd0-hdmi";
[all …]
Dsun8i-v3s.dtsi5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/clock/sun6i-rtc.h>
46 #include <dt-bindings/clock/sun8i-v3s-ccu.h>
47 #include <dt-bindings/reset/sun8i-v3s-ccu.h>
48 #include <dt-bindings/clock/sun8i-de2.h>
51 #address-cells = <1>;
52 #size-cells = <1>;
53 interrupt-parent = <&gic>;
56 #address-cells = <1>;
[all …]
/linux-6.12.1/drivers/net/ethernet/allwinner/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
24 tristate "Allwinner A10 EMAC support"
32 Support for Allwinner A10 EMAC ethernet driver.
35 will be called sun4i-emac.
Dsun4i-emac.c2 * Allwinner EMAC Fast Ethernet driver for Linux.
4 * Copyright 2012-2013 Stefan Roese <sr@denx.de>
5 * Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
34 #include "sun4i-emac.h"
36 #define DRV_NAME "sun4i-emac"
41 static int debug = -1; /* defaults above */;
50 /* EMAC register address locking.
52 * The EMAC uses an address register to control where data written
107 /* set EMAC SPEED, depend on PHY */ in emac_update_speed()
108 reg_val = readl(db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed()
[all …]
/linux-6.12.1/drivers/net/mdio/
Dmdio-sun4i.c1 // SPDX-License-Identifier: GPL-2.0
3 * Allwinner EMAC MDIO interface driver
5 * Copyright 2012-2013 Stefan Roese <sr@denx.de>
6 * Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
38 struct sun4i_mdio_data *data = bus->priv; in sun4i_mdio_read()
43 writel((mii_id << 8) | regnum, data->membase + EMAC_MAC_MADR_REG); in sun4i_mdio_read()
45 writel(0x1, data->membase + EMAC_MAC_MCMD_REG); in sun4i_mdio_read()
49 while (readl(data->membase + EMAC_MAC_MIND_REG) & 0x1) { in sun4i_mdio_read()
51 return -ETIMEDOUT; in sun4i_mdio_read()
56 writel(0x0, data->membase + EMAC_MAC_MCMD_REG); in sun4i_mdio_read()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 loadable module or built-in.
50 tristate "Allwinner sun4i MDIO interface support"
54 interface units of the Allwinner SoC that have an EMAC (A10,
58 tristate "APM X-Gene SoC MDIO bus controller"
62 APM X-Gene SoC's.
72 third revision of the ASPEED MDIO register interface - the first two
109 tristate "GPIO lib-based bitbanged MDIO buses"
113 Supports GPIO lib-based MDIO busses.
116 will be called mdio-gpio.
[all …]
/linux-6.12.1/drivers/soc/sunxi/
Dsunxi_sram.c6 * Author: Maxime Ripard <maxime.ripard@free-electrons.com>
61 .data = SUNXI_SRAM_DATA("A3-A4", 0x4, 0x4, 2,
63 SUNXI_SRAM_MAP(1, 1, "emac")),
75 SUNXI_SRAM_MAP(1, 1, "usb-otg")),
86 .compatible = "allwinner,sun4i-a10-sram-a3-a4",
90 .compatible = "allwinner,sun4i-a10-sram-c1",
94 .compatible = "allwinner,sun4i-a10-sram-d",
98 .compatible = "allwinner,sun50i-a64-sram-c",
118 seq_puts(s, "--------------------\n\n"); in sunxi_sram_show()
120 for_each_child_of_node(sram_dev->of_node, sram_node) { in sunxi_sram_show()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-orangepi-zero-plus.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 // Copyright (C) 2018 Hauke Mehrtens <hauke@hauke-m.de>
5 /dts-v1/;
6 #include "sun50i-h5.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/sun4i-a10.h>
14 compatible = "xunlong,orangepi-zero-plus", "allwinner,sun50i-h5";
17 compatible = "regulator-fixed";
18 regulator-name = "vcc3v3";
[all …]
Dsun50i-h5-orangepi-pc2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
5 #include "sun50i-h5.dtsi"
6 #include "sun50i-h5-cpu-opp.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/sun4i-a10.h>
14 compatible = "xunlong,orangepi-pc2", "allwinner,sun50i-h5";
17 compatible = "regulator-fixed";
18 regulator-name = "vcc3v3";
[all …]
Dsun50i-h5-nanopi-neo-plus2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 /dts-v1/;
6 #include "sun50i-h5.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/sun4i-a10.h>
14 compatible = "friendlyarm,nanopi-neo-plus2", "allwinner,sun50i-h5";
17 ethernet0 = &emac;
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-leds";
[all …]
/linux-6.12.1/drivers/pinctrl/sunxi/
Dpinctrl-sun4i-a10.c2 * Allwinner A10 SoCs pinctrl driver.
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
18 #include "pinctrl-sunxi.h"
24 SUNXI_FUNCTION(0x2, "emac"), /* ERXD3 */
33 SUNXI_FUNCTION(0x2, "emac"), /* ERXD2 */
42 SUNXI_FUNCTION(0x2, "emac"), /* ERXD1 */
51 SUNXI_FUNCTION(0x2, "emac"), /* ERXD0 */
60 SUNXI_FUNCTION(0x2, "emac"), /* ETXD3 */
68 SUNXI_FUNCTION(0x2, "emac"), /* ETXD2 */
76 SUNXI_FUNCTION(0x2, "emac"), /* ETXD1 */
[all …]
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun4i-a10.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
28 #include "ccu-sun4i-a10.h"
38 .hw.init = CLK_HW_INIT("pll-core",
50 * With sigma-delta modulation for fractional-N on the audio PLL,
73 .hw.init = CLK_HW_INIT("pll-audio-base",
91 .hw.init = CLK_HW_INIT("pll-video0",
106 .hw.init = CLK_HW_INIT("pll-ve",
119 .hw.init = CLK_HW_INIT("pll-ve",
132 .hw.init = CLK_HW_INIT("pll-ddr-base",
[all …]

12