mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 15:46:52 +07:00
387720c938
Since everybody copied my own mistake from the DT binding example, let's address all the offenders in one swift go. Most of them got the CPU interface size wrong (4kB, while it should be 8kB), except for both keystone platforms which got the control interface wrong (4kB instead of 8kB). In a few cases where I knew for sure what implementation was used, I've added the "arm,gic-400" compatible string. I'm 99% sure that this is what everyone is using, but short of having the TRM for all the other SoCs, I've left them alone. Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
325 lines
8.2 KiB
Plaintext
325 lines
8.2 KiB
Plaintext
/*
|
|
* SAMSUNG EXYNOS5260 SoC device tree source
|
|
*
|
|
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <dt-bindings/clock/exynos5260-clk.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
/ {
|
|
compatible = "samsung,exynos5260", "samsung,exynos5";
|
|
interrupt-parent = <&gic>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
aliases {
|
|
pinctrl0 = &pinctrl_0;
|
|
pinctrl1 = &pinctrl_1;
|
|
pinctrl2 = &pinctrl_2;
|
|
serial0 = &uart0;
|
|
serial1 = &uart1;
|
|
serial2 = &uart2;
|
|
serial3 = &uart3;
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a15";
|
|
reg = <0x0>;
|
|
cci-control-port = <&cci_control1>;
|
|
};
|
|
|
|
cpu@1 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a15";
|
|
reg = <0x1>;
|
|
cci-control-port = <&cci_control1>;
|
|
};
|
|
|
|
cpu@100 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a7";
|
|
reg = <0x100>;
|
|
cci-control-port = <&cci_control0>;
|
|
};
|
|
|
|
cpu@101 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a7";
|
|
reg = <0x101>;
|
|
cci-control-port = <&cci_control0>;
|
|
};
|
|
|
|
cpu@102 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a7";
|
|
reg = <0x102>;
|
|
cci-control-port = <&cci_control0>;
|
|
};
|
|
|
|
cpu@103 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a7";
|
|
reg = <0x103>;
|
|
cci-control-port = <&cci_control0>;
|
|
};
|
|
};
|
|
|
|
soc: soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
clock_top: clock-controller@10010000 {
|
|
compatible = "samsung,exynos5260-clock-top";
|
|
reg = <0x10010000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_peri: clock-controller@10200000 {
|
|
compatible = "samsung,exynos5260-clock-peri";
|
|
reg = <0x10200000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_egl: clock-controller@10600000 {
|
|
compatible = "samsung,exynos5260-clock-egl";
|
|
reg = <0x10600000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_kfc: clock-controller@10700000 {
|
|
compatible = "samsung,exynos5260-clock-kfc";
|
|
reg = <0x10700000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_g2d: clock-controller@10A00000 {
|
|
compatible = "samsung,exynos5260-clock-g2d";
|
|
reg = <0x10A00000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_mif: clock-controller@10CE0000 {
|
|
compatible = "samsung,exynos5260-clock-mif";
|
|
reg = <0x10CE0000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_mfc: clock-controller@11090000 {
|
|
compatible = "samsung,exynos5260-clock-mfc";
|
|
reg = <0x11090000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_g3d: clock-controller@11830000 {
|
|
compatible = "samsung,exynos5260-clock-g3d";
|
|
reg = <0x11830000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_fsys: clock-controller@122E0000 {
|
|
compatible = "samsung,exynos5260-clock-fsys";
|
|
reg = <0x122E0000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_aud: clock-controller@128C0000 {
|
|
compatible = "samsung,exynos5260-clock-aud";
|
|
reg = <0x128C0000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_isp: clock-controller@133C0000 {
|
|
compatible = "samsung,exynos5260-clock-isp";
|
|
reg = <0x133C0000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_gscl: clock-controller@13F00000 {
|
|
compatible = "samsung,exynos5260-clock-gscl";
|
|
reg = <0x13F00000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_disp: clock-controller@14550000 {
|
|
compatible = "samsung,exynos5260-clock-disp";
|
|
reg = <0x14550000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
gic: interrupt-controller@10481000 {
|
|
compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
|
|
#interrupt-cells = <3>;
|
|
#address-cells = <0>;
|
|
#size-cells = <0>;
|
|
interrupt-controller;
|
|
reg = <0x10481000 0x1000>,
|
|
<0x10482000 0x2000>,
|
|
<0x10484000 0x2000>,
|
|
<0x10486000 0x2000>;
|
|
interrupts = <GIC_PPI 9
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
|
|
};
|
|
|
|
chipid: chipid@10000000 {
|
|
compatible = "samsung,exynos4210-chipid";
|
|
reg = <0x10000000 0x100>;
|
|
};
|
|
|
|
mct: mct@100B0000 {
|
|
compatible = "samsung,exynos4210-mct";
|
|
reg = <0x100B0000 0x1000>;
|
|
clocks = <&fin_pll>, <&clock_peri PERI_CLK_MCT>;
|
|
clock-names = "fin_pll", "mct";
|
|
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
cci: cci@10F00000 {
|
|
compatible = "arm,cci-400";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x10F00000 0x1000>;
|
|
ranges = <0x0 0x10F00000 0x6000>;
|
|
|
|
cci_control0: slave-if@4000 {
|
|
compatible = "arm,cci-400-ctrl-if";
|
|
interface-type = "ace";
|
|
reg = <0x4000 0x1000>;
|
|
};
|
|
|
|
cci_control1: slave-if@5000 {
|
|
compatible = "arm,cci-400-ctrl-if";
|
|
interface-type = "ace";
|
|
reg = <0x5000 0x1000>;
|
|
};
|
|
};
|
|
|
|
pinctrl_0: pinctrl@11600000 {
|
|
compatible = "samsung,exynos5260-pinctrl";
|
|
reg = <0x11600000 0x1000>;
|
|
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
wakeup-interrupt-controller {
|
|
compatible = "samsung,exynos4210-wakeup-eint";
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
};
|
|
|
|
pinctrl_1: pinctrl@12290000 {
|
|
compatible = "samsung,exynos5260-pinctrl";
|
|
reg = <0x12290000 0x1000>;
|
|
interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
pinctrl_2: pinctrl@128B0000 {
|
|
compatible = "samsung,exynos5260-pinctrl";
|
|
reg = <0x128B0000 0x1000>;
|
|
interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
pmu_system_controller: system-controller@10D50000 {
|
|
compatible = "samsung,exynos5260-pmu", "syscon";
|
|
reg = <0x10D50000 0x10000>;
|
|
};
|
|
|
|
uart0: serial@12C00000 {
|
|
compatible = "samsung,exynos4210-uart";
|
|
reg = <0x12C00000 0x100>;
|
|
interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clock_peri PERI_CLK_UART0>, <&clock_peri PERI_SCLK_UART0>;
|
|
clock-names = "uart", "clk_uart_baud0";
|
|
status = "disabled";
|
|
};
|
|
|
|
uart1: serial@12C10000 {
|
|
compatible = "samsung,exynos4210-uart";
|
|
reg = <0x12C10000 0x100>;
|
|
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clock_peri PERI_CLK_UART1>, <&clock_peri PERI_SCLK_UART1>;
|
|
clock-names = "uart", "clk_uart_baud0";
|
|
status = "disabled";
|
|
};
|
|
|
|
uart2: serial@12C20000 {
|
|
compatible = "samsung,exynos4210-uart";
|
|
reg = <0x12C20000 0x100>;
|
|
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clock_peri PERI_CLK_UART2>, <&clock_peri PERI_SCLK_UART2>;
|
|
clock-names = "uart", "clk_uart_baud0";
|
|
status = "disabled";
|
|
};
|
|
|
|
uart3: serial@12860000 {
|
|
compatible = "samsung,exynos4210-uart";
|
|
reg = <0x12860000 0x100>;
|
|
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clock_aud AUD_CLK_AUD_UART>, <&clock_aud AUD_SCLK_AUD_UART>;
|
|
clock-names = "uart", "clk_uart_baud0";
|
|
status = "disabled";
|
|
};
|
|
|
|
mmc_0: mmc@12140000 {
|
|
compatible = "samsung,exynos5250-dw-mshc";
|
|
reg = <0x12140000 0x2000>;
|
|
interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clocks = <&clock_fsys FSYS_CLK_MMC0>, <&clock_top TOP_SCLK_MMC0>;
|
|
clock-names = "biu", "ciu";
|
|
fifo-depth = <64>;
|
|
status = "disabled";
|
|
};
|
|
|
|
mmc_1: mmc@12150000 {
|
|
compatible = "samsung,exynos5250-dw-mshc";
|
|
reg = <0x12150000 0x2000>;
|
|
interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clocks = <&clock_fsys FSYS_CLK_MMC1>, <&clock_top TOP_SCLK_MMC1>;
|
|
clock-names = "biu", "ciu";
|
|
fifo-depth = <64>;
|
|
status = "disabled";
|
|
};
|
|
|
|
mmc_2: mmc@12160000 {
|
|
compatible = "samsung,exynos5250-dw-mshc";
|
|
reg = <0x12160000 0x2000>;
|
|
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clocks = <&clock_fsys FSYS_CLK_MMC2>, <&clock_top TOP_SCLK_MMC2>;
|
|
clock-names = "biu", "ciu";
|
|
fifo-depth = <64>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
|
|
#include "exynos5260-pinctrl.dtsi"
|