Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * usb_a926x.dts - Device Tree file for Caloa USB A926x board
0004  *
0005  *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
0006  */
0007 
0008 / {
0009         clocks {
0010                 slow_xtal {
0011                         clock-frequency = <32768>;
0012                 };
0013 
0014                 main_xtal {
0015                         clock-frequency = <12000000>;
0016                 };
0017         };
0018 
0019         ahb {
0020                 apb {
0021                         dbgu: serial@fffff200 {
0022                                 status = "okay";
0023                         };
0024 
0025                         tcb0: timer@fffa0000 {
0026                                 timer@0 {
0027                                         compatible = "atmel,tcb-timer";
0028                                         reg = <0>, <1>;
0029                                 };
0030 
0031                                 timer@2 {
0032                                         compatible = "atmel,tcb-timer";
0033                                         reg = <2>;
0034                                 };
0035                         };
0036 
0037                         macb0: ethernet@fffc4000 {
0038                                 phy-mode = "rmii";
0039                                 status = "okay";
0040                         };
0041 
0042                         usb1: gadget@fffa4000 {
0043                                 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
0044                                 status = "okay";
0045                         };
0046                 };
0047 
0048                 ebi: ebi@10000000 {
0049                         status = "okay";
0050 
0051                         nand_controller: nand-controller {
0052                                 status = "okay";
0053                                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
0054                                 pinctrl-names = "default";
0055 
0056                                 nand@3 {
0057                                         reg = <0x3 0x0 0x800000>;
0058                                         rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
0059                                         cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
0060                                         nand-bus-width = <8>;
0061                                         nand-ecc-mode = "soft";
0062                                         nand-on-flash-bbt;
0063                                         label = "atmel_nand";
0064 
0065                                         partitions {
0066                                                 compatible = "fixed-partitions";
0067                                                 #address-cells = <1>;
0068                                                 #size-cells = <1>;
0069 
0070                                                 at91bootstrap@0 {
0071                                                         label = "at91bootstrap";
0072                                                         reg = <0x0 0x20000>;
0073                                                 };
0074 
0075                                                 barebox@20000 {
0076                                                         label = "barebox";
0077                                                         reg = <0x20000 0x40000>;
0078                                                 };
0079 
0080                                                 bareboxenv@60000 {
0081                                                         label = "bareboxenv";
0082                                                         reg = <0x60000 0x20000>;
0083                                                 };
0084 
0085                                                 bareboxenv2@80000 {
0086                                                         label = "bareboxenv2";
0087                                                         reg = <0x80000 0x20000>;
0088                                                 };
0089 
0090                                                 oftree@80000 {
0091                                                         label = "oftree";
0092                                                         reg = <0xa0000 0x20000>;
0093                                                 };
0094 
0095                                                 kernel@a0000 {
0096                                                         label = "kernel";
0097                                                         reg = <0xc0000 0x400000>;
0098                                                 };
0099 
0100                                                 rootfs@4a0000 {
0101                                                         label = "rootfs";
0102                                                         reg = <0x4c0000 0x7800000>;
0103                                                 };
0104 
0105                                                 data@7ca0000 {
0106                                                         label = "data";
0107                                                         reg = <0x7cc0000 0x8340000>;
0108                                                 };
0109                                         };
0110                                 };
0111                         };
0112                 };
0113 
0114                 usb0: ohci@500000 {
0115                         num-ports = <2>;
0116                         status = "okay";
0117                 };
0118         };
0119 
0120         leds {
0121                 compatible = "gpio-leds";
0122 
0123                 user_led {
0124                         label = "user_led";
0125                         gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
0126                         linux,default-trigger = "heartbeat";
0127                 };
0128         };
0129 
0130         gpio_keys {
0131                 compatible = "gpio-keys";
0132                 #address-cells = <1>;
0133                 #size-cells = <0>;
0134 
0135                 user_pb {
0136                         label = "user_pb";
0137                         gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
0138                         linux,code = <28>;
0139                         wakeup-source;
0140                 };
0141         };
0142 
0143         i2c-gpio-0 {
0144                 status = "okay";
0145         };
0146 };