25e88d406e
The device tree source files of at91sam9x5ek board are copied from the Linux v4.10, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc" property to determine which nodes are used by the board_init_f stage. - Change the compatible of the spi flash to "spi-flash". - Add the spi0 aliases. - Fix the compilation warnings. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
33 lines
799 B
Plaintext
33 lines
799 B
Plaintext
/*
|
|
* at91sam9x25.dtsi - Device Tree Include file for AT91SAM9X25 SoC
|
|
*
|
|
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Licensed under GPLv2.
|
|
*/
|
|
|
|
#include "at91sam9x5.dtsi"
|
|
#include "at91sam9x5_usart3.dtsi"
|
|
#include "at91sam9x5_macb0.dtsi"
|
|
#include "at91sam9x5_macb1.dtsi"
|
|
#include "at91sam9x5_can.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9X25 SoC";
|
|
compatible = "atmel,at91sam9x25", "atmel,at91sam9x5";
|
|
|
|
ahb {
|
|
apb {
|
|
pinctrl@fffff400 {
|
|
atmel,mux-mask = <
|
|
/* A B C */
|
|
0xffffffff 0xffe03fff 0xc000001c /* pioA */
|
|
0x0007ffff 0x00047e3f 0x00000000 /* pioB */
|
|
0x80000000 0xfffd0000 0xb83fffff /* pioC */
|
|
0x003fffff 0x003f8000 0x00000000 /* pioD */
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
};
|