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>
30 lines
596 B
Text
30 lines
596 B
Text
/*
|
|
* at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board
|
|
*
|
|
* Copyright (C) 2012 Atmel,
|
|
* 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91sam9x25.dtsi"
|
|
#include "at91sam9x5ek.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9X25-EK";
|
|
compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
ahb {
|
|
apb {
|
|
macb0: ethernet@f802c000 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
|
|
macb1: ethernet@f8030000 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|