diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2017-04-18 05:49:34 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-09 18:14:15 (GMT) |
commit | 25e88d406ed065750035a666af553e48b756b16c (patch) | |
tree | 4a4ea00a3ea15bf506857d89a452b98c4d5d0931 /arch/arm/dts/at91sam9x25ek.dts | |
parent | f8b7fff1d5c5297d290acab1e398bd410b0c2e68 (diff) | |
download | u-boot-25e88d406ed065750035a666af553e48b756b16c.tar.xz |
ARM: dts: at91: Add dts files for at91sam9x5ek
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>
Diffstat (limited to 'arch/arm/dts/at91sam9x25ek.dts')
-rw-r--r-- | arch/arm/dts/at91sam9x25ek.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/dts/at91sam9x25ek.dts b/arch/arm/dts/at91sam9x25ek.dts new file mode 100644 index 0000000..4948648 --- /dev/null +++ b/arch/arm/dts/at91sam9x25ek.dts @@ -0,0 +1,30 @@ +/* + * 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"; + }; + }; + }; +}; |