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