summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/at91sam9g15.dtsi
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-04-18 13:49:34 +0800
committerSimon Glass <sjg@chromium.org>2017-05-09 12:14:15 -0600
commit25e88d406ed065750035a666af553e48b756b16c (patch)
tree4a4ea00a3ea15bf506857d89a452b98c4d5d0931 /arch/arm/dts/at91sam9g15.dtsi
parentf8b7fff1d5c5297d290acab1e398bd410b0c2e68 (diff)
downloadu-boot-25e88d406ed065750035a666af553e48b756b16c.tar.gz
u-boot-25e88d406ed065750035a666af553e48b756b16c.tar.xz
u-boot-25e88d406ed065750035a666af553e48b756b16c.zip
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/at91sam9g15.dtsi')
-rw-r--r--arch/arm/dts/at91sam9g15.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/dts/at91sam9g15.dtsi b/arch/arm/dts/at91sam9g15.dtsi
new file mode 100644
index 0000000000..27de7dc0f0
--- /dev/null
+++ b/arch/arm/dts/at91sam9g15.dtsi
@@ -0,0 +1,29 @@
+/*
+ * 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 */
+ >;
+ };
+ };
+ };
+};