mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +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>
30 lines
732 B
Text
30 lines
732 B
Text
/*
|
|
* at91sam9g35.dtsi - Device Tree Include file for AT91SAM9G35 SoC
|
|
*
|
|
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Licensed under GPLv2.
|
|
*/
|
|
|
|
#include "at91sam9x5.dtsi"
|
|
#include "at91sam9x5_lcd.dtsi"
|
|
#include "at91sam9x5_macb0.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9G35 SoC";
|
|
compatible = "atmel,at91sam9g35", "atmel,at91sam9x5";
|
|
|
|
ahb {
|
|
apb {
|
|
pinctrl@fffff400 {
|
|
atmel,mux-mask = <
|
|
/* A B C */
|
|
0xffffffff 0xffe0399f 0xc000000c /* pioA */
|
|
0x000406ff 0x00047e3f 0x00000000 /* pioB */
|
|
0xfdffffff 0x00000000 0xb83fffff /* pioC */
|
|
0x003fffff 0x003f8000 0x00000000 /* pioD */
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
};
|