xref: /freebsd/sys/contrib/device-tree/src/arm/microchip/at91-linea.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module.
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2017 Axentia Technologies AB
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * Author: Peter Rosin <peda@axentia.se>
8*f126890aSEmmanuel Vadot */
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot#include "sama5d31.dtsi"
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	compatible = "axentia,linea",
14*f126890aSEmmanuel Vadot		     "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	memory@20000000 {
17*f126890aSEmmanuel Vadot		reg = <0x20000000 0x4000000>;
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot&slow_xtal {
22*f126890aSEmmanuel Vadot	clock-frequency = <32768>;
23*f126890aSEmmanuel Vadot};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot&main_xtal {
26*f126890aSEmmanuel Vadot	clock-frequency = <12000000>;
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&tcb0 {
30*f126890aSEmmanuel Vadot	timer@0 {
31*f126890aSEmmanuel Vadot		compatible = "atmel,tcb-timer";
32*f126890aSEmmanuel Vadot		reg = <0>;
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	timer@1 {
36*f126890aSEmmanuel Vadot		compatible = "atmel,tcb-timer";
37*f126890aSEmmanuel Vadot		reg = <1>;
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&i2c0 {
42*f126890aSEmmanuel Vadot	status = "okay";
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot	eeprom@51 {
45*f126890aSEmmanuel Vadot		compatible = "st,24c64", "atmel,24c64";
46*f126890aSEmmanuel Vadot		reg = <0x51>;
47*f126890aSEmmanuel Vadot		pagesize = <32>;
48*f126890aSEmmanuel Vadot	};
49*f126890aSEmmanuel Vadot};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot&ebi {
52*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ebi_nand_addr>;
53*f126890aSEmmanuel Vadot	pinctrl-names = "default";
54*f126890aSEmmanuel Vadot	status = "okay";
55*f126890aSEmmanuel Vadot};
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot&nand_controller {
59*f126890aSEmmanuel Vadot	status = "okay";
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot	nand: nand@3 {
62*f126890aSEmmanuel Vadot		reg = <0x3 0x0 0x2>;
63*f126890aSEmmanuel Vadot		atmel,rb = <0>;
64*f126890aSEmmanuel Vadot		nand-bus-width = <8>;
65*f126890aSEmmanuel Vadot		nand-ecc-mode = "hw";
66*f126890aSEmmanuel Vadot		nand-ecc-strength = <4>;
67*f126890aSEmmanuel Vadot		nand-ecc-step-size = <512>;
68*f126890aSEmmanuel Vadot		nand-on-flash-bbt;
69*f126890aSEmmanuel Vadot		label = "atmel_nand";
70*f126890aSEmmanuel Vadot	};
71*f126890aSEmmanuel Vadot};
72