Back to home page

OSCL-LXR

 
 

    


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