From owner-svn-src-head@freebsd.org Fri Apr 13 15:18:07 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 820D9F90755; Fri, 13 Apr 2018 15:18:07 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33A7D79F17; Fri, 13 Apr 2018 15:18:07 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E9B61B6AC; Fri, 13 Apr 2018 15:18:07 +0000 (UTC) (envelope-from br@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3DFI7GL094675; Fri, 13 Apr 2018 15:18:07 GMT (envelope-from br@FreeBSD.org) Received: (from br@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3DFI7XC094674; Fri, 13 Apr 2018 15:18:07 GMT (envelope-from br@FreeBSD.org) Message-Id: <201804131518.w3DFI7XC094674@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: br set sender to br@FreeBSD.org using -f From: Ruslan Bukin Date: Fri, 13 Apr 2018 15:18:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r332473 - head/sys/dts/mips X-SVN-Group: head X-SVN-Commit-Author: br X-SVN-Commit-Paths: head/sys/dts/mips X-SVN-Commit-Revision: 332473 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 15:18:07 -0000 Author: br Date: Fri Apr 13 15:18:06 2018 New Revision: 332473 URL: https://svnweb.freebsd.org/changeset/base/332473 Log: Add beripic1, msgdma and softdma instances. Sponsored by: DARPA, AFRL Modified: head/sys/dts/mips/beripad-de4.dts Modified: head/sys/dts/mips/beripad-de4.dts ============================================================================== --- head/sys/dts/mips/beripad-de4.dts Fri Apr 13 14:18:04 2018 (r332472) +++ head/sys/dts/mips/beripad-de4.dts Fri Apr 13 15:18:06 2018 (r332473) @@ -107,6 +107,23 @@ interrupt-parent = <&cpuintc>; }; +/* + beripic1: beripic@7f808000 { + compatible = "sri-cambridge,beri-pic"; + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + reg = <0x7f808000 0x400 + 0x7f80a000 0x10 + 0x7f80a080 0x10 + 0x7f80a100 0x10>; + interrupts = < 2 3 4 5 6 >; + hard-interrupt-sources = <64>; + soft-interrupt-sources = <64>; + interrupt-parent = <&cpuintc>; + }; +*/ + soc { #address-cells = <1>; #size-cells = <1>; @@ -190,6 +207,62 @@ reg = <0x3fe0000 0x20000>; label = "boot"; }; + }; + + msgdma0: msgdma@80004080 { + compatible = "altr,msgdma-16.0", "altr,msgdma-1.0"; + reg = <0x80004080 0x00000020>, + <0x800040a0 0x00000020>; + reg-names = "csr", "descriptor_slave"; + interrupts = <14>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; + }; + + msgdma1: msgdma@80004000 { + compatible = "altr,msgdma-16.0", "altr,msgdma-1.0"; + reg = <0x80004000 0x00000020>, + <0x80004020 0x00000020>; + reg-names = "csr", "descriptor_slave"; + interrupts = <13>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; + }; + + softdma0: softdma@7f007400 { + compatible = "altr,softdma"; + reg = < 0x7f007400 0x8 /* tx */ + 0x7f007420 0x20 >; /* txc */ + interrupts = <2>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; + }; + + softdma1: softdma@7f007500 { + compatible = "altr,softdma"; + reg = < 0x7f007500 0x8 /* rx */ + 0x7f007520 0x20 >; /* rxc */ + interrupts = <1>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; + }; + + softdma2: softdma@7f005400 { + compatible = "altr,softdma"; + reg = < 0x7f005400 0x8 /* tx */ + 0x7f005420 0x20 >; /* txc */ + interrupts = <12>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; + }; + + softdma3: softdma@7f005500 { + compatible = "altr,softdma"; + reg = < 0x7f005500 0x8 /* rx */ + 0x7f005520 0x20 >; /* rxc */ + interrupts = <11>; + interrupt-parent = <&beripic0>; + #dma-cells = <3>; }; ethernet@7f007000 {