Based on nxp-ls1046 dts files, create dts files for nxp-ls1026 platform.

Signed-off-by: Meng Li <[email protected]>
---
 .../dts/freescale/fsl-ls1026a-rdb-sdk.dts     | 78 +++++++++++++++++++
 .../dts/freescale/fsl-ls1026a-rdb-usdpaa.dts  | 42 ++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts 
b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts
new file mode 100644
index 000000000000..6b4f84922c32
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts
@@ -0,0 +1,78 @@
+/*
+ * Device Tree Include file for Freescale Layerscape-1023A family SoC.
+ *
+ * Copyright 2021-2022 Wind River Systems, Inc.
+ *
+ * Meng Li <[email protected]>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPLv2 or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This library is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This library is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include "fsl-ls1046a-rdb-sdk.dts"
+
+/ {
+       cpus {
+               cpu@2 {
+                       status = "disabled";
+               };
+
+               cpu@3 {
+                       status = "disabled";
+               };
+       };
+
+       pmu {
+               interrupts = <0 106 0x4>,
+                            <0 107 0x4>;
+               interrupt-affinity = <&cpu0>,
+                                    <&cpu1>;
+       };
+
+       thermal-zones {
+               core-cluster {
+                       cooling-maps {
+                               map0 {
+                                       cooling-device =
+                                               <&cpu0 THERMAL_NO_LIMIT 
THERMAL_NO_LIMIT>,
+                                               <&cpu1 THERMAL_NO_LIMIT 
THERMAL_NO_LIMIT>;
+                               };
+                       };
+               };
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts 
b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts
new file mode 100644
index 000000000000..4db6241f8f64
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts
@@ -0,0 +1,42 @@
+/*
+ * Device Tree Include file for Freescale Layerscape-1023A family SoC.
+ *
+ * Copyright 2021-2022 Wind River Systems, Inc.
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2.  This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include "fsl-ls1046a-rdb-usdpaa.dts"
+
+/ {
+       cpus {
+               cpu@2 {
+                       status = "disabled";
+               };
+
+               cpu@3 {
+                       status = "disabled";
+               };
+       };
+
+       pmu {
+               interrupts = <0 106 0x4>,
+                            <0 107 0x4>;
+               interrupt-affinity = <&cpu0>,
+                                    <&cpu1>;
+       };
+
+       thermal-zones {
+               core-cluster {
+                       cooling-maps {
+                               map0 {
+                                       cooling-device =
+                                               <&cpu0 THERMAL_NO_LIMIT 
THERMAL_NO_LIMIT>,
+                                               <&cpu1 THERMAL_NO_LIMIT 
THERMAL_NO_LIMIT>;
+                               };
+                       };
+               };
+       };
+};
-- 
2.35.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11236): 
https://lists.yoctoproject.org/g/linux-yocto/message/11236
Mute This Topic: https://lists.yoctoproject.org/mt/90660722/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to