mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 12:32:00 +07:00
9c92ab6191
Based on 1 normalized pattern(s): this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms this program 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 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 285 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141900.642774971@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
357 lines
7.8 KiB
Plaintext
357 lines
7.8 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2011 Picochip, Jamie Iles
|
|
*/
|
|
/ {
|
|
model = "Picochip picoXcell PC3X3";
|
|
compatible = "picochip,pc3x3";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
cpus {
|
|
#address-cells = <0>;
|
|
#size-cells = <0>;
|
|
|
|
cpu {
|
|
compatible = "arm,arm1176jz-s";
|
|
device_type = "cpu";
|
|
cpu-clock = <&arm_clk>, "cpu";
|
|
d-cache-line-size = <32>;
|
|
d-cache-size = <32768>;
|
|
i-cache-line-size = <32>;
|
|
i-cache-size = <32768>;
|
|
};
|
|
};
|
|
|
|
clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
clkgate: clkgate@800a0048 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0x800a0048 4>;
|
|
compatible = "picochip,pc3x3-clk-gate";
|
|
|
|
tzprot_clk: clock@0 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <0>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
spi_clk: clock@1 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <1>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
dmac0_clk: clock@2 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <2>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
dmac1_clk: clock@3 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <3>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
ebi_clk: clock@4 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <4>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
ipsec_clk: clock@5 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <5>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
l2_clk: clock@6 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <6>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
trng_clk: clock@7 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <7>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
fuse_clk: clock@8 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <8>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
|
|
otp_clk: clock@9 {
|
|
compatible = "picochip,pc3x3-gated-clk";
|
|
clock-outputs = "bus";
|
|
picochip,clk-disable-bit = <9>;
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
};
|
|
|
|
arm_clk: clock@11 {
|
|
compatible = "picochip,pc3x3-pll";
|
|
reg = <0x800a0050 0x8>;
|
|
picochip,min-freq = <140000000>;
|
|
picochip,max-freq = <700000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
clock-outputs = "cpu";
|
|
};
|
|
|
|
pclk: clock@12 {
|
|
compatible = "fixed-clock";
|
|
clock-outputs = "bus", "pclk";
|
|
clock-frequency = <200000000>;
|
|
ref-clock = <&ref_clk>, "ref";
|
|
};
|
|
};
|
|
|
|
paxi {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x80000000 0x400000>;
|
|
|
|
emac: gem@30000 {
|
|
compatible = "cadence,gem";
|
|
reg = <0x30000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <31>;
|
|
};
|
|
|
|
dmac1: dmac@40000 {
|
|
compatible = "snps,dw-dmac";
|
|
reg = <0x40000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <25>;
|
|
};
|
|
|
|
dmac2: dmac@50000 {
|
|
compatible = "snps,dw-dmac";
|
|
reg = <0x50000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <26>;
|
|
};
|
|
|
|
vic0: interrupt-controller@60000 {
|
|
compatible = "arm,pl192-vic";
|
|
interrupt-controller;
|
|
reg = <0x60000 0x1000>;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
vic1: interrupt-controller@64000 {
|
|
compatible = "arm,pl192-vic";
|
|
interrupt-controller;
|
|
reg = <0x64000 0x1000>;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
fuse: picoxcell-fuse@80000 {
|
|
compatible = "picoxcell,fuse-pc3x3";
|
|
reg = <0x80000 0x10000>;
|
|
};
|
|
|
|
ssi: picoxcell-spi@90000 {
|
|
compatible = "picoxcell,spi";
|
|
reg = <0x90000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <10>;
|
|
};
|
|
|
|
ipsec: spacc@100000 {
|
|
compatible = "picochip,spacc-ipsec";
|
|
reg = <0x100000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <24>;
|
|
ref-clock = <&ipsec_clk>, "ref";
|
|
};
|
|
|
|
srtp: spacc@140000 {
|
|
compatible = "picochip,spacc-srtp";
|
|
reg = <0x140000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <23>;
|
|
};
|
|
|
|
l2_engine: spacc@180000 {
|
|
compatible = "picochip,spacc-l2";
|
|
reg = <0x180000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <22>;
|
|
ref-clock = <&l2_clk>, "ref";
|
|
};
|
|
|
|
apb {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x200000 0x80000>;
|
|
|
|
rtc0: rtc@0 {
|
|
compatible = "picochip,pc3x2-rtc";
|
|
clock-freq = <200000000>;
|
|
reg = <0x00000 0xf>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <8>;
|
|
};
|
|
|
|
timer0: timer@10000 {
|
|
compatible = "picochip,pc3x2-timer";
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <4>;
|
|
clock-freq = <200000000>;
|
|
reg = <0x10000 0x14>;
|
|
};
|
|
|
|
timer1: timer@10014 {
|
|
compatible = "picochip,pc3x2-timer";
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <5>;
|
|
clock-freq = <200000000>;
|
|
reg = <0x10014 0x14>;
|
|
};
|
|
|
|
gpio: gpio@20000 {
|
|
compatible = "snps,dw-apb-gpio";
|
|
reg = <0x20000 0x1000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg-io-width = <4>;
|
|
|
|
banka: gpio-controller@0 {
|
|
compatible = "snps,dw-apb-gpio-bank";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-generic,nr-gpio = <8>;
|
|
|
|
regoffset-dat = <0x50>;
|
|
regoffset-set = <0x00>;
|
|
regoffset-dirout = <0x04>;
|
|
};
|
|
|
|
bankb: gpio-controller@1 {
|
|
compatible = "snps,dw-apb-gpio-bank";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-generic,nr-gpio = <16>;
|
|
|
|
regoffset-dat = <0x54>;
|
|
regoffset-set = <0x0c>;
|
|
regoffset-dirout = <0x10>;
|
|
};
|
|
|
|
bankd: gpio-controller@2 {
|
|
compatible = "snps,dw-apb-gpio-bank";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-generic,nr-gpio = <30>;
|
|
|
|
regoffset-dat = <0x5c>;
|
|
regoffset-set = <0x24>;
|
|
regoffset-dirout = <0x28>;
|
|
};
|
|
};
|
|
|
|
uart0: uart@30000 {
|
|
compatible = "snps,dw-apb-uart";
|
|
reg = <0x30000 0x1000>;
|
|
interrupt-parent = <&vic1>;
|
|
interrupts = <10>;
|
|
clock-frequency = <3686400>;
|
|
reg-shift = <2>;
|
|
reg-io-width = <4>;
|
|
};
|
|
|
|
uart1: uart@40000 {
|
|
compatible = "snps,dw-apb-uart";
|
|
reg = <0x40000 0x1000>;
|
|
interrupt-parent = <&vic1>;
|
|
interrupts = <9>;
|
|
clock-frequency = <3686400>;
|
|
reg-shift = <2>;
|
|
reg-io-width = <4>;
|
|
};
|
|
|
|
wdog: watchdog@50000 {
|
|
compatible = "snps,dw-apb-wdg";
|
|
reg = <0x50000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <11>;
|
|
bus-clock = <&pclk>, "bus";
|
|
};
|
|
|
|
timer2: timer@60000 {
|
|
compatible = "picochip,pc3x2-timer";
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <6>;
|
|
clock-freq = <200000000>;
|
|
reg = <0x60000 0x14>;
|
|
};
|
|
|
|
timer3: timer@60014 {
|
|
compatible = "picochip,pc3x2-timer";
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <7>;
|
|
clock-freq = <200000000>;
|
|
reg = <0x60014 0x14>;
|
|
};
|
|
};
|
|
};
|
|
|
|
rwid-axi {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges;
|
|
|
|
ebi@50000000 {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0 0x40000000 0x08000000
|
|
1 0 0x48000000 0x08000000
|
|
2 0 0x50000000 0x08000000
|
|
3 0 0x58000000 0x08000000>;
|
|
};
|
|
|
|
axi2pico@c0000000 {
|
|
compatible = "picochip,axi2pico-pc3x3";
|
|
reg = <0xc0000000 0x10000>;
|
|
interrupt-parent = <&vic0>;
|
|
interrupts = <13 14 15 16 17 18 19 20 21>;
|
|
};
|
|
|
|
otp@ffff8000 {
|
|
compatible = "picochip,otp-pc3x3";
|
|
reg = <0xffff8000 0x8000>;
|
|
};
|
|
};
|
|
};
|