From f1fe5e60a7c3b37eccc78de804780b24fbc4eaf7 Mon Sep 17 00:00:00 2001 From: zbb Date: Thu, 2 Jun 2016 18:35:35 +0000 Subject: Split CESA memory resource into TDMA and CESA regs TDMA and CESA registers are placed in different ranges of memory. Split memory resource in DTS to reflect that. This change is needed to support multiple CESA nodes as otherwise the ranges of different nodes would overlap. In consequence, CESA_WRITE and CESA_READ macros have been split depending on which range of registers is accessed. Offsets for CESA registers have been modified as the base address has changed. Submitted by: Michal Stanek Obtained from: Semihalf Sponsored by: Stormshield Differential revision: https://reviews.freebsd.org/D6217 --- sys/boot/fdt/dts/arm/dockstar.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/boot/fdt/dts/arm/dockstar.dts') diff --git a/sys/boot/fdt/dts/arm/dockstar.dts b/sys/boot/fdt/dts/arm/dockstar.dts index 595894a..b805342 100644 --- a/sys/boot/fdt/dts/arm/dockstar.dts +++ b/sys/boot/fdt/dts/arm/dockstar.dts @@ -206,7 +206,8 @@ crypto@30000 { compatible = "mrvl,cesa"; - reg = <0x30000 0x10000>; + reg = <0x30000 0x1000 /* tdma base reg chan 0 */ + 0x3D000 0x1000>; /* cesa base reg chan 0 */ interrupts = <22>; interrupt-parent = <&PIC>; -- cgit v1.1