• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * ethernut5.dts - Device Tree file for Ethernut 5 board
3 *
4 * Copyright (C) 2012 egnite GmbH <info@egnite.de>
5 *
6 * Licensed under GPLv2.
7 */
8/dts-v1/;
9#include "at91sam9xe.dtsi"
10
11/ {
12	model = "Ethernut 5";
13	compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
14
15	chosen {
16		bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
17	};
18
19	memory {
20		reg = <0x20000000 0x08000000>;
21	};
22
23	clocks {
24		slow_xtal {
25			clock-frequency = <32768>;
26		};
27
28		main_xtal {
29			clock-frequency = <18432000>;
30		};
31	};
32
33	ahb {
34		apb {
35			dbgu: serial@fffff200 {
36				status = "okay";
37			};
38
39			usart0: serial@fffb0000 {
40				status = "okay";
41			};
42
43			usart1: serial@fffb4000 {
44				status = "okay";
45			};
46
47			macb0: ethernet@fffc4000 {
48				phy-mode = "rmii";
49				status = "okay";
50			};
51
52			usb1: gadget@fffa4000 {
53				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
54				status = "okay";
55			};
56		};
57
58		ebi: ebi@10000000 {
59			status = "okay";
60
61			nand_controller: nand-controller {
62				status = "okay";
63				pinctrl-0 = <&pinctrl_nand_cs>;
64				pinctrl-names = "default";
65
66				nand: nand@3 {
67					reg = <0x3 0x0 0x800000>;
68					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
69					nand-bus-width = <8>;
70					nand-ecc-mode = "soft";
71					nand-on-flash-bbt;
72					label = "atmel_nand";
73
74					partitions {
75						compatible = "fixed-partitions";
76						#address-cells = <1>;
77						#size-cells = <1>;
78
79						root@0 {
80							label = "root";
81							reg = <0x0 0x08000000>;
82						};
83
84						data@20000 {
85							label = "data";
86							reg = <0x08000000 0x38000000>;
87						};
88					};
89				};
90			};
91		};
92
93		usb0: ohci@500000 {
94			num-ports = <2>;
95			status = "okay";
96		};
97	};
98
99	i2c-gpio-0 {
100		status = "okay";
101
102		pcf8563@50 {
103			compatible = "nxp,pcf8563";
104			reg = <0x51>;
105		};
106	};
107};
108