Home
last modified time | relevance | path

Searched +full:sun6i +full:- +full:a31 +full:- +full:ahb1 +full:- +full:reset (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/reset/
H A Dallwinner,sun6i-a31-clock-reset.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 Peripheral Reset Controller
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
20 - allwinner,sun6i-a31-ahb1-reset
21 - allwinner,sun6i-a31-clock-reset
23 # The PRCM on the A31 and A23 will have the reg property missing,
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_reset.c1 /*-
27 * Allwinner module software reset registers
51 { "allwinner,sun6i-a31-ahb1-reset", 1 },
52 { "allwinner,sun6i-a31-clock-reset", 1 },
63 { -1, 0 }
66 #define RESET_READ(sc, reg) bus_read_4((sc)->res, (reg))
67 #define RESET_WRITE(sc, reg, val) bus_write_4((sc)->res, (reg), (val))
70 aw_reset_assert(device_t dev, intptr_t id, bool reset) in aw_reset_assert() argument
77 mtx_lock(&sc->mtx); in aw_reset_assert()
79 if (reset) in aw_reset_assert()
[all …]
/freebsd/sys/dev/clk/allwinner/
H A Dccu_a31.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <dt-bindings/clock/sun6i-a31-ccu.h>
48 #include <dt-bindings/reset/sun6i-a31-ccu.h>
50 /* Non-exported clocks */
148 CCU_GATE(CLK_AHB1_MIPIDSI, "ahb1-mipidsi", "ahb1", 0x60, 1)
149 CCU_GATE(CLK_AHB1_SS, "ahb1-ss", "ahb1", 0x60, 5)
150 CCU_GATE(CLK_AHB1_DMA, "ahb1-dma", "ahb1", 0x60, 6)
151 CCU_GATE(CLK_AHB1_MMC0, "ahb1-mmc0", "ahb1", 0x60, 8)
152 CCU_GATE(CLK_AHB1_MMC1, "ahb1-mmc1", "ahb1", 0x60, 9)
[all …]