exynos5.dtsi 5.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*
 * Samsung's Exynos5 SoC series common device tree source
 *
 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * Samsung's Exynos5 SoC series device nodes are listed in this file. Particular
 * SoCs from Exynos5 series can include this file and provide values for SoCs
 * specfic bindings.
 *
 * 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.
 */

16
#include <dt-bindings/interrupt-controller/arm-gic.h>
17
#include <dt-bindings/interrupt-controller/irq.h>
18
#include "exynos-syscon-restart.dtsi"
19 20 21

/ {
	interrupt-parent = <&gic>;
22 23
	#address-cells = <1>;
	#size-cells = <1>;
24

25
	aliases {
26 27 28 29
		i2c0 = &i2c_0;
		i2c1 = &i2c_1;
		i2c2 = &i2c_2;
		i2c3 = &i2c_3;
30 31 32 33 34 35
		serial0 = &serial_0;
		serial1 = &serial_1;
		serial2 = &serial_2;
		serial3 = &serial_3;
	};

36 37
	soc: soc {
		compatible = "simple-bus";
38
		#address-cells = <1>;
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
		#size-cells = <1>;
		ranges;

		chipid@10000000 {
			compatible = "samsung,exynos4210-chipid";
			reg = <0x10000000 0x100>;
		};

		sromc: memory-controller@12250000 {
			compatible = "samsung,exynos4210-srom";
			reg = <0x12250000 0x14>;
		};

		combiner: interrupt-controller@10440000 {
			compatible = "samsung,exynos4210-combiner";
			#interrupt-cells = <2>;
			interrupt-controller;
			samsung,combiner-nr = <32>;
			reg = <0x10440000 0x1000>;
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
			interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
				     <0 1 IRQ_TYPE_LEVEL_HIGH>,
				     <0 2 IRQ_TYPE_LEVEL_HIGH>,
				     <0 3 IRQ_TYPE_LEVEL_HIGH>,
				     <0 4 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>,
				     <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 7 IRQ_TYPE_LEVEL_HIGH>,
				     <0 8 IRQ_TYPE_LEVEL_HIGH>,
				     <0 9 IRQ_TYPE_LEVEL_HIGH>,
				     <0 10 IRQ_TYPE_LEVEL_HIGH>,
				     <0 11 IRQ_TYPE_LEVEL_HIGH>,
				     <0 12 IRQ_TYPE_LEVEL_HIGH>,
				     <0 13 IRQ_TYPE_LEVEL_HIGH>,
				     <0 14 IRQ_TYPE_LEVEL_HIGH>,
				     <0 15 IRQ_TYPE_LEVEL_HIGH>,
				     <0 16 IRQ_TYPE_LEVEL_HIGH>,
				     <0 17 IRQ_TYPE_LEVEL_HIGH>,
				     <0 18 IRQ_TYPE_LEVEL_HIGH>,
				     <0 19 IRQ_TYPE_LEVEL_HIGH>,
				     <0 20 IRQ_TYPE_LEVEL_HIGH>,
				     <0 21 IRQ_TYPE_LEVEL_HIGH>,
				     <0 22 IRQ_TYPE_LEVEL_HIGH>,
				     <0 23 IRQ_TYPE_LEVEL_HIGH>,
				     <0 24 IRQ_TYPE_LEVEL_HIGH>,
				     <0 25 IRQ_TYPE_LEVEL_HIGH>,
				     <0 26 IRQ_TYPE_LEVEL_HIGH>,
				     <0 27 IRQ_TYPE_LEVEL_HIGH>,
				     <0 28 IRQ_TYPE_LEVEL_HIGH>,
				     <0 29 IRQ_TYPE_LEVEL_HIGH>,
				     <0 30 IRQ_TYPE_LEVEL_HIGH>,
				     <0 31 IRQ_TYPE_LEVEL_HIGH>;
90 91 92
		};

		gic: interrupt-controller@10481000 {
93
			compatible = "arm,gic-400", "arm,cortex-a15-gic", "arm,cortex-a9-gic";
94 95 96
			#interrupt-cells = <3>;
			interrupt-controller;
			reg =	<0x10481000 0x1000>,
97
				<0x10482000 0x2000>,
98 99
				<0x10484000 0x2000>,
				<0x10486000 0x2000>;
100 101
			interrupts = <GIC_PPI 9
					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
102 103 104 105 106 107 108 109 110 111
		};

		sysreg_system_controller: syscon@10050000 {
			compatible = "samsung,exynos5-sysreg", "syscon";
			reg = <0x10050000 0x5000>;
		};

		serial_0: serial@12C00000 {
			compatible = "samsung,exynos4210-uart";
			reg = <0x12C00000 0x100>;
112
			interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
113 114 115 116 117
		};

		serial_1: serial@12C10000 {
			compatible = "samsung,exynos4210-uart";
			reg = <0x12C10000 0x100>;
118
			interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
119 120 121 122 123
		};

		serial_2: serial@12C20000 {
			compatible = "samsung,exynos4210-uart";
			reg = <0x12C20000 0x100>;
124
			interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>;
125 126 127 128 129
		};

		serial_3: serial@12C30000 {
			compatible = "samsung,exynos4210-uart";
			reg = <0x12C30000 0x100>;
130
			interrupts = <0 54 IRQ_TYPE_LEVEL_HIGH>;
131 132 133 134 135
		};

		i2c_0: i2c@12C60000 {
			compatible = "samsung,s3c2440-i2c";
			reg = <0x12C60000 0x100>;
136
			interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
137 138 139 140 141 142 143 144 145
			#address-cells = <1>;
			#size-cells = <0>;
			samsung,sysreg-phandle = <&sysreg_system_controller>;
			status = "disabled";
		};

		i2c_1: i2c@12C70000 {
			compatible = "samsung,s3c2440-i2c";
			reg = <0x12C70000 0x100>;
146
			interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
147 148 149 150 151 152 153 154 155
			#address-cells = <1>;
			#size-cells = <0>;
			samsung,sysreg-phandle = <&sysreg_system_controller>;
			status = "disabled";
		};

		i2c_2: i2c@12C80000 {
			compatible = "samsung,s3c2440-i2c";
			reg = <0x12C80000 0x100>;
156
			interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
157 158 159 160 161 162 163 164 165
			#address-cells = <1>;
			#size-cells = <0>;
			samsung,sysreg-phandle = <&sysreg_system_controller>;
			status = "disabled";
		};

		i2c_3: i2c@12C90000 {
			compatible = "samsung,s3c2440-i2c";
			reg = <0x12C90000 0x100>;
166
			interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>;
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
			#address-cells = <1>;
			#size-cells = <0>;
			samsung,sysreg-phandle = <&sysreg_system_controller>;
			status = "disabled";
		};

		pwm: pwm@12DD0000 {
			compatible = "samsung,exynos4210-pwm";
			reg = <0x12DD0000 0x100>;
			samsung,pwm-outputs = <0>, <1>, <2>, <3>;
			#pwm-cells = <3>;
		};

		rtc: rtc@101E0000 {
			compatible = "samsung,s3c6410-rtc";
			reg = <0x101E0000 0x100>;
183 184
			interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>,
				     <0 44 IRQ_TYPE_LEVEL_HIGH>;
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
			status = "disabled";
		};

		fimd: fimd@14400000 {
			compatible = "samsung,exynos5250-fimd";
			interrupt-parent = <&combiner>;
			reg = <0x14400000 0x40000>;
			interrupt-names = "fifo", "vsync", "lcd_sys";
			interrupts = <18 4>, <18 5>, <18 6>;
			samsung,sysreg = <&sysreg_system_controller>;
			status = "disabled";
		};

		dp: dp-controller@145B0000 {
			compatible = "samsung,exynos5-dp";
			reg = <0x145B0000 0x1000>;
			interrupts = <10 3>;
			interrupt-parent = <&combiner>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};
207
	};
208
};