Searched +full:x1830 +full:- +full:dtrng (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/rng/ |
H A D | ingenic,trng.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DTRNG in Ingenic SoCs 10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> 18 - ingenic,x1830-dtrng 27 - compatible 28 - reg 29 - clocks 34 - | [all …]
|
/linux/drivers/char/hw_random/ |
H A D | ingenic-trng.c | 1 // SPDX-License-Identifier: GPL-2.0 19 /* DTRNG register offsets */ 40 ctrl = readl(trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_init() 42 writel(ctrl, trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_init() 52 ctrl = readl(trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_cleanup() 54 writel(ctrl, trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_cleanup() 64 ret = readl_poll_timeout(trng->base + TRNG_REG_STATUS_OFFSET, status, in ingenic_trng_read() 66 if (ret == -ETIMEDOUT) { in ingenic_trng_read() 67 pr_err("%s: Wait for DTRNG data ready timeout\n", __func__); in ingenic_trng_read() 71 *data = readl(trng->base + TRNG_REG_RANDOMNUM_OFFSET); in ingenic_trng_read() [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | x1830.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/ingenic,tcu.h> 3 #include <dt-bindings/clock/ingenic,x1830-cgu.h> 4 #include <dt-bindings/dma/x1830-dma.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 9 compatible = "ingenic,x1830"; 12 #address-cells = <1>; 13 #size-cells = <0>; 17 compatible = "ingenic,xburst-fpu2.0-mxu2.0"; [all …]
|
H A D | cu1830-neo.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "x1830.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/clock/ingenic,sysost.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "yna,cu1830-neo", "ingenic,x1830"; 11 model = "YSH & ATIL General Board CU1830-Neo"; 18 stdout-path = "serial1:115200n8"; 27 compatible = "gpio-leds"; [all …]
|
/linux/drivers/clk/ingenic/ |
H A D | x1830-cgu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * X1830 SoC CGU driver 7 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/ingenic,x1830-cgu.h> 59 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_enable() 60 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_enable() 69 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_disable() 70 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_disable() 78 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_is_enabled() 79 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_is_enabled() [all …]
|