Merge tag 'for-linus-20171120' of git://git.infradead.org/linux-mtd
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / ge863-pro3.dtsi
1 /*
2  * ge863_pro3.dtsi - Device Tree file for Telit GE863-PRO3
3  *
4  * Copyright (C) 2012 Telit,
5  *               2012 Fabio Porcedda <fabio.porcedda@gmail.com>
6  *
7  * Licensed under GPLv2 or later.
8  */
9
10 #include "at91sam9260.dtsi"
11
12 / {
13         clocks {
14                 main_xtal {
15                         clock-frequency = <6000000>;
16                 };
17         };
18
19         ahb {
20                 apb {
21                         dbgu: serial@fffff200 {
22                                 status = "okay";
23                         };
24                 };
25
26                 ebi: ebi@10000000 {
27                         status = "okay";
28
29                         nand_controller: nand-controller {
30                                 status = "okay";
31                                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
32                                 pinctrl-names = "default";
33
34                                 nand@3 {
35                                         reg = <0x3 0x0 0x800000>;
36                                         rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
37                                         cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
38                                         nand-bus-width = <8>;
39                                         nand-ecc-mode = "soft";
40                                         nand-on-flash-bbt;
41                                         label = "atmel_nand";
42
43                                         partitions {
44                                                 compatible = "fixed-partitions";
45                                                 #address-cells = <1>;
46                                                 #size-cells = <1>;
47
48                                                 boot@0 {
49                                                         label = "boot";
50                                                         reg = <0x0 0x7c0000>;
51                                                 };
52
53                                                 root@7c0000 {
54                                                         label = "root";
55                                                         reg = <0x7c0000 0x7840000>;
56                                                 };
57                                         };
58                                 };
59                         };
60                 };
61         };
62
63         chosen {
64                 bootargs = "console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=1 rootfstype=ubifs";
65         };
66 };