4651fdf241afed5c53c1706424f722b2abaa2df1
[openwrt/openwrt.git] / target / linux / at91 / files / arch / arm / boot / dts / lmu5000.dts
1 /*
2 * lmu5000.dst - Device Tree file for CalAmp LMU5000 board
3 *
4 * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com>
5 *
6 * Licensed under GPLv2.
7 */
8 /dts-v1/;
9 #include "at91sam9g20.dtsi"
10
11 / {
12 model = "CalAmp LMU5000";
13 compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9";
14
15 chosen {
16 bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2";
17 };
18
19 memory {
20 reg = <0x20000000 0x4000000>;
21 };
22
23 clocks {
24 #address-cells = <1>;
25 #size-cells = <1>;
26 ranges;
27
28 main_clock: clock@0 {
29 compatible = "atmel,osc", "fixed-clock";
30 clock-frequency = <18432000>;
31 };
32 };
33
34 ahb {
35 apb {
36 pinctrl@fffff400 {
37 board {
38 pinctrl_pck0_as_mck: pck0_as_mck {
39 atmel,pins =
40 <2 1 0x2 0x0>; /* PC1 periph B */
41 };
42 };
43 };
44
45 dbgu: serial@fffff200 {
46 status = "okay";
47 };
48
49 usart0: serial@fffb0000 {
50 pinctrl-0 =
51 <&pinctrl_usart0
52 &pinctrl_usart0_rts
53 &pinctrl_usart0_cts
54 &pinctrl_usart0_dtr_dsr
55 &pinctrl_usart0_dcd
56 &pinctrl_usart0_ri>;
57 status = "okay";
58 };
59
60 usart2: serial@fffb8000 {
61 status = "okay";
62 };
63
64 uart0: serial@fffd4000 {
65 status = "okay";
66 };
67
68 uart1: serial@fffd8000 {
69 status = "okay";
70 };
71
72 macb0: ethernet@fffc4000 {
73 phy-mode = "mii";
74 status = "okay";
75 };
76
77 usb1: gadget@fffa4000 {
78 atmel,vbus-gpio = <&pioC 5 0>;
79 status = "okay";
80 };
81
82 ssc0: ssc@fffbc000 {
83 status = "okay";
84 pinctrl-0 = <&pinctrl_ssc0_tx>;
85 };
86
87 watchdog@fffffd40 {
88 status = "okay";
89 };
90 };
91
92 nand0: nand@40000000 {
93 nand-bus-width = <8>;
94 nand-ecc-mode = "soft";
95 nand-on-flash-bbt;
96 status = "okay";
97
98 kernel@0 {
99 label = "kernel";
100 reg = <0x0 0x400000>;
101 };
102
103 rootfs@400000 {
104 label = "rootfs";
105 reg = <0x400000 0x3C00000>;
106 };
107
108 user1@4000000 {
109 label = "user1";
110 reg = <0x4000000 0x2000000>;
111 };
112
113 user2@6000000 {
114 label = "user2";
115 reg = <0x6000000 0x2000000>;
116 };
117 };
118
119 usb0: ohci@500000 {
120 num-ports = <2>;
121 status = "okay";
122 };
123 };
124 };