summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi
blob: 63b0b4921e4e464892dcc49d231b5ad73f463d59 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// SPDX-License-Identifier: GPL-2.0
#include "omap2420.dtsi"

/ {
	memory@80000000 {
		device_type = "memory";
		reg = <0x80000000 0x8000000>; /* 128 MB */
	};

	chosen {
		stdout-path = &uart3;
	};

	ocp {
		i2c0 {
			compatible = "i2c-cbus-gpio";
			gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
				 &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
				 &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
				>;
			#address-cells = <1>;
			#size-cells = <0>;
			retu: retu@1 {
				compatible = "nokia,retu";
				interrupt-parent = <&gpio4>;
				interrupts = <12 IRQ_TYPE_EDGE_RISING>;
				reg = <0x1>;
			};
		};
	};
};

&i2c1 {
	clock-frequency = <400000>;

	pmic@72 {
		compatible = "menelaus";
		reg = <0x72>;
		interrupts = <7 IRQ_TYPE_EDGE_RISING>;
	};
};

&i2c2 {
	clock-frequency = <400000>;
};

&gpmc {
	ranges = <0 0 0x04000000 0x1000000>;	/* CS0: 16MB for OneNAND */

	/* gpio-irq for dma: 26 */

	onenand@0,0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "ti,omap2-onenand";
		reg = <0 0 0x20000>;	/* CS0, offset 0, IO size 128K */

		gpmc,sync-read;
		gpmc,burst-length = <16>;
		gpmc,burst-read;
		gpmc,burst-wrap;
		gpmc,device-width = <2>;
		gpmc,mux-add-data = <2>;
		gpmc,cs-on-ns = <0>;
		gpmc,cs-rd-off-ns = <127>;
		gpmc,cs-wr-off-ns = <109>;
		gpmc,adv-on-ns = <0>;
		gpmc,adv-rd-off-ns = <18>;
		gpmc,adv-wr-off-ns = <18>;
		gpmc,oe-on-ns = <27>;
		gpmc,oe-off-ns = <127>;
		gpmc,we-on-ns = <27>;
		gpmc,we-off-ns = <72>;
		gpmc,rd-cycle-ns = <145>;
		gpmc,wr-cycle-ns = <136>;
		gpmc,access-ns = <118>;
		gpmc,page-burst-access-ns = <27>;
		gpmc,bus-turnaround-ns = <0>;
		gpmc,cycle2cycle-delay-ns = <0>;
		gpmc,wait-monitoring-ns = <0>;
		gpmc,clk-activation-ns = <9>;
		gpmc,sync-clk-ps = <27000>;

		/* MTD partition table corresponding to old board-n8x0 file. */
		partition@0 {
			label = "bootloader";
			reg = <0x00000000 0x00020000>;
			read-only;
		};
		partition@1 {
			label = "config";
			reg = <0x00020000 0x00060000>;
		};
		partition@2 {
			label = "kernel";
			reg = <0x00080000 0x00200000>;
		};
		partition@3 {
			label = "initfs";
			reg = <0x00280000 0x00400000>;
		};
		partition@4 {
			label = "rootfs";
			reg = <0x00680000 0x0f980000>;
		};
		partition@5 {
			label = "omap2-onenand";
			reg = <0x00000000 0x10000000>;
		};
	};
};