2012-10-24 13:41:15 +09:00
/*
* SAMSUNG EXYNOS5440 SoC device tree source
*
* Copyright (c) 2012 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.
*/
2014-02-26 09:53:31 +09:00
#include <dt-bindings/clock/exynos5440.h>
2016-09-16 23:42:02 +02:00
#include <dt-bindings/interrupt-controller/arm-gic.h>
2016-09-16 21:42:51 +02:00
#include <dt-bindings/interrupt-controller/irq.h>
2012-10-24 13:41:15 +09:00
/ {
2014-03-21 02:17:22 +09:00
compatible = "samsung,exynos5440", "samsung,exynos5";
2012-10-24 13:41:15 +09:00
interrupt-parent = <&gic>;
2016-09-01 11:06:53 +02:00
#address-cells = <1>;
#size-cells = <1>;
2012-10-24 13:41:15 +09:00
2013-06-18 06:35:14 +09:00
aliases {
2014-06-26 13:24:35 +02:00
serial0 = &serial_0;
serial1 = &serial_1;
2013-06-18 06:35:14 +09:00
spi0 = &spi_0;
2013-07-24 14:27:16 +09:00
tmuctrl0 = &tmuctrl_0;
tmuctrl1 = &tmuctrl_1;
tmuctrl2 = &tmuctrl_2;
2013-06-18 06:35:14 +09:00
};
2013-08-06 03:05:02 +09:00
clock: clock-controller@160000 {
2013-03-09 17:11:33 +09:00
compatible = "samsung,exynos5440-clock";
reg = <0x160000 0x1000>;
#clock-cells = <1>;
};
2013-12-19 03:17:54 +09:00
gic: interrupt-controller@2E0000 {
2012-10-24 13:41:15 +09:00
compatible = "arm,cortex-a15-gic";
#interrupt-cells = <3>;
interrupt-controller;
2013-04-04 15:25:00 +09:00
reg = <0x2E1000 0x1000>,
<0x2E2000 0x1000>,
<0x2E4000 0x2000>,
<0x2E6000 0x2000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_PPI 9
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
2012-10-24 13:41:15 +09:00
};
cpus {
2012-12-06 16:54:10 +09:00
#address-cells = <1>;
#size-cells = <0>;
2012-10-24 13:41:15 +09:00
cpu@0 {
2013-04-18 18:32:40 +01:00
device_type = "cpu";
2012-10-24 13:41:15 +09:00
compatible = "arm,cortex-a15";
2012-12-06 16:54:10 +09:00
reg = <0>;
2012-10-24 13:41:15 +09:00
};
cpu@1 {
2013-04-18 18:32:40 +01:00
device_type = "cpu";
2012-10-24 13:41:15 +09:00
compatible = "arm,cortex-a15";
2012-12-06 16:54:10 +09:00
reg = <1>;
2012-10-24 13:41:15 +09:00
};
cpu@2 {
2013-04-18 18:32:40 +01:00
device_type = "cpu";
2012-10-24 13:41:15 +09:00
compatible = "arm,cortex-a15";
2012-12-06 16:54:10 +09:00
reg = <2>;
2012-10-24 13:41:15 +09:00
};
cpu@3 {
2013-04-18 18:32:40 +01:00
device_type = "cpu";
2012-10-24 13:41:15 +09:00
compatible = "arm,cortex-a15";
2012-12-06 16:54:10 +09:00
reg = <3>;
2012-10-24 13:41:15 +09:00
};
};
2013-04-05 15:22:59 +09:00
arm-pmu {
compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
2013-04-05 15:22:59 +09:00
};
2012-12-06 16:54:10 +09:00
timer {
compatible = "arm,cortex-a15-timer",
"arm,armv7-timer";
2016-09-16 23:42:02 +02:00
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
2012-12-06 16:54:10 +09:00
clock-frequency = <50000000>;
};
2013-04-08 21:48:17 +09:00
cpufreq@160000 {
compatible = "samsung,exynos5440-cpufreq";
reg = <0x160000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
2013-04-08 21:48:17 +09:00
operating-points = <
/* KHz uV */
2013-06-18 06:39:41 +09:00
1500000 1100000
1400000 1075000
1300000 1050000
2013-04-08 21:48:17 +09:00
1200000 1025000
2013-06-18 06:39:41 +09:00
1100000 1000000
2013-04-08 21:48:17 +09:00
1000000 975000
2013-06-18 06:39:41 +09:00
900000 950000
2013-04-08 21:48:17 +09:00
800000 925000
>;
};
2014-06-26 13:24:35 +02:00
serial_0: serial@B0000 {
2012-10-24 13:41:15 +09:00
compatible = "samsung,exynos4210-uart";
reg = <0xB0000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>, <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "uart", "clk_uart_baud0";
2012-10-24 13:41:15 +09:00
};
2014-06-26 13:24:35 +02:00
serial_1: serial@C0000 {
2012-10-24 13:41:15 +09:00
compatible = "samsung,exynos4210-uart";
reg = <0xC0000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>, <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "uart", "clk_uart_baud0";
2012-10-24 13:41:15 +09:00
};
2013-06-18 06:35:14 +09:00
spi_0: spi@D0000 {
compatible = "samsung,exynos5440-spi";
reg = <0xD0000 0x100>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
2012-10-24 13:41:15 +09:00
#address-cells = <1>;
#size-cells = <0>;
2013-06-18 06:35:14 +09:00
samsung,spi-src-clk = <0>;
num-cs = <1>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>, <&clock CLK_SPI_BAUD>;
2013-03-09 17:19:17 +09:00
clock-names = "spi", "spi_busclk0";
2012-10-24 13:41:15 +09:00
};
2016-04-06 11:00:49 +09:00
pin_ctrl: pinctrl@E0000 {
2012-12-27 13:25:02 -08:00
compatible = "samsung,exynos5440-pinctrl";
2012-10-24 13:41:15 +09:00
reg = <0xE0000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
2012-10-24 13:41:15 +09:00
interrupt-controller;
#interrupt-cells = <2>;
2012-10-24 17:18:52 +09:00
#gpio-cells = <2>;
fan: fan {
samsung,exynos5440-pin-function = <1>;
};
hdd_led0: hdd_led0 {
samsung,exynos5440-pin-function = <2>;
};
hdd_led1: hdd_led1 {
samsung,exynos5440-pin-function = <3>;
};
uart1: uart1 {
samsung,exynos5440-pin-function = <4>;
};
2012-10-24 13:41:15 +09:00
};
i2c@F0000 {
2012-12-28 09:33:58 -08:00
compatible = "samsung,exynos5440-i2c";
2012-10-24 13:41:15 +09:00
reg = <0xF0000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2012-10-24 13:41:15 +09:00
#address-cells = <1>;
#size-cells = <0>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "i2c";
2012-10-24 13:41:15 +09:00
};
i2c@100000 {
2012-12-28 09:33:58 -08:00
compatible = "samsung,exynos5440-i2c";
2012-10-24 13:41:15 +09:00
reg = <0x100000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
2012-10-24 13:41:15 +09:00
#address-cells = <1>;
#size-cells = <0>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "i2c";
2012-10-24 13:41:15 +09:00
};
2014-05-28 00:56:26 +09:00
watchdog@110000 {
2012-10-24 13:41:15 +09:00
compatible = "samsung,s3c2410-wdt";
reg = <0x110000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "watchdog";
2012-10-24 13:41:15 +09:00
};
2013-04-05 15:22:58 +09:00
gmac: ethernet@00230000 {
2016-11-23 15:24:51 +01:00
compatible = "snps,dwmac-3.70a", "snps,dwmac";
2013-04-05 15:22:58 +09:00
reg = <0x00230000 0x8000>;
interrupt-parent = <&gic>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 31 4>;
2013-04-05 15:22:58 +09:00
interrupt-names = "macirq";
phy-mode = "sgmii";
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_GMAC0>;
2013-04-05 15:22:58 +09:00
clock-names = "stmmaceth";
};
2012-10-24 13:41:15 +09:00
amba {
#address-cells = <1>;
#size-cells = <1>;
2016-03-09 13:26:45 +09:00
compatible = "simple-bus";
2012-10-24 13:41:15 +09:00
interrupt-parent = <&gic>;
ranges;
};
2016-04-06 11:00:49 +09:00
rtc@130000 {
2012-10-24 13:41:15 +09:00
compatible = "samsung,s3c6410-rtc";
reg = <0x130000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-03-09 17:19:17 +09:00
clock-names = "rtc";
2012-10-24 13:41:15 +09:00
};
2013-06-10 17:29:34 +09:00
2013-07-24 14:27:16 +09:00
tmuctrl_0: tmuctrl@160118 {
compatible = "samsung,exynos5440-tmu";
reg = <0x160118 0x230>, <0x160368 0x10>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-07-24 14:27:16 +09:00
clock-names = "tmu_apbif";
2015-01-30 08:26:03 +09:00
#include "exynos5440-tmu-sensor-conf.dtsi"
2013-07-24 14:27:16 +09:00
};
tmuctrl_1: tmuctrl@16011C {
compatible = "samsung,exynos5440-tmu";
reg = <0x16011C 0x230>, <0x160368 0x10>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-07-24 14:27:16 +09:00
clock-names = "tmu_apbif";
2015-01-30 08:26:03 +09:00
#include "exynos5440-tmu-sensor-conf.dtsi"
2013-07-24 14:27:16 +09:00
};
tmuctrl_2: tmuctrl@160120 {
compatible = "samsung,exynos5440-tmu";
reg = <0x160120 0x230>, <0x160368 0x10>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_B_125>;
2013-07-24 14:27:16 +09:00
clock-names = "tmu_apbif";
2015-01-30 08:26:03 +09:00
#include "exynos5440-tmu-sensor-conf.dtsi"
};
thermal-zones {
cpu0_thermal: cpu0-thermal {
thermal-sensors = <&tmuctrl_0>;
#include "exynos5440-trip-points.dtsi"
};
cpu1_thermal: cpu1-thermal {
thermal-sensors = <&tmuctrl_1>;
#include "exynos5440-trip-points.dtsi"
};
cpu2_thermal: cpu2-thermal {
thermal-sensors = <&tmuctrl_2>;
#include "exynos5440-trip-points.dtsi"
};
2013-07-24 14:27:16 +09:00
};
2013-06-10 17:29:34 +09:00
sata@210000 {
compatible = "snps,exynos5440-ahci";
reg = <0x210000 0x10000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_SATA>;
2013-06-10 17:29:34 +09:00
clock-names = "sata";
};
2013-06-12 04:58:34 +09:00
ohci@220000 {
compatible = "samsung,exynos5440-ohci";
reg = <0x220000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_USB>;
2013-06-12 04:58:34 +09:00
clock-names = "usbhost";
};
ehci@221000 {
compatible = "samsung,exynos5440-ehci";
reg = <0x221000 0x1000>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_USB>;
2013-06-12 04:58:34 +09:00
clock-names = "usbhost";
2012-10-24 13:41:15 +09:00
};
2013-06-21 16:25:51 +09:00
2015-04-12 20:39:04 +09:00
pcie_0: pcie@290000 {
2013-06-21 16:25:51 +09:00
compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
reg = <0x290000 0x1000
0x270000 0x1000
0x271000 0x40>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_PR0_250_O>, <&clock CLK_PB0_250_O>;
2013-06-21 16:25:51 +09:00
clock-names = "pcie", "pcie_bus";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */
0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */
0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0x0 0 &gic 53>;
2013-07-31 17:14:10 +09:00
num-lanes = <4>;
2013-10-29 15:12:34 +09:00
status = "disabled";
2013-06-21 16:25:51 +09:00
};
2015-04-12 20:39:04 +09:00
pcie_1: pcie@2a0000 {
2013-06-21 16:25:51 +09:00
compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
reg = <0x2a0000 0x1000
0x272000 0x1000
0x271040 0x40>;
2016-09-16 23:42:02 +02:00
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
2014-02-26 09:53:31 +09:00
clocks = <&clock CLK_PR1_250_O>, <&clock CLK_PB0_250_O>;
2013-06-21 16:25:51 +09:00
clock-names = "pcie", "pcie_bus";
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */
0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */
0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0x0 0 &gic 56>;
2013-07-31 17:14:10 +09:00
num-lanes = <4>;
2013-10-29 15:12:34 +09:00
status = "disabled";
2013-06-21 16:25:51 +09:00
};
2012-10-24 13:41:15 +09:00
};