1262569Simp/* 2262569Simp * at91-cosino.dtsi - Device Tree file for Cosino core module 3262569Simp * 4262569Simp * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 5262569Simp * HCE Engineering 6262569Simp * 7262569Simp * Derived from at91sam9x5ek.dtsi by: 8262569Simp * Copyright (C) 2012 Atmel, 9262569Simp * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> 10262569Simp * 11262569Simp * Licensed under GPLv2 or later. 12262569Simp */ 13262569Simp 14262569Simp#include "at91sam9g35.dtsi" 15262569Simp 16262569Simp/ { 17262569Simp model = "HCE Cosino core module"; 18262569Simp compatible = "hce,cosino", "atmel,at91sam9x5", "atmel,at91sam9"; 19262569Simp 20262569Simp chosen { 21262569Simp bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait"; 22262569Simp }; 23262569Simp 24262569Simp memory { 25262569Simp reg = <0x20000000 0x8000000>; 26262569Simp }; 27262569Simp 28262569Simp clocks { 29262569Simp #address-cells = <1>; 30262569Simp #size-cells = <1>; 31262569Simp ranges; 32262569Simp 33262569Simp main_clock: clock@0 { 34262569Simp compatible = "atmel,osc", "fixed-clock"; 35262569Simp clock-frequency = <12000000>; 36262569Simp }; 37262569Simp 38262569Simp slow_xtal { 39262569Simp clock-frequency = <32768>; 40262569Simp }; 41262569Simp 42262569Simp main_xtal { 43262569Simp clock-frequency = <12000000>; 44262569Simp }; 45262569Simp }; 46270864Simp 47270864Simp ahb { 48270864Simp apb { 49270864Simp mmc0: mmc@f0008000 { 50270864Simp pinctrl-0 = < 51270864Simp &pinctrl_board_mmc0 52270864Simp &pinctrl_mmc0_slot0_clk_cmd_dat0 53270864Simp &pinctrl_mmc0_slot0_dat1_3>; 54270864Simp status = "okay"; 55262569Simp slot@0 { 56262569Simp reg = <0>; 57262569Simp bus-width = <4>; 58262569Simp cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; 59262569Simp }; 60262569Simp }; 61270864Simp 62270864Simp dbgu: serial@fffff200 { 63262569Simp status = "okay"; 64262569Simp }; 65262569Simp 66262569Simp usart0: serial@f801c000 { 67262569Simp status = "okay"; 68 }; 69 70 i2c0: i2c@f8010000 { 71 status = "okay"; 72 }; 73 74 adc0: adc@f804c000 { 75 atmel,adc-ts-wires = <4>; 76 atmel,adc-ts-pressure-threshold = <10000>; 77 status = "okay"; 78 }; 79 80 pinctrl@fffff400 { 81 mmc0 { 82 pinctrl_board_mmc0: mmc0-board { 83 atmel,pins = 84 <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */ 85 }; 86 }; 87 }; 88 89 watchdog@fffffe40 { 90 status = "okay"; 91 }; 92 }; 93 94 nand0: nand@40000000 { 95 nand-bus-width = <8>; 96 nand-ecc-mode = "hw"; 97 atmel,has-pmecc; /* Enable PMECC */ 98 atmel,pmecc-cap = <4>; 99 atmel,pmecc-sector-size = <512>; 100 nand-on-flash-bbt; 101 status = "okay"; 102 103 at91bootstrap@0 { 104 label = "at91bootstrap"; 105 reg = <0x0 0x40000>; 106 }; 107 108 uboot@40000 { 109 label = "u-boot"; 110 reg = <0x40000 0x80000>; 111 }; 112 113 ubootenv@c0000 { 114 label = "U-Boot Env"; 115 reg = <0xc0000 0x140000>; 116 }; 117 118 kernel@200000 { 119 label = "kernel"; 120 reg = <0x200000 0x600000>; 121 }; 122 123 rootfs@800000 { 124 label = "rootfs"; 125 reg = <0x800000 0x0f800000>; 126 }; 127 }; 128 }; 129}; 130