ethernut5.dts revision 262573
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 "at91sam9260.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	ahb {
24		apb {
25			dbgu: serial@fffff200 {
26				status = "okay";
27			};
28
29			usart0: serial@fffb0000 {
30				status = "okay";
31			};
32
33			usart1: serial@fffb4000 {
34				status = "okay";
35			};
36
37			macb0: ethernet@fffc4000 {
38				phy-mode = "rmii";
39				status = "okay";
40			};
41
42			usb1: gadget@fffa4000 {
43				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
44				status = "okay";
45			};
46		};
47
48		nand0: nand@40000000 {
49			nand-bus-width = <8>;
50			nand-ecc-mode = "soft";
51			nand-on-flash-bbt;
52			status = "okay";
53
54			gpios = <0
55				 &pioC 14 GPIO_ACTIVE_HIGH
56				 0
57				>;
58
59			root@0 {
60				label = "root";
61				reg = <0x0 0x08000000>;
62			};
63
64			data@20000 {
65				label = "data";
66				reg = <0x08000000 0x38000000>;
67			};
68		};
69
70		usb0: ohci@00500000 {
71			num-ports = <2>;
72			status = "okay";
73		};
74	};
75
76	i2c@0 {
77		status = "okay";
78
79		pcf8563@50 {
80			compatible = "nxp,pcf8563";
81			reg = <0x51>;
82		};
83	};
84};
85