summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts/arm/dockstar.dts
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2016-06-02 18:35:35 +0000
committerzbb <zbb@FreeBSD.org>2016-06-02 18:35:35 +0000
commitf1fe5e60a7c3b37eccc78de804780b24fbc4eaf7 (patch)
tree7ea78528888e5dc822174fe1ce786c5fec7ae346 /sys/boot/fdt/dts/arm/dockstar.dts
parentb408dead16d7c05d7bccafd522bb42c5358195ac (diff)
downloadFreeBSD-src-f1fe5e60a7c3b37eccc78de804780b24fbc4eaf7.zip
FreeBSD-src-f1fe5e60a7c3b37eccc78de804780b24fbc4eaf7.tar.gz
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 <mst@semihalf.com> Obtained from: Semihalf Sponsored by: Stormshield Differential revision: https://reviews.freebsd.org/D6217
Diffstat (limited to 'sys/boot/fdt/dts/arm/dockstar.dts')
-rw-r--r--sys/boot/fdt/dts/arm/dockstar.dts3
1 files changed, 2 insertions, 1 deletions
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>;
OpenPOWER on IntegriCloud