1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Device Tree file for CalAmp LMU5000 board 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com> 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/dts-v1/; 9*f126890aSEmmanuel Vadot#include "at91sam9g20.dtsi" 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot model = "CalAmp LMU5000"; 13*f126890aSEmmanuel Vadot compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9"; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot chosen { 16*f126890aSEmmanuel Vadot bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2"; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot memory { 20*f126890aSEmmanuel Vadot reg = <0x20000000 0x4000000>; 21*f126890aSEmmanuel Vadot }; 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot clocks { 24*f126890aSEmmanuel Vadot #address-cells = <1>; 25*f126890aSEmmanuel Vadot #size-cells = <1>; 26*f126890aSEmmanuel Vadot ranges; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot main_clock: clock@0 { 29*f126890aSEmmanuel Vadot compatible = "atmel,osc", "fixed-clock"; 30*f126890aSEmmanuel Vadot clock-frequency = <18432000>; 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot}; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot&dbgu { 36*f126890aSEmmanuel Vadot status = "okay"; 37*f126890aSEmmanuel Vadot}; 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot&ebi { 40*f126890aSEmmanuel Vadot status = "okay"; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot nand_controller: nand-controller { 43*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>; 44*f126890aSEmmanuel Vadot pinctrl-names = "default"; 45*f126890aSEmmanuel Vadot status = "okay"; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot nand@3 { 48*f126890aSEmmanuel Vadot reg = <0x3 0x0 0x800000>; 49*f126890aSEmmanuel Vadot rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>; 50*f126890aSEmmanuel Vadot cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; 51*f126890aSEmmanuel Vadot nand-bus-width = <8>; 52*f126890aSEmmanuel Vadot nand-ecc-mode = "soft"; 53*f126890aSEmmanuel Vadot nand-on-flash-bbt; 54*f126890aSEmmanuel Vadot label = "atmel_nand"; 55*f126890aSEmmanuel Vadot status = "okay"; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot partitions { 58*f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 59*f126890aSEmmanuel Vadot #address-cells = <1>; 60*f126890aSEmmanuel Vadot #size-cells = <1>; 61*f126890aSEmmanuel Vadot 62*f126890aSEmmanuel Vadot kernel@0 { 63*f126890aSEmmanuel Vadot label = "kernel"; 64*f126890aSEmmanuel Vadot reg = <0x0 0x400000>; 65*f126890aSEmmanuel Vadot }; 66*f126890aSEmmanuel Vadot 67*f126890aSEmmanuel Vadot rootfs@400000 { 68*f126890aSEmmanuel Vadot label = "rootfs"; 69*f126890aSEmmanuel Vadot reg = <0x400000 0x3C00000>; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot 72*f126890aSEmmanuel Vadot user1@4000000 { 73*f126890aSEmmanuel Vadot label = "user1"; 74*f126890aSEmmanuel Vadot reg = <0x4000000 0x2000000>; 75*f126890aSEmmanuel Vadot }; 76*f126890aSEmmanuel Vadot 77*f126890aSEmmanuel Vadot user2@6000000 { 78*f126890aSEmmanuel Vadot label = "user2"; 79*f126890aSEmmanuel Vadot reg = <0x6000000 0x2000000>; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot }; 82*f126890aSEmmanuel Vadot }; 83*f126890aSEmmanuel Vadot }; 84*f126890aSEmmanuel Vadot}; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot&macb0 { 87*f126890aSEmmanuel Vadot phy-mode = "mii"; 88*f126890aSEmmanuel Vadot status = "okay"; 89*f126890aSEmmanuel Vadot}; 90*f126890aSEmmanuel Vadot 91*f126890aSEmmanuel Vadot&pinctrl { 92*f126890aSEmmanuel Vadot board { 93*f126890aSEmmanuel Vadot pinctrl_pck0_as_mck: pck0_as_mck { 94*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot 98*f126890aSEmmanuel Vadot usb0 { 99*f126890aSEmmanuel Vadot pinctrl_usb1_vbus_gpio: usb0_vbus_gpio { 100*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 5 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 101*f126890aSEmmanuel Vadot }; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot}; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot&ssc0 { 106*f126890aSEmmanuel Vadot status = "okay"; 107*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc0_tx>; 108*f126890aSEmmanuel Vadot}; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot&uart0 { 111*f126890aSEmmanuel Vadot status = "okay"; 112*f126890aSEmmanuel Vadot}; 113*f126890aSEmmanuel Vadot 114*f126890aSEmmanuel Vadot&uart1 { 115*f126890aSEmmanuel Vadot status = "okay"; 116*f126890aSEmmanuel Vadot}; 117*f126890aSEmmanuel Vadot 118*f126890aSEmmanuel Vadot&usart0 { 119*f126890aSEmmanuel Vadot pinctrl-0 = 120*f126890aSEmmanuel Vadot <&pinctrl_usart0 121*f126890aSEmmanuel Vadot &pinctrl_usart0_rts 122*f126890aSEmmanuel Vadot &pinctrl_usart0_cts 123*f126890aSEmmanuel Vadot &pinctrl_usart0_dtr_dsr 124*f126890aSEmmanuel Vadot &pinctrl_usart0_dcd 125*f126890aSEmmanuel Vadot &pinctrl_usart0_ri>; 126*f126890aSEmmanuel Vadot status = "okay"; 127*f126890aSEmmanuel Vadot}; 128*f126890aSEmmanuel Vadot 129*f126890aSEmmanuel Vadot&usart2 { 130*f126890aSEmmanuel Vadot status = "okay"; 131*f126890aSEmmanuel Vadot}; 132*f126890aSEmmanuel Vadot 133*f126890aSEmmanuel Vadot&usb0 { 134*f126890aSEmmanuel Vadot num-ports = <2>; 135*f126890aSEmmanuel Vadot status = "okay"; 136*f126890aSEmmanuel Vadot}; 137*f126890aSEmmanuel Vadot 138*f126890aSEmmanuel Vadot&usb1 { 139*f126890aSEmmanuel Vadot pinctrl-names = "default"; 140*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; 141*f126890aSEmmanuel Vadot atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; 142*f126890aSEmmanuel Vadot status = "okay"; 143*f126890aSEmmanuel Vadot}; 144*f126890aSEmmanuel Vadot 145*f126890aSEmmanuel Vadot&watchdog { 146*f126890aSEmmanuel Vadot status = "okay"; 147*f126890aSEmmanuel Vadot}; 148