OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /* |
2 | * wb50n.dts - Device Tree file for wb50n board |
||
3 | * |
||
4 | * Copyright (C) 2015 Laird |
||
5 | * |
||
6 | * Licensed under GPLv2 or later. |
||
7 | */ |
||
8 | #include "sama5d31.dtsi" |
||
9 | |||
10 | / { |
||
11 | model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; |
||
12 | compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; |
||
13 | |||
14 | chosen { |
||
15 | bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M"; |
||
16 | }; |
||
17 | |||
18 | memory { |
||
19 | reg = <0x20000000 0x4000000>; |
||
20 | }; |
||
21 | |||
22 | clocks { |
||
23 | slow_xtal { |
||
24 | clock-frequency = <32768>; |
||
25 | }; |
||
26 | |||
27 | main_xtal { |
||
28 | clock-frequency = <12000000>; |
||
29 | }; |
||
30 | }; |
||
31 | |||
32 | ahb { |
||
33 | |||
34 | apb { |
||
35 | pmc: pmc@fffffc00 { |
||
36 | main: mainck { |
||
37 | clock-frequency = <12000000>; |
||
38 | }; |
||
39 | |||
40 | periphck { |
||
41 | usart1_clk: usart1_clk { |
||
42 | #clock-cells = <0>; |
||
43 | reg = <13>; |
||
44 | atmel,clk-output-range = <0 132000000>; |
||
45 | }; |
||
46 | }; |
||
47 | }; |
||
48 | |||
49 | pinctrl@fffff200 { |
||
50 | board { |
||
51 | pinctrl_mmc0_cd: mmc0_cd { |
||
52 | atmel,pins = |
||
53 | <AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PC26 GPIO with pullup deglitch */ |
||
54 | }; |
||
55 | |||
56 | pinctrl_usba_vbus: usba_vbus { |
||
57 | atmel,pins = |
||
58 | <AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB13 GPIO with deglitch */ |
||
59 | }; |
||
60 | }; |
||
61 | }; |
||
62 | |||
63 | mmc0: mmc@f0000000 { |
||
64 | pinctrl-names = "default"; |
||
65 | pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; |
||
66 | cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>; |
||
67 | slot@0 { |
||
68 | reg = <0>; |
||
69 | bus-width = <4>; |
||
70 | }; |
||
71 | }; |
||
72 | |||
73 | mmc1: mmc@f8000000 { |
||
74 | pinctrl-names = "default"; |
||
75 | pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>; |
||
76 | status = "okay"; |
||
77 | slot@0 { |
||
78 | reg = <0>; |
||
79 | bus-width = <4>; |
||
80 | }; |
||
81 | }; |
||
82 | |||
83 | macb1: ethernet@f802c000 { |
||
84 | phy-mode = "rmii"; |
||
85 | }; |
||
86 | |||
87 | |||
88 | dbgu: serial@ffffee00 { |
||
89 | dmas = <0>, <0>; /* Do not use DMA for dbgu */ |
||
90 | }; |
||
91 | |||
92 | /* On BB40 this port is labeled UART1 */ |
||
93 | usart0: serial@f001c000 { |
||
94 | atmel,use-dma-rx; |
||
95 | atmel,use-dma-tx; |
||
96 | pinctrl-names = "default"; |
||
97 | pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>; |
||
98 | }; |
||
99 | |||
100 | /* On BB40 this port is labeled UART0 */ |
||
101 | usart1: serial@f0020000 { |
||
102 | atmel,use-dma-rx; |
||
103 | atmel,use-dma-tx; |
||
104 | pinctrl-names = "default"; |
||
105 | pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>; |
||
106 | dtr-gpios = <&pioD 13 GPIO_ACTIVE_LOW>; |
||
107 | dsr-gpios = <&pioD 11 GPIO_ACTIVE_LOW>; |
||
108 | dcd-gpios = <&pioD 7 GPIO_ACTIVE_LOW>; |
||
109 | rng-gpios = <&pioD 8 GPIO_ACTIVE_LOW>; |
||
110 | }; |
||
111 | |||
112 | /* USART3 is direct-connect to the Bluetooth UART on the radio SIP */ |
||
113 | usart3: serial@f8024000 { |
||
114 | atmel,use-dma-rx; |
||
115 | atmel,use-dma-tx; |
||
116 | pinctrl-names = "default"; |
||
117 | pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts_cts>; |
||
118 | status = "okay"; |
||
119 | }; |
||
120 | |||
121 | spi1: spi@f8008000 { |
||
122 | cs-gpios = <&pioC 25 0>, <0>, <0>, <0>; |
||
123 | }; |
||
124 | |||
125 | sckc@fffffe50 { |
||
126 | slow_osc: slow_osc { |
||
127 | atmel,osc-bypass; |
||
128 | }; |
||
129 | }; |
||
130 | }; |
||
131 | |||
132 | nand0: nand@60000000 { |
||
133 | nand-bus-width = <8>; |
||
134 | nand-ecc-mode = "hw"; |
||
135 | atmel,has-pmecc; |
||
136 | atmel,pmecc-cap = <8>; |
||
137 | atmel,pmecc-sector-size = <512>; |
||
138 | nand-on-flash-bbt; |
||
139 | status = "okay"; |
||
140 | |||
141 | at91bootstrap@0 { |
||
142 | label = "at91bs"; |
||
143 | reg = <0x0 0x20000>; |
||
144 | }; |
||
145 | |||
146 | uboot@20000 { |
||
147 | label = "u-boot"; |
||
148 | reg = <0x20000 0x80000>; |
||
149 | }; |
||
150 | |||
151 | ubootenv@a0000 { |
||
152 | label = "u-boot-env"; |
||
153 | reg = <0xa0000 0x20000>; |
||
154 | }; |
||
155 | |||
156 | ubootenv@c0000 { |
||
157 | label = "u-boot-env"; |
||
158 | reg = <0xc0000 0x20000>; |
||
159 | }; |
||
160 | |||
161 | kernel-a@e0000 { |
||
162 | label = "kernel-a"; |
||
163 | reg = <0xe0000 0x500000>; |
||
164 | }; |
||
165 | |||
166 | kernel-b@5e0000 { |
||
167 | label = "kernel-b"; |
||
168 | reg = <0x5e0000 0x500000>; |
||
169 | }; |
||
170 | |||
171 | rootfs-a@ae0000 { |
||
172 | label = "rootfs-a"; |
||
173 | reg = <0xae0000 0x3000000>; |
||
174 | }; |
||
175 | |||
176 | rootfs-b@3ae0000 { |
||
177 | label = "rootfs-b"; |
||
178 | reg = <0x3ae0000 0x3000000>; |
||
179 | }; |
||
180 | |||
181 | user@6ae0000 { |
||
182 | label = "user"; |
||
183 | reg = <0x6ae0000 0x14e0000>; |
||
184 | }; |
||
185 | |||
186 | }; |
||
187 | |||
188 | usb0: gadget@00500000 { |
||
189 | atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>; |
||
190 | pinctrl-names = "default"; |
||
191 | pinctrl-0 = <&pinctrl_usba_vbus>; |
||
192 | }; |
||
193 | |||
194 | usb1: ohci@00600000 { |
||
195 | num-ports = <3>; |
||
196 | atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>; |
||
197 | atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>; |
||
198 | }; |
||
199 | }; |
||
200 | |||
201 | atheros { |
||
202 | compatible = "atheros,ath6kl"; |
||
203 | atheros,board-id = "SD32"; |
||
204 | }; |
||
205 | }; |