mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
31af04cd60
The 'arm,armv8' compatible string is only for software models. It adds little value otherwise and is inconsistently used as a fallback on some platforms. Remove it from those platforms. This fixes warnings generated by the DT schema. Reported-by: Michal Simek <michal.simek@xilinx.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will.deacon@arm.com> Acked-by: Antoine Tenart <antoine.tenart@bootlin.com> Acked-by: Nishanth Menon <nm@ti.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Acked-by: Chanho Min <chanho.min@lge.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Horman <horms+renesas@verge.net.au> Acked-by: Tero Kristo <t-kristo@ti.com> Acked-by: Wei Xu <xuwei5@hisilicon.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Acked-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Scott Branden <scott.branden@broadcom.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Chunyan Zhang <zhang.lyra@gmail.com> Acked-by: Robert Richter <rrichter@cavium.com> Acked-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Acked-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
416 lines
9.6 KiB
Plaintext
416 lines
9.6 KiB
Plaintext
/*
|
|
* Cavium Thunder DTS file - Thunder SoC description
|
|
*
|
|
* Copyright (C) 2014, Cavium Inc.
|
|
*
|
|
* This file is dual-licensed: you can use it either under the terms
|
|
* of the GPL 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this library; if not, write to the Free
|
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
|
* MA 02110-1301 USA
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/ {
|
|
compatible = "cavium,thunder-88xx";
|
|
interrupt-parent = <&gic0>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
psci {
|
|
compatible = "arm,psci-0.2";
|
|
method = "smc";
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <2>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x000>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@1 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x001>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@2 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x002>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@3 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x003>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@4 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x004>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@5 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x005>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@6 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x006>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@7 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x007>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@8 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x008>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@9 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x009>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@a {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00a>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@b {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00b>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@c {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00c>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@d {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00d>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@e {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00e>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@f {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x00f>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@100 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x100>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@101 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x101>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@102 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x102>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@103 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x103>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@104 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x104>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@105 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x105>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@106 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x106>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@107 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x107>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@108 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x108>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@109 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x109>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10a {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10a>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10b {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10b>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10c {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10c>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10d {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10d>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10e {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10e>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@10f {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x10f>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@200 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x200>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@201 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x201>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@202 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x202>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@203 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x203>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@204 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x204>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@205 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x205>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@206 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x206>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@207 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x207>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@208 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x208>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@209 {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x209>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20a {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20a>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20b {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20b>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20c {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20c>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20d {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20d>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20e {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20e>;
|
|
enable-method = "psci";
|
|
};
|
|
cpu@20f {
|
|
device_type = "cpu";
|
|
compatible = "cavium,thunder";
|
|
reg = <0x0 0x20f>;
|
|
enable-method = "psci";
|
|
};
|
|
};
|
|
|
|
timer {
|
|
compatible = "arm,armv8-timer";
|
|
interrupts = <1 13 4>,
|
|
<1 14 4>,
|
|
<1 11 4>,
|
|
<1 10 4>;
|
|
};
|
|
|
|
pmu {
|
|
compatible = "cavium,thunder-pmu", "arm,armv8-pmuv3";
|
|
interrupts = <1 7 4>;
|
|
};
|
|
|
|
soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
refclk50mhz: refclk50mhz {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <50000000>;
|
|
clock-output-names = "refclk50mhz";
|
|
};
|
|
|
|
gic0: interrupt-controller@8010,00000000 {
|
|
compatible = "arm,gic-v3";
|
|
#interrupt-cells = <3>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
interrupt-controller;
|
|
reg = <0x8010 0x00000000 0x0 0x010000>, /* GICD */
|
|
<0x8010 0x80000000 0x0 0x600000>; /* GICR */
|
|
interrupts = <1 9 0xf04>;
|
|
|
|
its: gic-its@8010,00020000 {
|
|
compatible = "arm,gic-v3-its";
|
|
msi-controller;
|
|
reg = <0x8010 0x20000 0x0 0x200000>;
|
|
};
|
|
};
|
|
|
|
uaa0: serial@87e0,24000000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0x87e0 0x24000000 0x0 0x1000>;
|
|
interrupts = <1 21 4>;
|
|
clocks = <&refclk50mhz>;
|
|
clock-names = "apb_pclk";
|
|
};
|
|
|
|
uaa1: serial@87e0,25000000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0x87e0 0x25000000 0x0 0x1000>;
|
|
interrupts = <1 22 4>;
|
|
clocks = <&refclk50mhz>;
|
|
clock-names = "apb_pclk";
|
|
};
|
|
};
|
|
};
|