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