Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
0004  *
0005  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
0006  */
0007 
0008 / {
0009         chosen {
0010                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
0011         };
0012 
0013         memory@20000000 {
0014                 reg = <0x20000000 0x4000000>;
0015         };
0016 
0017         clocks {
0018                 slow_xtal {
0019                         clock-frequency = <32768>;
0020                 };
0021 
0022                 main_xtal {
0023                         clock-frequency = <12000000>;
0024                 };
0025         };
0026 
0027         ahb {
0028                 apb {
0029                         tcb0: timer@fffa0000 {
0030                                 timer@0 {
0031                                         compatible = "atmel,tcb-timer";
0032                                         reg = <0>, <1>;
0033                                 };
0034 
0035                                 timer@2 {
0036                                         compatible = "atmel,tcb-timer";
0037                                         reg = <2>;
0038                                 };
0039                         };
0040 
0041                         dbgu: serial@fffff200 {
0042                                 status = "okay";
0043                         };
0044                 };
0045 
0046                 ebi: ebi@10000000 {
0047                         status = "okay";
0048 
0049                         nand_controller: nand-controller {
0050                                 status = "okay";
0051                                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
0052                                 pinctrl-names = "default";
0053 
0054                                 nand@3 {
0055                                         reg = <0x3 0x0 0x800000>;
0056                                         rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
0057                                         cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
0058                                         nand-bus-width = <8>;
0059                                         nand-ecc-mode = "soft";
0060                                         nand-on-flash-bbt;
0061                                         label = "atmel_nand";
0062 
0063                                         partitions {
0064                                                 compatible = "fixed-partitions";
0065                                                 #address-cells = <1>;
0066                                                 #size-cells = <1>;
0067 
0068                                                 at91bootstrap@0 {
0069                                                         label = "at91bootstrap";
0070                                                         reg = <0x0 0x20000>;
0071                                                 };
0072 
0073                                                 barebox@20000 {
0074                                                         label = "barebox";
0075                                                         reg = <0x20000 0x40000>;
0076                                                 };
0077 
0078                                                 bareboxenv@60000 {
0079                                                         label = "bareboxenv";
0080                                                         reg = <0x60000 0x20000>;
0081                                                 };
0082 
0083                                                 bareboxenv2@80000 {
0084                                                         label = "bareboxenv2";
0085                                                         reg = <0x80000 0x20000>;
0086                                                 };
0087 
0088                                                 oftree@80000 {
0089                                                         label = "oftree";
0090                                                         reg = <0xa0000 0x20000>;
0091                                                 };
0092 
0093                                                 kernel@a0000 {
0094                                                         label = "kernel";
0095                                                         reg = <0xc0000 0x400000>;
0096                                                 };
0097 
0098                                                 rootfs@4a0000 {
0099                                                         label = "rootfs";
0100                                                         reg = <0x4c0000 0x7800000>;
0101                                                 };
0102 
0103                                                 data@7ca0000 {
0104                                                         label = "data";
0105                                                         reg = <0x7cc0000 0x8340000>;
0106                                                 };
0107                                         };
0108                                 };
0109                         };
0110                 };
0111         };
0112 };