From: Meng Li <[email protected]> Based on nxp-ls1043 dts files, create dts files for nxp-ls1023 platform.
Signed-off-by: Meng Li <[email protected]> --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../dts/freescale/fsl-ls1023a-rdb-sdk.dts | 78 +++++++++++++++++++ .../dts/freescale/fsl-ls1023a-rdb-usdpaa.dts | 42 ++++++++++ 3 files changed, 122 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-usdpaa.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 15cac8867a76..f34eadf338eb 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -34,6 +34,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds-sdk.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-sdk.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-usdpaa.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1023a-rdb-sdk.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1023a-rdb-usdpaa.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy-sdk.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy-usdpaa.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts new file mode 100644 index 000000000000..2c24de015910 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1023a-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-ls1043a-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-ls1023a-rdb-usdpaa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-usdpaa.dts new file mode 100644 index 000000000000..546239ab15d5 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1023a-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-ls1043a-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.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10436): https://lists.yoctoproject.org/g/linux-yocto/message/10436 Mute This Topic: https://lists.yoctoproject.org/mt/85808285/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
