exynos5.dtsi 5.5 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/irq.h>
17
#include "exynos-syscon-restart.dtsi"
18 19 20

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

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

35 36
	soc: soc {
		compatible = "simple-bus";
37
		#address-cells = <1>;
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
		#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>;
57 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
			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>;
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
		};

		gic: interrupt-controller@10481000 {
			compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			interrupt-controller;
			reg =	<0x10481000 0x1000>,
				<0x10482000 0x1000>,
				<0x10484000 0x2000>,
				<0x10486000 0x2000>;
			interrupts = <1 9 0xf04>;
		};

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

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

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

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

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

		i2c_0: i2c@12C60000 {
			compatible = "samsung,s3c2440-i2c";
			reg = <0x12C60000 0x100>;
134
			interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
135 136 137 138 139 140 141 142 143
			#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>;
144
			interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
145 146 147 148 149 150 151 152 153
			#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>;
154
			interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
155 156 157 158 159 160 161 162 163
			#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>;
164
			interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>;
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
			#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>;
181 182
			interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>,
				     <0 44 IRQ_TYPE_LEVEL_HIGH>;
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
			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";
		};
205
	};
206
};