1262569Simp/* 2262569Simp * usb_a9263.dts - Device Tree file for Caloa USB A9293 board 3262569Simp * 4262569Simp * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 5262569Simp * 6262569Simp * Licensed under GPLv2 only 7262569Simp */ 8262569Simp/dts-v1/; 9262569Simp#include "at91sam9263.dtsi" 10262569Simp 11262569Simp/ { 12262569Simp model = "Calao USB A9263"; 13262569Simp compatible = "atmel,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9"; 14262569Simp 15262569Simp chosen { 16262569Simp bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; 17262569Simp }; 18262569Simp 19262569Simp memory { 20262569Simp reg = <0x20000000 0x4000000>; 21262569Simp }; 22262569Simp 23262569Simp clocks { 24262569Simp #address-cells = <1>; 25262569Simp #size-cells = <1>; 26262569Simp ranges; 27262569Simp 28262569Simp main_clock: clock@0 { 29262569Simp compatible = "atmel,osc", "fixed-clock"; 30262569Simp clock-frequency = <12000000>; 31262569Simp }; 32270864Simp 33270864Simp slow_xtal { 34270864Simp clock-frequency = <32768>; 35270864Simp }; 36270864Simp 37270864Simp main_xtal { 38270864Simp clock-frequency = <12000000>; 39270864Simp }; 40262569Simp }; 41262569Simp 42262569Simp ahb { 43262569Simp apb { 44262569Simp dbgu: serial@ffffee00 { 45262569Simp status = "okay"; 46262569Simp }; 47262569Simp 48262569Simp macb0: ethernet@fffbc000 { 49262569Simp phy-mode = "rmii"; 50262569Simp status = "okay"; 51262569Simp }; 52262569Simp 53262569Simp usb1: gadget@fff78000 { 54262569Simp atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>; 55262569Simp status = "okay"; 56262569Simp }; 57262569Simp 58262569Simp spi0: spi@fffa4000 { 59262569Simp cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>; 60262569Simp status = "okay"; 61262569Simp mtd_dataflash@0 { 62262569Simp compatible = "atmel,at45", "atmel,dataflash"; 63262569Simp reg = <0>; 64262569Simp spi-max-frequency = <15000000>; 65262569Simp }; 66262569Simp }; 67262569Simp 68262569Simp shdwc@fffffd10 { 69262569Simp atmel,wakeup-counter = <10>; 70262569Simp atmel,wakeup-rtt-timer; 71262569Simp }; 72262569Simp }; 73262569Simp 74262569Simp nand0: nand@40000000 { 75262569Simp nand-bus-width = <8>; 76262569Simp nand-ecc-mode = "soft"; 77262569Simp nand-on-flash-bbt; 78262569Simp status = "okay"; 79262569Simp 80262569Simp at91bootstrap@0 { 81262569Simp label = "at91bootstrap"; 82262569Simp reg = <0x0 0x20000>; 83262569Simp }; 84262569Simp 85262569Simp barebox@20000 { 86262569Simp label = "barebox"; 87262569Simp reg = <0x20000 0x40000>; 88262569Simp }; 89262569Simp 90262569Simp bareboxenv@60000 { 91262569Simp label = "bareboxenv"; 92262569Simp reg = <0x60000 0x20000>; 93262569Simp }; 94262569Simp 95262569Simp bareboxenv2@80000 { 96262569Simp label = "bareboxenv2"; 97262569Simp reg = <0x80000 0x20000>; 98262569Simp }; 99262569Simp 100262569Simp oftree@80000 { 101262569Simp label = "oftree"; 102262569Simp reg = <0xa0000 0x20000>; 103262569Simp }; 104262569Simp 105262569Simp kernel@a0000 { 106262569Simp label = "kernel"; 107262569Simp reg = <0xc0000 0x400000>; 108262569Simp }; 109262569Simp 110262569Simp rootfs@4a0000 { 111262569Simp label = "rootfs"; 112262569Simp reg = <0x4c0000 0x7800000>; 113262569Simp }; 114262569Simp 115262569Simp data@7ca0000 { 116262569Simp label = "data"; 117262569Simp reg = <0x7cc0000 0x8340000>; 118262569Simp }; 119262569Simp }; 120262569Simp 121262569Simp usb0: ohci@00a00000 { 122262569Simp num-ports = <2>; 123262569Simp status = "okay"; 124262569Simp }; 125262569Simp }; 126262569Simp 127262569Simp leds { 128262569Simp compatible = "gpio-leds"; 129262569Simp 130262569Simp user_led { 131262569Simp label = "user_led"; 132262569Simp gpios = <&pioB 21 GPIO_ACTIVE_HIGH>; 133262569Simp linux,default-trigger = "heartbeat"; 134262569Simp }; 135262569Simp }; 136262569Simp 137262569Simp gpio_keys { 138262569Simp compatible = "gpio-keys"; 139262569Simp #address-cells = <1>; 140262569Simp #size-cells = <0>; 141262569Simp 142262569Simp user_pb { 143262569Simp label = "user_pb"; 144262569Simp gpios = <&pioB 10 GPIO_ACTIVE_LOW>; 145262569Simp linux,code = <28>; 146262569Simp gpio-key,wakeup; 147262569Simp }; 148262569Simp }; 149262569Simp 150262569Simp i2c@0 { 151262569Simp status = "okay"; 152262569Simp }; 153262569Simp}; 154