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}; 113