.. | .. |
---|
| 1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
---|
1 | 2 | /* |
---|
2 | 3 | * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2015 Atmel, |
---|
5 | 6 | * 2015 Josh Wu <josh.wu@atmel.com> |
---|
6 | | - * |
---|
7 | | - * This file is dual-licensed: you can use it either under the terms |
---|
8 | | - * of the GPL or the X11 license, at your option. Note that this dual |
---|
9 | | - * licensing only applies to this file, and not this project as a |
---|
10 | | - * whole. |
---|
11 | | - * |
---|
12 | | - * a) This file is free software; you can redistribute it and/or |
---|
13 | | - * modify it under the terms of the GNU General Public License as |
---|
14 | | - * published by the Free Software Foundation; either version 2 of the |
---|
15 | | - * License, or (at your option) any later version. |
---|
16 | | - * |
---|
17 | | - * This file is distributed in the hope that it will be useful, |
---|
18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
20 | | - * GNU General Public License for more details. |
---|
21 | | - * |
---|
22 | | - * Or, alternatively, |
---|
23 | | - * |
---|
24 | | - * b) Permission is hereby granted, free of charge, to any person |
---|
25 | | - * obtaining a copy of this software and associated documentation |
---|
26 | | - * files (the "Software"), to deal in the Software without |
---|
27 | | - * restriction, including without limitation the rights to use, |
---|
28 | | - * copy, modify, merge, publish, distribute, sublicense, and/or |
---|
29 | | - * sell copies of the Software, and to permit persons to whom the |
---|
30 | | - * Software is furnished to do so, subject to the following |
---|
31 | | - * conditions: |
---|
32 | | - * |
---|
33 | | - * The above copyright notice and this permission notice shall be |
---|
34 | | - * included in all copies or substantial portions of the Software. |
---|
35 | | - * |
---|
36 | | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
---|
37 | | - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
---|
38 | | - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
---|
39 | | - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
---|
40 | | - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
---|
41 | | - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
---|
42 | | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
---|
43 | | - * OTHER DEALINGS IN THE SOFTWARE. |
---|
44 | 7 | */ |
---|
45 | 8 | /dts-v1/; |
---|
46 | 9 | #include "sama5d4.dtsi" |
---|
.. | .. |
---|
53 | 16 | stdout-path = "serial0:115200n8"; |
---|
54 | 17 | }; |
---|
55 | 18 | |
---|
56 | | - memory { |
---|
| 19 | + memory@20000000 { |
---|
57 | 20 | reg = <0x20000000 0x20000000>; |
---|
58 | 21 | }; |
---|
59 | 22 | |
---|
.. | .. |
---|
86 | 49 | }; |
---|
87 | 50 | |
---|
88 | 51 | i2c0: i2c@f8014000 { |
---|
| 52 | + i2c-digital-filter; |
---|
89 | 53 | status = "okay"; |
---|
90 | 54 | }; |
---|
91 | 55 | |
---|
.. | .. |
---|
126 | 90 | }; |
---|
127 | 91 | |
---|
128 | 92 | spi1: spi@fc018000 { |
---|
| 93 | + pinctrl-names = "default"; |
---|
| 94 | + pinctrl-0 = <&pinctrl_spi1_cs>; |
---|
129 | 95 | cs-gpios = <&pioB 21 0>; |
---|
130 | 96 | status = "okay"; |
---|
131 | 97 | }; |
---|
.. | .. |
---|
183 | 149 | atmel,pins = |
---|
184 | 150 | <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; |
---|
185 | 151 | }; |
---|
| 152 | + pinctrl_spi1_cs: spi1_cs_default { |
---|
| 153 | + atmel,pins = |
---|
| 154 | + <AT91_PIOB 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; |
---|
| 155 | + }; |
---|
| 156 | + pinctrl_gpio_leds: gpio_leds_default { |
---|
| 157 | + atmel,pins = |
---|
| 158 | + <AT91_PIOD 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE |
---|
| 159 | + AT91_PIOE 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; |
---|
| 160 | + }; |
---|
| 161 | + pinctrl_vcc_mmc1_reg: vcc_mmc1_reg { |
---|
| 162 | + atmel,pins = |
---|
| 163 | + <AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; |
---|
| 164 | + }; |
---|
186 | 165 | }; |
---|
187 | 166 | }; |
---|
188 | 167 | }; |
---|
.. | .. |
---|
239 | 218 | |
---|
240 | 219 | bootloader@40000 { |
---|
241 | 220 | label = "bootloader"; |
---|
242 | | - reg = <0x40000 0x80000>; |
---|
| 221 | + reg = <0x40000 0xc0000>; |
---|
243 | 222 | }; |
---|
244 | 223 | |
---|
245 | | - bootloaderenv@c0000 { |
---|
| 224 | + bootloaderenvred@100000 { |
---|
| 225 | + label = "bootloader env redundant"; |
---|
| 226 | + reg = <0x100000 0x40000>; |
---|
| 227 | + }; |
---|
| 228 | + |
---|
| 229 | + bootloaderenv@140000 { |
---|
246 | 230 | label = "bootloader env"; |
---|
247 | | - reg = <0xc0000 0xc0000>; |
---|
| 231 | + reg = <0x140000 0x40000>; |
---|
248 | 232 | }; |
---|
249 | 233 | |
---|
250 | 234 | dtb@180000 { |
---|
.. | .. |
---|
283 | 267 | |
---|
284 | 268 | leds { |
---|
285 | 269 | compatible = "gpio-leds"; |
---|
| 270 | + pinctrl-names = "default"; |
---|
| 271 | + pinctrl-0 = <&pinctrl_gpio_leds>; |
---|
286 | 272 | status = "okay"; |
---|
287 | 273 | |
---|
288 | 274 | d8 { |
---|
.. | .. |
---|
309 | 295 | |
---|
310 | 296 | vcc_mmc1_reg: fixedregulator_mmc1 { |
---|
311 | 297 | compatible = "regulator-fixed"; |
---|
| 298 | + pinctrl-names = "default"; |
---|
| 299 | + pinctrl-0 = <&pinctrl_vcc_mmc1_reg>; |
---|
312 | 300 | gpio = <&pioE 4 GPIO_ACTIVE_LOW>; |
---|
313 | 301 | regulator-name = "VDD MCI1"; |
---|
314 | 302 | regulator-min-microvolt = <3300000>; |
---|