| /OK3568_Linux_fs/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 46 #include <dt-bindings/thermal/thermal.h> 48 #include <dt-bindings/clock/sun4i-a10-pll2.h> 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&intc>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; [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/sun4i-a10-pll2.h> 48 #include <dt-bindings/dma/sun4i-a10.h> 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 interrupt-parent = <&intc>; 55 #address-cells = <1>; 56 #size-cells = <0>; 60 compatible = "arm,cortex-a8"; [all …]
|
| H A D | sun5i-gr8.dtsi | 4 * Mylène Josserand <mylene.josserand@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun4i-a10-pll2.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; 56 #size-cells = <0>; [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> 50 #include <dt-bindings/clock/sun4i-a10-pll2.h> 51 #include <dt-bindings/dma/sun4i-a10.h> 52 #include <dt-bindings/pinctrl/sun4i-a10.h> 55 interrupt-parent = <&gic>; 62 #address-cells = <1>; 63 #size-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 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; [all …]
|
| H A D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 #include <dt-bindings/thermal/thermal.h> 53 interrupt-parent = <&intc>; 56 #address-cells = <1>; 57 #size-cells = <1>; 61 compatible = "allwinner,simple-framebuffer", 62 "simple-framebuffer"; 63 allwinner,pipeline = "de_be0-lcd0"; [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 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 interrupt-parent = <&gic>; 55 #address-cells = <1>; 56 #size-cells = <1>; 60 compatible = "allwinner,simple-framebuffer", 61 "simple-framebuffer"; [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 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&intc>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; 67 allwinner,pipeline = "de_be0-lcd0-hdmi"; [all …]
|
| H A D | sun8i-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun8i-h3-ccu.h> 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/pinctrl/sun4i-a10.h> 48 #include <dt-bindings/reset/sun8i-h3-ccu.h> 51 interrupt-parent = <&gic>; 58 #address-cells = <1>; 59 #size-cells = <0>; 62 compatible = "arm,cortex-a7"; 68 compatible = "arm,cortex-a7"; [all …]
|
| H A D | sun8i-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 45 #include "sun8i-a23-a33.dtsi" 50 compatible = "arm,cortex-a7"; 56 compatible = "arm,cortex-a7"; 69 #clock-cells = <0>; 70 compatible = "fixed-clock"; 71 clock-frequency = <0>; 72 clock-output-names = "pll11"; [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 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 interrupt-parent = <&gic>; 55 #address-cells = <1>; 56 #size-cells = <0>; 59 compatible = "arm,cortex-a7"; 65 compatible = "arm,cortex-a7"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-gates-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Bus Gates Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 24 - const: allwinner,sun4i-a10-gates-clk 25 - const: allwinner,sun4i-a10-axi-gates-clk [all …]
|
| H A D | allwinner,sun4i-a10-ahb-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ahb-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 AHB Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 21 - allwinner,sun4i-a10-ahb-clk 22 - allwinner,sun6i-a31-ahb1-clk [all …]
|
| H A D | allwinner,sun4i-a10-apb0-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb0-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 APB0 Bus Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 20 const: allwinner,sun4i-a10-apb0-clk 28 clock-output-names: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi/ |
| H A D | clk-simple-gates.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 8 #include <linux/clk.h> 9 #include <linux/clk-provider.h> 43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup() 44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup() 46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup() 47 if (!clk_data->clks) in sunxi_simple_gates_setup() 50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup() 51 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup() [all …]
|
| H A D | clk-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/clk.h> 9 #include <linux/clk-provider.h> 14 #include <linux/reset-controller.h> 19 #include "clk-factors.h" 27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1 38 div = req->rate / 6000000; in sun4i_get_pll1_factors() 39 req->rate = 6000000 * div; in sun4i_get_pll1_factors() 42 req->m = 0; in sun4i_get_pll1_factors() 45 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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.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>; 59 #address-cells = <1>; 60 #size-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 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 | 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 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/reset/sun6i-a31-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; 54 #size-cells = <1>; 61 #address-cells = <1>; [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 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> 52 #include <dt-bindings/reset/sun9i-a80-usb.h> [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/ |
| H A D | ccu-sun4i-a10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 26 #include "ccu-sun4i-a10.h" 36 .hw.init = CLK_HW_INIT("pll-core", 48 * With sigma-delta modulation for fractional-N on the audio PLL, 71 .hw.init = CLK_HW_INIT("pll-audio-base", 89 .hw.init = CLK_HW_INIT("pll-video0", 104 .hw.init = CLK_HW_INIT("pll-ve", 117 .hw.init = CLK_HW_INIT("pll-ve", 130 .hw.init = CLK_HW_INIT("pll-ddr-base", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sun4i-ss-core.c - hardware cryptographic accelerator for Allwinner A20 SoC 5 * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com> 11 #include <linux/clk.h> 24 #include "sun4i-ss.h" 50 .cra_driver_name = "md5-sun4i-ss", 77 .cra_driver_name = "sha1-sun4i-ss", 99 .cra_driver_name = "cbc-aes-sun4i-ss", 120 .cra_driver_name = "ecb-aes-sun4i-ss", 142 .cra_driver_name = "cbc-des-sun4i-ss", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-sun4i.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012 - 2014 Allwinner Tech 7 * Maxime Ripard <maxime.ripard@free-electrons.com> 10 #include <linux/clk.h> 80 struct clk *hclk; 81 struct clk *mclk; 92 return readl(sspi->base_addr + reg); in sun4i_spi_read() 97 writel(value, sspi->base_addr + reg); in sun4i_spi_write() 138 while (len--) { in sun4i_spi_drain_fifo() 139 byte = readb(sspi->base_addr + SUN4I_RXDATA_REG); in sun4i_spi_drain_fifo() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/ |
| H A D | dram_sun4i.c | 6 * Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c 7 * and earlier U-Boot Allwiner A10 SPL work 9 * (C) Copyright 2007-2012 14 * SPDX-License-Identifier: GPL-2.0+ 69 writel(0, &timer->cpu_cfg); in mctl_ddr3_reset() 70 reg_val = readl(&timer->cpu_cfg); in mctl_ddr3_reset() 74 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset() 76 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset() 80 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset() 82 setbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset() [all …]
|