blob: 9e0298b7f4beaa5db89ce6f4fd15f168a834fbba [file] [log] [blame]
Paul Beesleycb238022019-03-07 15:25:14 +00001License
2=======
3
4The software is provided under a BSD-3-Clause license (below). Contributions to
5this project are accepted under the same license with developer sign-off as
Paul Beesleyf8640672019-04-12 14:19:42 +01006described in the :ref:`Contributor's Guide`.
Paul Beesleycb238022019-03-07 15:25:14 +00007
8::
9
10 Copyright (c) [XXXX-]YYYY, <OWNER>. All rights reserved.
11
12 Redistribution and use in source and binary forms, with or without modification,
13 are permitted provided that the following conditions are met:
14
15 - Redistributions of source code must retain the above copyright notice, this
16 list of conditions and the following disclaimer.
17
18 - Redistributions in binary form must reproduce the above copyright notice,
19 this list of conditions and the following disclaimer in the documentation
20 and/or other materials provided with the distribution.
21
22 - Neither the name of Arm nor the names of its contributors may be used to
23 endorse or promote products derived from this software without specific
24 prior written permission.
25
26 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
30 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37SPDX Identifiers
38----------------
39
40Individual files contain the following tag instead of the full license text.
41
42::
43
44 SPDX-License-Identifier: BSD-3-Clause
45
46This enables machine processing of license information based on the SPDX
47License Identifiers that are here available: http://spdx.org/licenses/
48
49
50Other Projects
51--------------
52
53This project contains code from other projects as listed below. The original
54license text is included in those source files.
55
56- The libc source code is derived from `FreeBSD`_ and `SCC`_. FreeBSD uses
57 various BSD licenses, including BSD-3-Clause and BSD-2-Clause. The SCC code
58 is used under the BSD-3-Clause license with the author's permission.
59
60- The libfdt source code is disjunctively dual licensed
61 (GPL-2.0+ OR BSD-2-Clause). It is used by this project under the terms of
62 the BSD-2-Clause license. Any contributions to this code must be made under
63 the terms of both licenses.
64
65- The LLVM compiler-rt source code is disjunctively dual licensed
66 (NCSA OR MIT). It is used by this project under the terms of the NCSA
67 license (also known as the University of Illinois/NCSA Open Source License),
68 which is a permissive license compatible with BSD-3-Clause. Any
69 contributions to this code must be made under the terms of both licenses.
70
71- The zlib source code is licensed under the Zlib license, which is a
72 permissive license compatible with BSD-3-Clause.
73
74- Some STMicroelectronics platform source code is disjunctively dual licensed
75 (GPL-2.0+ OR BSD-3-Clause). It is used by this project under the terms of the
76 BSD-3-Clause license. Any contributions to this code must be made under the
77 terms of both licenses.
78
Chris Kay9c74f702021-04-26 11:21:41 +010079- Some source files originating from the Linux source tree, which are
80 disjunctively dual licensed (GPL-2.0 OR MIT), are redistributed under the
81 terms of the MIT license. These files are:
82
83 - ``include/dt-bindings/interrupt-controller/arm-gic.h``
Yann Gautier6fa04612021-05-25 18:14:24 +020084 - ``include/dt-bindings/interrupt-controller/irq.h``
Chris Kay9c74f702021-04-26 11:21:41 +010085
86 See the original `Linux MIT license`_.
87
Tamas Bana49698c2023-06-06 13:14:45 +020088- Some source files originating from the `Open Profile for DICE`_ project.
89 These files are licensed under the Apache License, Version 2.0, which is a
90 permissive license compatible with BSD-3-Clause. Any contributions to this
91 code must also be made under the terms of `Apache License 2.0`_.
92 These files are:
93
94 - ``include/lib/dice/dice.h``
95
Xialin Liufeee26f2024-07-29 17:10:16 -050096- Some source files originating from the `pydevicetree`_ project.
97 These files are licensed under the Apache License, Version 2.0, which is a
98 permissive license compatible with BSD-3-Clause. Any contributions to this
99 code must also be made under the terms of `Apache License 2.0`_.
100 These files are:
101
102 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/__init__.py``
103 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/directive.py``
104 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/helpers.py``
105 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/node.py``
106 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/property.py``
107 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/reference.py``
108 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/__init__.py``
109 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/grammar.py``
110 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/parser.py``
111 - ``tools/cot_dt2c/cot_dt2c/pydevicetree/__init__.py``
112
113
Paul Beesleycb238022019-03-07 15:25:14 +0000114.. _FreeBSD: http://www.freebsd.org
Chris Kay9c74f702021-04-26 11:21:41 +0100115.. _Linux MIT license: https://raw.githubusercontent.com/torvalds/linux/master/LICENSES/preferred/MIT
Paul Beesleyf8640672019-04-12 14:19:42 +0100116.. _SCC: http://www.simple-cc.org/
Tamas Bana49698c2023-06-06 13:14:45 +0200117.. _Open Profile for DICE: https://pigweed.googlesource.com/open-dice/
118.. _Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
Xialin Liufeee26f2024-07-29 17:10:16 -0500119.. _pydevicetree: https://pypi.org/project/pydevicetree/