summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/digic4.dtsi
blob: 21b004d4a29363f3264f91aa10ee0e3043efb457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/include/ "skeleton.dtsi"

/ {
	compatible = "canon,digic4";

	timer0: timer@c0210000 {
		compatible = "canon,digic-timer";
		reg = <0xc0210000 0x1c>;
		status = "disabled";
	};

	timer1: timer@c0210100 {
		compatible = "canon,digic-timer";
		reg = <0xc0210100 0x1c>;
		status = "disabled";
	};

	timer2: timer@c0210200 {
		compatible = "canon,digic-timer";
		reg = <0xc0210200 0x1c>;
		status = "disabled";
	};

	/*
	 * I don't know real max GPIO number but this page
	 *   http://magiclantern.wikia.com/wiki/Register_Map#GPIO_Ports
	 * says about 93 pins on 5DMkIII.
	 * Assume that DIGIC4 has at least 96 pins.
	 * So resource size is 96 * 4 = 0x180.
	 */
	gpio: gpio {
		compatible = "canon,digic-gpio";
		reg = <0xc0220000 0x180>;
		#gpio-cells = <2>;
		gpio-controller;
	};

	uart: uart {
		compatible = "canon,digic-uart";
		reg = <0xc0800000 0x1c>;
	};
};