1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot/dts-v1/; 8*f126890aSEmmanuel Vadot#include "at91sam9260.dtsi" 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot model = "Calao QIL A9260"; 11*f126890aSEmmanuel Vadot compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9"; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot chosen { 14*f126890aSEmmanuel Vadot bootargs = "console=ttyS0,115200"; 15*f126890aSEmmanuel Vadot }; 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot memory@20000000 { 18*f126890aSEmmanuel Vadot reg = <0x20000000 0x4000000>; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot clocks { 22*f126890aSEmmanuel Vadot slow_xtal { 23*f126890aSEmmanuel Vadot clock-frequency = <32768>; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot main_xtal { 27*f126890aSEmmanuel Vadot clock-frequency = <12000000>; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot }; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot ahb { 32*f126890aSEmmanuel Vadot apb { 33*f126890aSEmmanuel Vadot tcb0: timer@fffa0000 { 34*f126890aSEmmanuel Vadot timer@0 { 35*f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 36*f126890aSEmmanuel Vadot reg = <0>, <1>; 37*f126890aSEmmanuel Vadot }; 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot timer@2 { 40*f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 41*f126890aSEmmanuel Vadot reg = <2>; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot usb1: gadget@fffa4000 { 46*f126890aSEmmanuel Vadot atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; 47*f126890aSEmmanuel Vadot status = "okay"; 48*f126890aSEmmanuel Vadot }; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot mmc0: mmc@fffa8000 { 51*f126890aSEmmanuel Vadot pinctrl-0 = < 52*f126890aSEmmanuel Vadot &pinctrl_mmc0_clk 53*f126890aSEmmanuel Vadot &pinctrl_mmc0_slot0_cmd_dat0 54*f126890aSEmmanuel Vadot &pinctrl_mmc0_slot0_dat1_3>; 55*f126890aSEmmanuel Vadot pinctrl-names = "default"; 56*f126890aSEmmanuel Vadot status = "okay"; 57*f126890aSEmmanuel Vadot slot@0 { 58*f126890aSEmmanuel Vadot reg = <0>; 59*f126890aSEmmanuel Vadot bus-width = <4>; 60*f126890aSEmmanuel Vadot }; 61*f126890aSEmmanuel Vadot }; 62*f126890aSEmmanuel Vadot 63*f126890aSEmmanuel Vadot usart0: serial@fffb0000 { 64*f126890aSEmmanuel Vadot pinctrl-0 = 65*f126890aSEmmanuel Vadot <&pinctrl_usart0 66*f126890aSEmmanuel Vadot &pinctrl_usart0_rts 67*f126890aSEmmanuel Vadot &pinctrl_usart0_cts 68*f126890aSEmmanuel Vadot &pinctrl_usart0_dtr_dsr 69*f126890aSEmmanuel Vadot &pinctrl_usart0_dcd 70*f126890aSEmmanuel Vadot &pinctrl_usart0_ri>; 71*f126890aSEmmanuel Vadot status = "okay"; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot 74*f126890aSEmmanuel Vadot usart1: serial@fffb4000 { 75*f126890aSEmmanuel Vadot pinctrl-0 = 76*f126890aSEmmanuel Vadot <&pinctrl_usart1 77*f126890aSEmmanuel Vadot &pinctrl_usart1_rts 78*f126890aSEmmanuel Vadot &pinctrl_usart1_cts>; 79*f126890aSEmmanuel Vadot status = "okay"; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot usart2: serial@fffb8000 { 83*f126890aSEmmanuel Vadot pinctrl-0 = 84*f126890aSEmmanuel Vadot <&pinctrl_usart2 85*f126890aSEmmanuel Vadot &pinctrl_usart2_rts 86*f126890aSEmmanuel Vadot &pinctrl_usart2_cts>; 87*f126890aSEmmanuel Vadot status = "okay"; 88*f126890aSEmmanuel Vadot }; 89*f126890aSEmmanuel Vadot 90*f126890aSEmmanuel Vadot macb0: ethernet@fffc4000 { 91*f126890aSEmmanuel Vadot phy-mode = "rmii"; 92*f126890aSEmmanuel Vadot status = "okay"; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot 95*f126890aSEmmanuel Vadot spi0: spi@fffc8000 { 96*f126890aSEmmanuel Vadot status = "okay"; 97*f126890aSEmmanuel Vadot cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot m41t94@0 { 100*f126890aSEmmanuel Vadot compatible = "st,m41t94"; 101*f126890aSEmmanuel Vadot reg = <0>; 102*f126890aSEmmanuel Vadot spi-max-frequency = <1000000>; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot }; 106*f126890aSEmmanuel Vadot 107*f126890aSEmmanuel Vadot dbgu: serial@fffff200 { 108*f126890aSEmmanuel Vadot status = "okay"; 109*f126890aSEmmanuel Vadot }; 110*f126890aSEmmanuel Vadot 111*f126890aSEmmanuel Vadot shdwc: poweroff@fffffd10 { 112*f126890aSEmmanuel Vadot atmel,wakeup-counter = <10>; 113*f126890aSEmmanuel Vadot atmel,wakeup-rtt-timer; 114*f126890aSEmmanuel Vadot }; 115*f126890aSEmmanuel Vadot }; 116*f126890aSEmmanuel Vadot 117*f126890aSEmmanuel Vadot usb0: ohci@500000 { 118*f126890aSEmmanuel Vadot num-ports = <2>; 119*f126890aSEmmanuel Vadot status = "okay"; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot 122*f126890aSEmmanuel Vadot ebi: ebi@10000000 { 123*f126890aSEmmanuel Vadot status = "okay"; 124*f126890aSEmmanuel Vadot 125*f126890aSEmmanuel Vadot nand_controller: nand-controller { 126*f126890aSEmmanuel Vadot status = "okay"; 127*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>; 128*f126890aSEmmanuel Vadot pinctrl-names = "default"; 129*f126890aSEmmanuel Vadot 130*f126890aSEmmanuel Vadot nand@3 { 131*f126890aSEmmanuel Vadot reg = <0x3 0x0 0x800000>; 132*f126890aSEmmanuel Vadot rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>; 133*f126890aSEmmanuel Vadot cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; 134*f126890aSEmmanuel Vadot nand-bus-width = <8>; 135*f126890aSEmmanuel Vadot nand-ecc-mode = "soft"; 136*f126890aSEmmanuel Vadot nand-on-flash-bbt; 137*f126890aSEmmanuel Vadot label = "atmel_nand"; 138*f126890aSEmmanuel Vadot 139*f126890aSEmmanuel Vadot partitions { 140*f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 141*f126890aSEmmanuel Vadot #address-cells = <1>; 142*f126890aSEmmanuel Vadot #size-cells = <1>; 143*f126890aSEmmanuel Vadot 144*f126890aSEmmanuel Vadot at91bootstrap@0 { 145*f126890aSEmmanuel Vadot label = "at91bootstrap"; 146*f126890aSEmmanuel Vadot reg = <0x0 0x20000>; 147*f126890aSEmmanuel Vadot }; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot barebox@20000 { 150*f126890aSEmmanuel Vadot label = "barebox"; 151*f126890aSEmmanuel Vadot reg = <0x20000 0x40000>; 152*f126890aSEmmanuel Vadot }; 153*f126890aSEmmanuel Vadot 154*f126890aSEmmanuel Vadot bareboxenv@60000 { 155*f126890aSEmmanuel Vadot label = "bareboxenv"; 156*f126890aSEmmanuel Vadot reg = <0x60000 0x20000>; 157*f126890aSEmmanuel Vadot }; 158*f126890aSEmmanuel Vadot 159*f126890aSEmmanuel Vadot bareboxenv2@80000 { 160*f126890aSEmmanuel Vadot label = "bareboxenv2"; 161*f126890aSEmmanuel Vadot reg = <0x80000 0x20000>; 162*f126890aSEmmanuel Vadot }; 163*f126890aSEmmanuel Vadot 164*f126890aSEmmanuel Vadot oftree@a0000 { 165*f126890aSEmmanuel Vadot label = "oftree"; 166*f126890aSEmmanuel Vadot reg = <0xa0000 0x20000>; 167*f126890aSEmmanuel Vadot }; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot kernel@c0000 { 170*f126890aSEmmanuel Vadot label = "kernel"; 171*f126890aSEmmanuel Vadot reg = <0xc0000 0x400000>; 172*f126890aSEmmanuel Vadot }; 173*f126890aSEmmanuel Vadot 174*f126890aSEmmanuel Vadot rootfs@4c0000 { 175*f126890aSEmmanuel Vadot label = "rootfs"; 176*f126890aSEmmanuel Vadot reg = <0x4c0000 0x7800000>; 177*f126890aSEmmanuel Vadot }; 178*f126890aSEmmanuel Vadot 179*f126890aSEmmanuel Vadot data@7cc0000 { 180*f126890aSEmmanuel Vadot label = "data"; 181*f126890aSEmmanuel Vadot reg = <0x7cc0000 0x8340000>; 182*f126890aSEmmanuel Vadot }; 183*f126890aSEmmanuel Vadot }; 184*f126890aSEmmanuel Vadot }; 185*f126890aSEmmanuel Vadot }; 186*f126890aSEmmanuel Vadot }; 187*f126890aSEmmanuel Vadot }; 188*f126890aSEmmanuel Vadot 189*f126890aSEmmanuel Vadot leds { 190*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 191*f126890aSEmmanuel Vadot 192*f126890aSEmmanuel Vadot user_led { 193*f126890aSEmmanuel Vadot label = "user_led"; 194*f126890aSEmmanuel Vadot gpios = <&pioB 21 GPIO_ACTIVE_HIGH>; 195*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 196*f126890aSEmmanuel Vadot }; 197*f126890aSEmmanuel Vadot }; 198*f126890aSEmmanuel Vadot 199*f126890aSEmmanuel Vadot gpio_keys { 200*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 201*f126890aSEmmanuel Vadot 202*f126890aSEmmanuel Vadot button-user { 203*f126890aSEmmanuel Vadot label = "user_pb"; 204*f126890aSEmmanuel Vadot gpios = <&pioB 10 GPIO_ACTIVE_LOW>; 205*f126890aSEmmanuel Vadot linux,code = <28>; 206*f126890aSEmmanuel Vadot wakeup-source; 207*f126890aSEmmanuel Vadot }; 208*f126890aSEmmanuel Vadot }; 209*f126890aSEmmanuel Vadot 210*f126890aSEmmanuel Vadot i2c-gpio-0 { 211*f126890aSEmmanuel Vadot status = "okay"; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot}; 214