• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2.
7 */
8
9/ {
10	chosen {
11		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
12	};
13
14	memory {
15		reg = <0x20000000 0x4000000>;
16	};
17
18	clocks {
19		slow_xtal {
20			clock-frequency = <32768>;
21		};
22
23		main_xtal {
24			clock-frequency = <12000000>;
25		};
26	};
27
28	ahb {
29		apb {
30			dbgu: serial@fffff200 {
31				status = "okay";
32			};
33		};
34
35		ebi: ebi@10000000 {
36			status = "okay";
37
38			nand_controller: nand-controller {
39				status = "okay";
40				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
41				pinctrl-names = "default";
42
43				nand@3 {
44					reg = <0x3 0x0 0x800000>;
45					rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
46					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
47					nand-bus-width = <8>;
48					nand-ecc-mode = "soft";
49					nand-on-flash-bbt;
50					label = "atmel_nand";
51
52					partitions {
53						compatible = "fixed-partitions";
54						#address-cells = <1>;
55						#size-cells = <1>;
56
57						at91bootstrap@0 {
58							label = "at91bootstrap";
59							reg = <0x0 0x20000>;
60						};
61
62						barebox@20000 {
63							label = "barebox";
64							reg = <0x20000 0x40000>;
65						};
66
67						bareboxenv@60000 {
68							label = "bareboxenv";
69							reg = <0x60000 0x20000>;
70						};
71
72						bareboxenv2@80000 {
73							label = "bareboxenv2";
74							reg = <0x80000 0x20000>;
75						};
76
77						oftree@80000 {
78							label = "oftree";
79							reg = <0xa0000 0x20000>;
80						};
81
82						kernel@a0000 {
83							label = "kernel";
84							reg = <0xc0000 0x400000>;
85						};
86
87						rootfs@4a0000 {
88							label = "rootfs";
89							reg = <0x4c0000 0x7800000>;
90						};
91
92						data@7ca0000 {
93							label = "data";
94							reg = <0x7cc0000 0x8340000>;
95						};
96					};
97				};
98			};
99		};
100	};
101};
102