/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | allwinner,sun7i-a20-out-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun7i-a20-out-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A20 Output Clock 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 20 const: allwinner,sun7i-a20-out-clk 30 clock-output-names: [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/allwinner/ |
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 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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>; [all …]
|
H A D | sun8i-a23-a33.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun6i-rtc.h> 48 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h> 49 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; [all …]
|
H A D | sun6i-a31.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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>; [all …]
|
H A D | sun8i-v3s.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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>; [all …]
|
H A D | sun8i-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 #include "sunxi-h3-h5.dtsi" 44 #include <dt-bindings/thermal/thermal.h> 47 cpu0_opp_table: opp-table-cpu { 48 compatible = "operating-points-v2"; 49 opp-shared; 51 opp-648000000 { 52 opp-hz = /bits/ 64 <648000000>; 53 opp-microvolt = <1040000 1040000 1300000>; [all …]
|
H A D | sun7i-a20-bananapi.dts | 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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 { [all …]
|
H A D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> [all …]
|
H A D | sun8i-a83t.dtsi | 6 * This file is dual-licensed: you can use it either under the terms 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun8i-a83t-ccu.h> 48 #include <dt-bindings/clock/sun8i-de2.h> 49 #include <dt-bindings/clock/sun8i-r-ccu.h> 50 #include <dt-bindings/reset/sun8i-a83t-ccu.h> 51 #include <dt-bindings/reset/sun8i-de2.h> 52 #include <dt-bindings/reset/sun8i-r-ccu.h> 53 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | sun8i-r40.dtsi | 2 * Copyright 2017 Chen-Yu Tsai <wens@csie.org> 5 * This file is dual-licensed: you can use it either under the terms 40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 #include <dt-bindings/interrupt-controller/arm-gic.h> 45 #include <dt-bindings/clock/sun6i-rtc.h> 46 #include <dt-bindings/clock/sun8i-de [all...] |
/freebsd/sys/dev/dwc/ |
H A D | if_dwc_aw.c | 1 /*- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 #include <dev/clk/clk.h> 61 if (!ofw_bus_is_compatible(dev, "allwinner,sun7i-a20-gmac")) in a20_if_dwc_probe() 63 device_set_desc(dev, "A20 Gigabit Ethernet Controller"); in a20_if_dwc_probe() 80 switch(sc->phy_mode) { in a20_if_dwc_init() 92 sc->phy_mode); in a20_if_dwc_init() 98 device_printf(dev, "could not get tx clk\n"); in a20_if_dwc_init() 109 device_printf(dev, "could not set tx clk parent\n"); in a20_if_dwc_init() 114 if (regulator_get_by_ofw_property(dev, 0, "phy-supply", ®) == 0) { in a20_if_dwc_init()
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_gmacclk.c | 1 /*- 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 42 #include <dev/clk/clk_mux.h> 43 #include <dev/clk/clk_gate.h> 75 { "allwinner,sun7i-a20-gmac-clk", 1 }, 87 #define GMACCLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val)) 88 #define GMACCLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val)) 89 #define DEVICE_LOCK(sc) CLKDEV_DEVICE_LOCK((sc)->clkdev) 90 #define DEVICE_UNLOCK(sc) CLKDEV_DEVICE_UNLOCK((sc)->clkdev) 93 aw_gmacclk_init(struct clknode *clk, device_t dev) in aw_gmacclk_init() argument [all …]
|
H A D | aw_rtc.c | 1 /*- 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 #include <dev/clk/clk_fixed.h> 65 #define IS_SUN7I (sc->conf->is_a20 == true) 92 #define RTC_READ(sc, reg) bus_read_4((sc)->res, (reg)) 93 #define RTC_WRITE(sc, reg, val) bus_write_4((sc)->res, (reg), (val)) 133 { "allwinner,sun4i-a10-rtc", (uintptr_t) &a10_conf }, 134 { "allwinner,sun7i-a20-rtc", (uintptr_t) &a20_conf }, 135 { "allwinner,sun6i-a31-rtc", (uintptr_t) &a31_conf }, 136 { "allwinner,sun8i-h3-rtc", (uintptr_t) &h3_conf }, [all …]
|
H A D | aw_usbphy.c | 1 /*- 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 43 #include <dev/clk/clk.h> 133 { "allwinner,sun4i-a10-usb-phy", (uintptr_t)&a10_usbphy_conf }, 134 { "allwinner,sun5i-a13-usb-phy", (uintptr_t)&a13_usbphy_conf }, 135 { "allwinner,sun6i-a31-usb-phy", (uintptr_t)&a31_usbphy_conf }, 136 { "allwinner,sun7i-a20-usb-phy", (uintptr_t)&a20_usbphy_conf }, 137 { "allwinner,sun8i-h3-usb-phy", (uintptr_t)&h3_usbphy_conf }, 138 { "allwinner,sun50i-a64-usb-phy", (uintptr_t)&a64_usbphy_conf }, 139 { "allwinner,sun8i-a83t-usb-phy", (uintptr_t)&a83t_usbphy_conf }, [all …]
|
H A D | a10_codec.c | 1 /*- 2 * Copyright (c) 2014-2016 Jared D. McNeill <jmcneill@invisible.ca> 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * Allwinner A10/A20 and H3 Audio Codec 49 #include <dev/clk/clk.h> 84 #define AC_DAC_DPC(_sc) ((_sc)->cfg->DPC) 86 #define AC_DAC_FIFOC(_sc) ((_sc)->cfg->DAC_FIFOC) 110 #define AC_DAC_FIFOS(_sc) ((_sc)->cfg->DAC_FIFOS) 111 #define AC_DAC_TXDATA(_sc) ((_sc)->cfg->DAC_TXDATA) 112 #define AC_ADC_FIFOC(_sc) ((_sc)->cfg->ADC_FIFOC) [all …]
|
H A D | aw_gpio.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 56 #include <dev/clk/clk.h> 277 {"allwinner,sun4i-a10-pinctrl", (uintptr_t)&a10_gpio_conf}, 280 {"allwinner,sun5i-a13-pinctrl", (uintptr_t)&a13_gpio_conf}, 283 {"allwinner,sun7i-a20-pinctrl", (uintptr_t)&a20_gpio_conf}, 286 {"allwinner,sun6i-a31-pinctrl", (uintptr_t)&a31_gpio_conf}, 289 {"allwinner,sun6i-a31s-pinctrl", (uintptr_t)&a31s_gpio_conf}, 292 {"allwinner,sun6i-a31-r-pinctrl", (uintptr_t)&a31_r_gpio_conf}, [all …]
|
H A D | aw_mmc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 #include <dev/clk/clk.h> 113 {"allwinner,sun4i-a10-mmc", (uintptr_t)&a10_mmc_conf}, 114 {"allwinner,sun5i-a13-mmc", (uintptr_t)&a13_mmc_conf}, 115 {"allwinner,sun7i-a20-mmc", (uintptr_t)&a13_mmc_conf}, 116 {"allwinner,sun50i-a64-mmc", (uintptr_t)&a64_mmc_conf}, 117 {"allwinner,sun50i-a64-emmc", (uintptr_t)&a64_emmc_conf}, 160 { -1, 0, 0 } [all …]
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | ccu_a10.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 41 #include <dev/clk/clk_div.h> 42 #include <dev/clk/clk_fixed.h> 43 #include <dev/clk/clk_mux.h> 45 #include <dev/clk/allwinner/aw_ccung.h> 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> [all …]
|
H A D | aw_ccu.c | 1 /*- 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 45 #include <dev/clk/clk.h> 61 { "allwinner,sun7i-a20", 1 }, 62 { "allwinner,sun6i-a31", 1 }, 63 { "allwinner,sun6i-a31s", 1 }, 72 *poff = addr - CCU_BASE; in aw_ccu_check_addr() 73 *pbsh = sc->bsh; in aw_ccu_check_addr() 91 mtx_assert(&sc->mtx, MA_OWNED); in aw_ccu_write_4() 92 bus_space_write_4(sc->bst, bsh, reg, val); in aw_ccu_write_4() [all …]
|