]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/omap2420-n8x0-common.dtsi
dt-bindings: mtd: gpmc-onenand: Update properties description
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / omap2420-n8x0-common.dtsi
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
a900f516
TL
2#include "omap2420.dtsi"
3
4/ {
101ace8d 5 memory@80000000 {
a900f516
TL
6 device_type = "memory";
7 reg = <0x80000000 0x8000000>; /* 128 MB */
8 };
9
18424039
TL
10 chosen {
11 stdout-path = &uart3;
12 };
13
a900f516 14 ocp {
e72c378b 15 i2c0 {
a900f516 16 compatible = "i2c-cbus-gpio";
3a637e00
JMC
17 gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
18 &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
19 &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
a900f516
TL
20 >;
21 #address-cells = <1>;
22 #size-cells = <0>;
408bc03b 23 retu: retu@1 {
c05581d8 24 compatible = "nokia,retu";
a900f516
TL
25 interrupt-parent = <&gpio4>;
26 interrupts = <12 IRQ_TYPE_EDGE_RISING>;
27 reg = <0x1>;
28 };
29 };
30 };
31};
32
33&i2c1 {
34 clock-frequency = <400000>;
e92ce89c
FB
35
36 pmic@72 {
37 compatible = "menelaus";
38 reg = <0x72>;
39 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
40 };
a900f516
TL
41};
42
43&i2c2 {
44 clock-frequency = <400000>;
45};
218077a3
AK
46
47&gpmc {
e2c5eb78 48 ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
218077a3
AK
49
50 /* gpio-irq for dma: 26 */
51
52 onenand@0,0 {
53 #address-cells = <1>;
54 #size-cells = <1>;
e2c5eb78 55 reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
218077a3
AK
56
57 gpmc,sync-read;
58 gpmc,burst-length = <16>;
59 gpmc,burst-read;
60 gpmc,burst-wrap;
61 gpmc,device-width = <2>;
62 gpmc,mux-add-data = <2>;
63 gpmc,cs-on-ns = <0>;
64 gpmc,cs-rd-off-ns = <127>;
65 gpmc,cs-wr-off-ns = <109>;
66 gpmc,adv-on-ns = <0>;
67 gpmc,adv-rd-off-ns = <18>;
68 gpmc,adv-wr-off-ns = <18>;
69 gpmc,oe-on-ns = <27>;
70 gpmc,oe-off-ns = <127>;
71 gpmc,we-on-ns = <27>;
72 gpmc,we-off-ns = <72>;
73 gpmc,rd-cycle-ns = <145>;
74 gpmc,wr-cycle-ns = <136>;
75 gpmc,access-ns = <118>;
76 gpmc,page-burst-access-ns = <27>;
77 gpmc,bus-turnaround-ns = <0>;
78 gpmc,cycle2cycle-delay-ns = <0>;
79 gpmc,wait-monitoring-ns = <0>;
80 gpmc,clk-activation-ns = <9>;
81 gpmc,sync-clk-ps = <27000>;
82
83 /* MTD partition table corresponding to old board-n8x0 file. */
84 partition@0 {
85 label = "bootloader";
86 reg = <0x00000000 0x00020000>;
87 read-only;
88 };
89 partition@1 {
90 label = "config";
91 reg = <0x00020000 0x00060000>;
92 };
93 partition@2 {
94 label = "kernel";
95 reg = <0x00080000 0x00200000>;
96 };
97 partition@3 {
98 label = "initfs";
99 reg = <0x00280000 0x00400000>;
100 };
101 partition@4 {
102 label = "rootfs";
103 reg = <0x00680000 0x0f980000>;
104 };
105 partition@5 {
106 label = "omap2-onenand";
107 reg = <0x00000000 0x10000000>;
108 };
109 };
110};