| /freebsd/sys/contrib/device-tree/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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm/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 …]
|
| 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"; 66 led-0 { [all …]
|
| H A D | sun4i-a10-cubieboard.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> 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 …]
|
| H A D | sun5i-a10s.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/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 …]
|
| H A D | sun8i-v3s.dtsi | 5 * 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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/allwinner/ |
| H A D | sun50i-h5-orangepi-zero-plus.dts | 1 // 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 …]
|
| H A D | sun50i-h5-orangepi-pc2.dts | 1 // 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 …]
|
| H A D | sun50i-h5-nanopi-neo-plus2.dts | 1 // 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 …]
|
| H A D | sun50i-h6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/sun50i-h6-ccu.h> 6 #include <dt-bindings/clock/sun50i-h6-r-ccu.h> 7 #include <dt-bindings/clock/sun6i-rtc.h> 8 #include <dt-bindings/clock/sun8i-de2.h> 9 #include <dt-bindings/clock/sun8i-tcon-top.h> 10 #include <dt-bindings/reset/sun50i-h6-ccu.h> 11 #include <dt-bindings/reset/sun50i-h6-r-ccu.h> 12 #include <dt-bindings/reset/sun8i-de2.h> [all …]
|
| H A D | sun50i-a64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/sun50i-a64-ccu.h> 7 #include <dt-bindings/clock/sun6i-rtc.h> 8 #include <dt-bindings/clock/sun8i-de2.h> 9 #include <dt-bindings/clock/sun8i-r-ccu.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/sun50i-a64-ccu.h> 12 #include <dt-bindings/reset/sun8i-de2.h> 13 #include <dt-bindings/reset/sun8i-r-ccu.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
| /freebsd/sys/arm/allwinner/ |
| H A D | a10_sramc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 62 bus_space_read_4((sc)->bst, (sc)->bsh, (reg)) 64 bus_space_write_4((sc)->bst, (sc)->bsh, (reg), (val)) 70 if (ofw_bus_is_compatible(dev, "allwinner,sun4i-a10-sram-controller")) { in a10_sramc_probe() 84 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); in a10_sramc_attach() 85 if (!sc->res) { in a10_sramc_attach() 90 sc->bst = rman_get_bustag(sc->res); in a10_sramc_attach() 91 sc->bsh = rman_get_bushandle(sc->res); in a10_sramc_attach() 122 /* Map SRAM to EMAC, set bit 2 and 4. */ in a10_map_to_emac()
|
| H A D | if_emac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 /* A10/A20 EMAC driver */ 136 bus_space_read_4(sc->emac_tag, sc->emac_handle, reg) 138 bus_space_write_4(sc->emac_tag, sc->emac_handle, reg, val) 145 /* Activate EMAC clock. */ in emac_sys_setup() 146 error = clk_get_by_ofw_index(sc->emac_dev, 0, 0, &sc->emac_clk); in emac_sys_setup() 148 device_printf(sc->emac_dev, "cannot get clock\n"); in emac_sys_setup() 151 error = clk_enable(sc->emac_clk); in emac_sys_setup() 153 device_printf(sc->emac_dev, "cannot enable clock\n"); in emac_sys_setup() [all …]
|
| /freebsd/sys/dev/clk/allwinner/ |
| H A D | ccu_a10.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 #include <dt-bindings/clock/sun4i-a10-ccu.h> 48 #include <dt-bindings/clock/sun7i-a20-ccu.h> 49 #include <dt-bindings/reset/sun4i-a10-ccu.h> 51 /* Non-exported resets */ 52 /* Non-exported clocks */ 66 /* Non-exported fixed clocks */ 106 CCU_GATE(CLK_AHB_OTG, "ahb-otg", "ahb", 0x60, 0) 107 CCU_GATE(CLK_AHB_EHCI0, "ahb-ehci0", "ahb", 0x60, 1) [all …]
|