mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 05:23:34 +00:00
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>
29 lines
699 B
Text
29 lines
699 B
Text
/*
|
|
* at91sam9g15.dtsi - Device Tree Include file for AT91SAM9G15 SoC
|
|
*
|
|
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Licensed under GPLv2.
|
|
*/
|
|
|
|
#include "at91sam9x5.dtsi"
|
|
#include "at91sam9x5_lcd.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9G15 SoC";
|
|
compatible = "atmel,at91sam9g15", "atmel,at91sam9x5";
|
|
|
|
ahb {
|
|
apb {
|
|
pinctrl@fffff400 {
|
|
atmel,mux-mask = <
|
|
/* A B C */
|
|
0xffffffff 0xffe0399f 0x00000000 /* pioA */
|
|
0x00040000 0x00047e3f 0x00000000 /* pioB */
|
|
0xfdffffff 0x00000000 0xb83fffff /* pioC */
|
|
0x003fffff 0x003f8000 0x00000000 /* pioD */
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
};
|