/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | allwinner,sun4i-a10-emac.yaml | 1 # 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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | allwinner,sun4i-emac.txt | 1 * Allwinner EMAC ethernet controller 4 - compatible: should be "allwinner,sun4i-a10-emac" (Deprecated: 5 "allwinner,sun4i-emac") 6 - reg: address and length of the register set for the device. 7 - interrupts: interrupt for the device 8 - phy: see ethernet.txt file in the same directory. 9 - clocks: A phandle to the reference clock for this device 13 emac: ethernet@01c0b000 { 14 compatible = "allwinner,sun4i-a10-emac";
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun5i.dtsi | 2 * 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 …]
|
H A D | sun4i-a10.dtsi | 5 * 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 …]
|
H A D | sun7i-a20.dtsi | 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/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 …]
|
H A D | sun4i-a10-hackberry.dts | 4 * 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 …]
|
H A D | sun4i-a10-jesurun-q5.dts | 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 = "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 …]
|
H A D | sun4i-a10-itead-iteaduino-plus.dts | 3 * 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 = <®_ahci_5v>; 58 &emac { 59 pinctrl-names = "default"; [all …]
|
H A D | sun4i-a10-a1000.dts | 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 = "mele,a1000", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 63 hdmi-connector { 64 compatible = "hdmi-connector"; 69 remote-endpoint = <&hdmi_out_con>; [all …]
|
H A D | sun4i-a10-marsboard.dts | 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-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 …]
|
H A D | sun4i-a10-olinuxino-lime.dts | 2 * 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 …]
|
H A D | sun4i-a10-ba10-tvbox.dts | 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> 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun4i-a10.dtsi | 5 * 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 …]
|
H A D | sun5i.dtsi | 2 * 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 47 #include <dt-bindings/clock/sun5i-ccu.h> 48 #include <dt-bindings/dma/sun4i-a10.h> 49 #include <dt-bindings/reset/sun5i-ccu.h> 52 interrupt-parent = <&intc>; 55 #address-cells = <1>; 56 #size-cells = <0>; 60 compatible = "arm,cortex-a8"; [all …]
|
H A D | sun4i-a10-hackberry.dts | 4 * 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 …]
|
H A D | sun4i-a10-jesurun-q5.dts | 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 = "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 …]
|
H A D | sun7i-a20.dtsi | 4 * 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/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/clock/sun7i-a20-ccu.h> 51 #include <dt-bindings/reset/sun4i-a10-ccu.h> 54 interrupt-parent = <&gic>; 61 #address-cells = <1>; 62 #size-cells = <1>; [all …]
|
H A D | sun4i-a10-a1000.dts | 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 = "mele,a1000", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 74 default-state = "on"; 78 reg_emac_3v3: emac-3v3 { [all …]
|
H A D | sun4i-a10-itead-iteaduino-plus.dts | 3 * 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 = <®_ahci_5v>; 58 &emac { 59 pinctrl-names = "default"; [all …]
|
H A D | sun4i-a10-olinuxino-lime.dts | 2 * 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 …]
|
H A D | sun4i-a10-marsboard.dts | 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-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"; 107 &emac { [all …]
|
H A D | sun4i-a10-ba10-tvbox.dts | 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> 51 compatible = "allwinner,ba10-tvbox", "allwinner,sun4i-a10"; 58 stdout-path = "serial0:115200n8"; 70 &emac { 83 compatible = "x-powers,axp209"; 87 interrupt-controller; [all …]
|
H A D | sun4i-a10-pcduino.dts | 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-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"; 77 gpio-keys { [all …]
|
/openbmc/linux/drivers/net/ethernet/allwinner/ |
H A D | Kconfig | 1 # 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.
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-sun4i.c | 1 // 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 …]
|