2017-01-10 20:18:33 +07:00
|
|
|
/*
|
|
|
|
* at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Axentia Technologies AB
|
|
|
|
*
|
|
|
|
* Author: Peter Rosin <peda@axentia.se>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 or later.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sama5d31.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "axentia,linea",
|
|
|
|
"atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x20000000 0x4000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&slow_xtal {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_xtal {
|
|
|
|
clock-frequency = <12000000>;
|
|
|
|
};
|
|
|
|
|
2017-05-18 04:20:37 +07:00
|
|
|
&tcb0 {
|
|
|
|
timer@0 {
|
|
|
|
compatible = "atmel,tcb-timer";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
timer@1 {
|
|
|
|
compatible = "atmel,tcb-timer";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-01-10 20:18:33 +07:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
eeprom@51 {
|
2017-04-14 08:04:29 +07:00
|
|
|
compatible = "st,24c64", "atmel,24c64";
|
2017-01-10 20:18:33 +07:00
|
|
|
reg = <0x51>;
|
|
|
|
pagesize = <32>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-30 16:20:53 +07:00
|
|
|
&ebi {
|
|
|
|
pinctrl-0 = <&pinctrl_ebi_nand_addr>;
|
|
|
|
pinctrl-names = "default";
|
2017-01-10 20:18:33 +07:00
|
|
|
status = "okay";
|
2017-05-30 16:20:53 +07:00
|
|
|
};
|
|
|
|
|
2017-01-10 20:18:33 +07:00
|
|
|
|
2017-05-30 16:20:53 +07:00
|
|
|
&nand_controller {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
nand: nand@3 {
|
|
|
|
reg = <0x3 0x0 0x2>;
|
|
|
|
atmel,rb = <0>;
|
|
|
|
nand-bus-width = <8>;
|
|
|
|
nand-ecc-mode = "hw";
|
|
|
|
nand-ecc-strength = <4>;
|
|
|
|
nand-ecc-step-size = <512>;
|
|
|
|
nand-on-flash-bbt;
|
|
|
|
label = "atmel_nand";
|
|
|
|
};
|
2017-01-10 20:18:33 +07:00
|
|
|
};
|