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