1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * ge863_pro3.dtsi - Device Tree file for Telit GE863-PRO3
4 *
5 * Copyright (C) 2012 Telit,
6 *               2012 Fabio Porcedda <fabio.porcedda@gmail.com>
7 */
8
9#include "at91sam9260.dtsi"
10
11/ {
12	clocks {
13		main_xtal {
14			clock-frequency = <6000000>;
15		};
16	};
17
18	ahb {
19		apb {
20			tcb0: timer@fffa0000 {
21				timer@0 {
22					compatible = "atmel,tcb-timer";
23					reg = <0>, <1>;
24				};
25
26				timer@2 {
27					compatible = "atmel,tcb-timer";
28					reg = <2>;
29				};
30			};
31
32			dbgu: serial@fffff200 {
33				status = "okay";
34			};
35		};
36
37		ebi: ebi@10000000 {
38			status = "okay";
39
40			nand_controller: nand-controller {
41				status = "okay";
42				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
43				pinctrl-names = "default";
44
45				nand@3 {
46					reg = <0x3 0x0 0x800000>;
47					rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
48					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
49					nand-bus-width = <8>;
50					nand-ecc-mode = "soft";
51					nand-on-flash-bbt;
52					label = "atmel_nand";
53
54					partitions {
55						compatible = "fixed-partitions";
56						#address-cells = <1>;
57						#size-cells = <1>;
58
59						boot@0 {
60							label = "boot";
61							reg = <0x0 0x7c0000>;
62						};
63
64						root@7c0000 {
65							label = "root";
66							reg = <0x7c0000 0x7840000>;
67						};
68					};
69				};
70			};
71		};
72	};
73
74	chosen {
75		bootargs = "console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=1 rootfstype=ubifs";
76	};
77};
78