Merge tag 'drm-for-v4.16-part2-fixes' of git://people.freedesktop.org/~airlied/linux
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / at91-linea.dtsi
1 /*
2  * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module.
3  *
4  * Copyright (C) 2017 Axentia Technologies AB
5  *
6  * Author: Peter Rosin <peda@axentia.se>
7  *
8  * Licensed under GPLv2 or later.
9  */
10
11 #include "sama5d31.dtsi"
12
13 / {
14         compatible = "axentia,linea",
15                      "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
16
17         memory {
18                 reg = <0x20000000 0x4000000>;
19         };
20 };
21
22 &slow_xtal {
23         clock-frequency = <32768>;
24 };
25
26 &main_xtal {
27         clock-frequency = <12000000>;
28 };
29
30 &tcb0 {
31         timer@0 {
32                 compatible = "atmel,tcb-timer";
33                 reg = <0>;
34         };
35
36         timer@1 {
37                 compatible = "atmel,tcb-timer";
38                 reg = <1>;
39         };
40 };
41
42 &i2c0 {
43         status = "okay";
44
45         eeprom@51 {
46                 compatible = "st,24c64", "atmel,24c64";
47                 reg = <0x51>;
48                 pagesize = <32>;
49         };
50 };
51
52 &ebi {
53         pinctrl-0 = <&pinctrl_ebi_nand_addr>;
54         pinctrl-names = "default";
55         status = "okay";
56 };
57
58
59 &nand_controller {
60         status = "okay";
61
62         nand: nand@3 {
63                 reg = <0x3 0x0 0x2>;
64                 atmel,rb = <0>;
65                 nand-bus-width = <8>;
66                 nand-ecc-mode = "hw";
67                 nand-ecc-strength = <4>;
68                 nand-ecc-step-size = <512>;
69                 nand-on-flash-bbt;
70                 label = "atmel_nand";
71         };
72 };