forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/vfxxx.dtsi
....@@ -1,43 +1,6 @@
1
-/*
2
- * Copyright 2013 Freescale Semiconductor, Inc.
3
- *
4
- * This file is dual-licensed: you can use it either under the terms
5
- * of the GPL or the X11 license, at your option. Note that this dual
6
- * licensing only applies to this file, and not this project as a
7
- * whole.
8
- *
9
- * a) This file is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License
11
- * version 2 as published by the Free Software Foundation.
12
- *
13
- * This file is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * Or, alternatively,
19
- *
20
- * b) Permission is hereby granted, free of charge, to any person
21
- * obtaining a copy of this software and associated documentation
22
- * files (the "Software"), to deal in the Software without
23
- * restriction, including without limitation the rights to use,
24
- * copy, modify, merge, publish, distribute, sublicense, and/or
25
- * sell copies of the Software, and to permit persons to whom the
26
- * Software is furnished to do so, subject to the following
27
- * conditions:
28
- *
29
- * The above copyright notice and this permission notice shall be
30
- * included in all copies or substantial portions of the Software.
31
- *
32
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39
- * OTHER DEALINGS IN THE SOFTWARE.
40
- */
1
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
+//
3
+// Copyright 2013 Freescale Semiconductor, Inc.
414
425 #include "vf610-pinfunc.h"
436 #include <dt-bindings/clock/vf610-clock.h>
....@@ -96,7 +59,7 @@
9659 interrupt-parent = <&mscm_ir>;
9760 ranges;
9861
99
- aips0: aips-bus@40000000 {
62
+ aips0: bus@40000000 {
10063 compatible = "fsl,aips-bus", "simple-bus";
10164 #address-cells = <1>;
10265 #size-cells = <1>;
....@@ -190,7 +153,7 @@
190153 status = "disabled";
191154 };
192155
193
- dspi0: dspi0@4002c000 {
156
+ dspi0: spi@4002c000 {
194157 #address-cells = <1>;
195158 #size-cells = <0>;
196159 compatible = "fsl,vf610-dspi";
....@@ -205,7 +168,7 @@
205168 status = "disabled";
206169 };
207170
208
- dspi1: dspi1@4002d000 {
171
+ dspi1: spi@4002d000 {
209172 #address-cells = <1>;
210173 #size-cells = <0>;
211174 compatible = "fsl,vf610-dspi";
....@@ -339,7 +302,7 @@
339302 status = "disabled";
340303 };
341304
342
- qspi0: quadspi@40044000 {
305
+ qspi0: spi@40044000 {
343306 #address-cells = <1>;
344307 #size-cells = <0>;
345308 compatible = "fsl,vf610-qspi";
....@@ -508,7 +471,7 @@
508471 };
509472 };
510473
511
- aips1: aips-bus@40080000 {
474
+ aips1: bus@40080000 {
512475 compatible = "fsl,aips-bus", "simple-bus";
513476 #address-cells = <1>;
514477 #size-cells = <1>;
....@@ -569,7 +532,7 @@
569532 status = "disabled";
570533 };
571534
572
- dspi2: dspi2@400ac000 {
535
+ dspi2: spi@400ac000 {
573536 #address-cells = <1>;
574537 #size-cells = <0>;
575538 compatible = "fsl,vf610-dspi";
....@@ -584,7 +547,7 @@
584547 status = "disabled";
585548 };
586549
587
- dspi3: dspi3@400ad000 {
550
+ dspi3: spi@400ad000 {
588551 #address-cells = <1>;
589552 #size-cells = <0>;
590553 compatible = "fsl,vf610-dspi";
....@@ -665,7 +628,7 @@
665628 status = "disabled";
666629 };
667630
668
- qspi1: quadspi@400c4000 {
631
+ qspi1: spi@400c4000 {
669632 #address-cells = <1>;
670633 #size-cells = <0>;
671634 compatible = "fsl,vf610-qspi";
....@@ -766,6 +729,28 @@
766729 dma-names = "rx","tx";
767730 status = "disabled";
768731 };
732
+
733
+ crypto: crypto@400f0000 {
734
+ compatible = "fsl,sec-v4.0";
735
+ #address-cells = <1>;
736
+ #size-cells = <1>;
737
+ reg = <0x400f0000 0x9000>;
738
+ ranges = <0 0x400f0000 0x9000>;
739
+ clocks = <&clks VF610_CLK_CAAM>;
740
+ clock-names = "ipg";
741
+
742
+ sec_jr0: jr0@1000 {
743
+ compatible = "fsl,sec-v4.0-job-ring";
744
+ reg = <0x1000 0x1000>;
745
+ interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
746
+ };
747
+
748
+ sec_jr1: jr1@2000 {
749
+ compatible = "fsl,sec-v4.0-job-ring";
750
+ reg = <0x2000 0x1000>;
751
+ interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
752
+ };
753
+ };
769754 };
770755 };
771756 };