Skip to contentSkip to conversation

ARM: dts: at91: Add dts files for AT91 SoCs' boards

PATCH Superseded Wenyou Yang 2 participants 13 messages Apr 14, 2017 – Apr 16, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover ARM: dts: at91: Add dts files for AT91 SoCs' boards

The device tree source files of AT91 SoCs's board are copied from the Linux v4.10, and have some changes.

Changes in v2:
- Rebase on the master branch (22e10be45) of u-boot-dm git tree.

Wenyou Yang (6):
ARM: dts: at91: Add dts files for at91sam9x5ek
ARM: dts: at91: Add dts files for at91sam9n12ek
ARM: dts: at91: Add dts files for at91sam9m10g45ek
ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek
ARM: dts: at91: Add dts files for at91sam9rlek
ARM: dts: at91: Add dts files for at91sam9263ek

 arch/arm/dts/Makefile                  |   20 +
 arch/arm/dts/at91sam9260.dtsi          |  149 ++--
 arch/arm/dts/at91sam9260ek.dts         |  215 ++++++
 arch/arm/dts/at91sam9263.dtsi          |  198 ++---
 arch/arm/dts/at91sam9263ek.dts         |  229 ++++++
 arch/arm/dts/at91sam9g15.dtsi          |   29 +
 arch/arm/dts/at91sam9g15ek.dts         |   26 +
 arch/arm/dts/at91sam9g20.dtsi          |    4 +-
 arch/arm/dts/at91sam9g20ek.dts         |   29 +
 arch/arm/dts/at91sam9g20ek_2mmc.dts    |   56 ++
 arch/arm/dts/at91sam9g20ek_common.dtsi |  227 ++++++
 arch/arm/dts/at91sam9g25.dtsi          |   31 +
 arch/arm/dts/at91sam9g25ek.dts         |   69 ++
 arch/arm/dts/at91sam9g35.dtsi          |   30 +
 arch/arm/dts/at91sam9g35ek.dts         |   31 +
 arch/arm/dts/at91sam9g45.dtsi          |  218 +++---
 arch/arm/dts/at91sam9m10g45ek.dts      |  359 +++++++++
 arch/arm/dts/at91sam9n12.dtsi          | 1064 ++++++++++++++++++++++++++
 arch/arm/dts/at91sam9n12ek.dts         |  265 +++++++
 arch/arm/dts/at91sam9rl.dtsi           | 1139 ++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9rlek.dts          |  239 ++++++
 arch/arm/dts/at91sam9x25.dtsi          |   32 +
 arch/arm/dts/at91sam9x25ek.dts         |   30 +
 arch/arm/dts/at91sam9x35.dtsi          |   31 +
 arch/arm/dts/at91sam9x35ek.dts         |   30 +
 arch/arm/dts/at91sam9x5.dtsi           | 1302 ++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9x5_can.dtsi       |   71 ++
 arch/arm/dts/at91sam9x5_isi.dtsi       |   72 ++
 arch/arm/dts/at91sam9x5_lcd.dtsi       |  146 ++++
 arch/arm/dts/at91sam9x5_macb0.dtsi     |   67 ++
 arch/arm/dts/at91sam9x5_macb1.dtsi     |   55 ++
 arch/arm/dts/at91sam9x5_usart3.dtsi    |   69 ++
 arch/arm/dts/at91sam9x5cm.dtsi         |  100 +++
 arch/arm/dts/at91sam9x5dm.dtsi         |   66 ++
 arch/arm/dts/at91sam9x5ek.dtsi         |  167 ++++
 35 files changed, 6603 insertions(+), 262 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9260ek.dts
 create mode 100644 arch/arm/dts/at91sam9263ek.dts
 create mode 100644 arch/arm/dts/at91sam9g15.dtsi
 create mode 100644 arch/arm/dts/at91sam9g15ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_2mmc.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_common.dtsi
 create mode 100644 arch/arm/dts/at91sam9g25.dtsi
 create mode 100644 arch/arm/dts/at91sam9g25ek.dts
 create mode 100644 arch/arm/dts/at91sam9g35.dtsi
 create mode 100644 arch/arm/dts/at91sam9g35ek.dts
 create mode 100644 arch/arm/dts/at91sam9m10g45ek.dts
 create mode 100644 arch/arm/dts/at91sam9n12.dtsi
 create mode 100644 arch/arm/dts/at91sam9n12ek.dts
 create mode 100644 arch/arm/dts/at91sam9rl.dtsi
 create mode 100644 arch/arm/dts/at91sam9rlek.dts
 create mode 100644 arch/arm/dts/at91sam9x25.dtsi
 create mode 100644 arch/arm/dts/at91sam9x25ek.dts
 create mode 100644 arch/arm/dts/at91sam9x35.dtsi
 create mode 100644 arch/arm/dts/at91sam9x35ek.dts
 create mode 100644 arch/arm/dts/at91sam9x5.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_can.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_isi.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_lcd.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb0.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb1.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_usart3.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5cm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5dm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5ek.dtsi
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/6 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.

---

Changes in v2: None

 arch/arm/dts/Makefile               |    7 +
 arch/arm/dts/at91sam9g15.dtsi       |   29 +
 arch/arm/dts/at91sam9g15ek.dts      |   26 +
 arch/arm/dts/at91sam9g25.dtsi       |   31 +
 arch/arm/dts/at91sam9g25ek.dts      |   69 ++
 arch/arm/dts/at91sam9g35.dtsi       |   30 +
 arch/arm/dts/at91sam9g35ek.dts      |   31 +
 arch/arm/dts/at91sam9x25.dtsi       |   32 +
 arch/arm/dts/at91sam9x25ek.dts      |   30 +
 arch/arm/dts/at91sam9x35.dtsi       |   31 +
 arch/arm/dts/at91sam9x35ek.dts      |   30 +
 arch/arm/dts/at91sam9x5.dtsi        | 1302 +++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9x5_can.dtsi    |   71 ++
 arch/arm/dts/at91sam9x5_isi.dtsi    |   72 ++
 arch/arm/dts/at91sam9x5_lcd.dtsi    |  146 ++++
 arch/arm/dts/at91sam9x5_macb0.dtsi  |   67 ++
 arch/arm/dts/at91sam9x5_macb1.dtsi  |   55 ++
 arch/arm/dts/at91sam9x5_usart3.dtsi |   69 ++
 arch/arm/dts/at91sam9x5cm.dtsi      |  100 +++
 arch/arm/dts/at91sam9x5dm.dtsi      |   66 ++
 arch/arm/dts/at91sam9x5ek.dtsi      |  167 +++++
 21 files changed, 2461 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9g15.dtsi
 create mode 100644 arch/arm/dts/at91sam9g15ek.dts
 create mode 100644 arch/arm/dts/at91sam9g25.dtsi
 create mode 100644 arch/arm/dts/at91sam9g25ek.dts
 create mode 100644 arch/arm/dts/at91sam9g35.dtsi
 create mode 100644 arch/arm/dts/at91sam9g35ek.dts
 create mode 100644 arch/arm/dts/at91sam9x25.dtsi
 create mode 100644 arch/arm/dts/at91sam9x25ek.dts
 create mode 100644 arch/arm/dts/at91sam9x35.dtsi
 create mode 100644 arch/arm/dts/at91sam9x35ek.dts
 create mode 100644 arch/arm/dts/at91sam9x5.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_can.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_isi.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_lcd.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb0.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb1.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_usart3.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5cm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5dm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5ek.dtsi
arch/arm/dts/Makefile +7 -0
index 6a1d9c2b08..9b7d57b38d 100644
@@ -344,6 +344,13 @@ dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9X5EK) += \
+	at91sam9g15ek.dtb	\
+	at91sam9g25ek.dtb	\
+	at91sam9g35ek.dtb	\
+	at91sam9x25ek.dtb	\
+	at91sam9x35ek.dtb
+
 dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \
 	at91-sama5d2_xplained.dtb
 
arch/arm/dts/at91sam9g15.dtsi new file +29 -0
new file mode 100644
index 0000000000..27de7dc0f0
@@ -0,0 +1,29 @@
+/*
+ * at91sam9g15.dtsi - Device Tree Include file for AT91SAM9G15 SoC
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * Licensed under GPLv2.
+ */
+
+#include "at91sam9x5.dtsi"
+#include "at91sam9x5_lcd.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9G15 SoC";
+	compatible = "atmel,at91sam9g15", "atmel,at91sam9x5";
+
+	ahb {
+		apb {
+			pinctrl at fffff400 {
+				atmel,mux-mask = <
+				      /*    A         B          C     */
+				       0xffffffff 0xffe0399f 0x00000000  /* pioA */
+				       0x00040000 0x00047e3f 0x00000000  /* pioB */
+				       0xfdffffff 0x00000000 0xb83fffff  /* pioC */
+				       0x003fffff 0x003f8000 0x00000000  /* pioD */
+				      >;
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9g15ek.dts new file +26 -0
new file mode 100644
index 0000000000..9fae92554f
@@ -0,0 +1,26 @@
+/*
+ * at91sam9g15ek.dts - Device Tree file for AT91SAM9G15-EK board
+ *
+ *  Copyright (C) 2012 Atmel,
+ *                2012 Nicolas Ferre <[email protected]>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "at91sam9g15.dtsi"
+#include "at91sam9x5dm.dtsi"
+#include "at91sam9x5ek.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9G15-EK";
+	compatible = "atmel,at91sam9g15ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	ahb {
+		apb {
+			hlcdc: hlcdc at f8038000 {
+				u-boot,dm-pre-reloc;
+				status = "okay";
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9g25.dtsi new file +31 -0
new file mode 100644
index 0000000000..a7da0dd0c9
@@ -0,0 +1,31 @@
+/*
+ * at91sam9g25.dtsi - Device Tree Include file for AT91SAM9G25 SoC
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * Licensed under GPLv2.
+ */
+
+#include "at91sam9x5.dtsi"
+#include "at91sam9x5_isi.dtsi"
+#include "at91sam9x5_usart3.dtsi"
+#include "at91sam9x5_macb0.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9G25 SoC";
+	compatible = "atmel,at91sam9g25", "atmel,at91sam9x5";
+
+	ahb {
+		apb {
+			pinctrl at fffff400 {
+				atmel,mux-mask = <
+				      /*    A         B          C     */
+				       0xffffffff 0xffe0399f 0xc000001c  /* pioA */
+				       0x0007ffff 0x8000fe3f 0x00000000  /* pioB */
+				       0x80000000 0x07c0ffff 0xb83fffff  /* pioC */
+				       0x003fffff 0x003f8000 0x00000000  /* pioD */
+				      >;
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9g25ek.dts new file +69 -0

69 lines not on this page · raw message

arch/arm/dts/at91sam9g35.dtsi new file +30 -0
new file mode 100644
index 0000000000..ff4115886f
@@ -0,0 +1,30 @@
+/*
+ * at91sam9g35.dtsi - Device Tree Include file for AT91SAM9G35 SoC
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * 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 at fffff400 {
+				atmel,mux-mask = <
+				      /*    A         B          C     */
+				       0xffffffff 0xffe0399f 0xc000000c  /* pioA */
+				       0x000406ff 0x00047e3f 0x00000000  /* pioB */
+				       0xfdffffff 0x00000000 0xb83fffff  /* pioC */
+				       0x003fffff 0x003f8000 0x00000000  /* pioD */
+				      >;
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9g35ek.dts new file +31 -0
new file mode 100644
index 0000000000..0cc084eccd
@@ -0,0 +1,31 @@
+/*
+ * at91sam9g35ek.dts - Device Tree file for AT91SAM9G35-EK board
+ *
+ *  Copyright (C) 2012 Atmel,
+ *                2012 Nicolas Ferre <[email protected]>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "at91sam9g35.dtsi"
+#include "at91sam9x5dm.dtsi"
+#include "at91sam9x5ek.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9G35-EK";
+	compatible = "atmel,at91sam9g35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	ahb {
+		apb {
+			macb0: ethernet at f802c000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			hlcdc: hlcdc at f8038000 {
+				u-boot,dm-pre-reloc;
+				status = "okay";
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9x25.dtsi new file +32 -0
new file mode 100644
index 0000000000..3c5fa33889
@@ -0,0 +1,32 @@
+/*
+ * at91sam9x25.dtsi - Device Tree Include file for AT91SAM9X25 SoC
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * Licensed under GPLv2.
+ */
+
+#include "at91sam9x5.dtsi"
+#include "at91sam9x5_usart3.dtsi"
+#include "at91sam9x5_macb0.dtsi"
+#include "at91sam9x5_macb1.dtsi"
+#include "at91sam9x5_can.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9X25 SoC";
+	compatible = "atmel,at91sam9x25", "atmel,at91sam9x5";
+
+	ahb {
+		apb {
+			pinctrl at fffff400 {
+				atmel,mux-mask = <
+				      /*    A         B          C     */
+				       0xffffffff 0xffe03fff 0xc000001c  /* pioA */
+				       0x0007ffff 0x00047e3f 0x00000000  /* pioB */
+				       0x80000000 0xfffd0000 0xb83fffff  /* pioC */
+				       0x003fffff 0x003f8000 0x00000000  /* pioD */
+				      >;
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9x25ek.dts new file +30 -0
new file mode 100644
index 0000000000..494864836e
@@ -0,0 +1,30 @@
+/*
+ * at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board
+ *
+ *  Copyright (C) 2012 Atmel,
+ *                2012 Nicolas Ferre <[email protected]>
+ *
+ * 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 at f802c000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			macb1: ethernet at f8030000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9x35.dtsi new file +31 -0
new file mode 100644
index 0000000000..d9054e8167
@@ -0,0 +1,31 @@
+/*
+ * at91sam9x35.dtsi - Device Tree Include file for AT91SAM9X35 SoC
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * Licensed under GPLv2.
+ */
+
+#include "at91sam9x5.dtsi"
+#include "at91sam9x5_lcd.dtsi"
+#include "at91sam9x5_macb0.dtsi"
+#include "at91sam9x5_can.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9X35 SoC";
+	compatible = "atmel,at91sam9x35", "atmel,at91sam9x5";
+
+	ahb {
+		apb {
+			pinctrl at fffff400 {
+				atmel,mux-mask = <
+				      /*    A         B          C     */
+				       0xffffffff 0xffe03fff 0xc000000c  /* pioA */
+				       0x000406ff 0x00047e3f 0x00000000  /* pioB */
+				       0xfdffffff 0x00000000 0xb83fffff  /* pioC */
+				       0x003fffff 0x003f8000 0x00000000  /* pioD */
+				      >;
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9x35ek.dts new file +30 -0
new file mode 100644
index 0000000000..3ca70c0b74
@@ -0,0 +1,30 @@
+/*
+ * at91sam9x35ek.dts - Device Tree file for AT91SAM9X35-EK board
+ *
+ *  Copyright (C) 2012 Atmel,
+ *                2012 Nicolas Ferre <[email protected]>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "at91sam9x35.dtsi"
+#include "at91sam9x5dm.dtsi"
+#include "at91sam9x5ek.dtsi"
+
+/ {
+	model = "Atmel AT91SAM9X35-EK";
+	compatible = "atmel,at91sam9x35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	ahb {
+		apb {
+			macb0: ethernet at f802c000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+			hlcdc: hlcdc at f8038000 {
+				u-boot,dm-pre-reloc;
+				status = "okay";
+			};
+		};
+	};
+};
arch/arm/dts/at91sam9x5.dtsi new file +1302 -0

1,302 lines not on this page · raw message

arch/arm/dts/at91sam9x5_can.dtsi new file +71 -0

71 lines not on this page · raw message

arch/arm/dts/at91sam9x5_isi.dtsi new file +72 -0

72 lines not on this page · raw message

arch/arm/dts/at91sam9x5_lcd.dtsi new file +146 -0

146 lines not on this page · raw message

arch/arm/dts/at91sam9x5_macb0.dtsi new file +67 -0

67 lines not on this page · raw message

arch/arm/dts/at91sam9x5_macb1.dtsi new file +55 -0

55 lines not on this page · raw message

arch/arm/dts/at91sam9x5_usart3.dtsi new file +69 -0

69 lines not on this page · raw message

arch/arm/dts/at91sam9x5cm.dtsi new file +100 -0

100 lines not on this page · raw message

arch/arm/dts/at91sam9x5dm.dtsi new file +66 -0

66 lines not on this page · raw message

arch/arm/dts/at91sam9x5ek.dtsi new file +167 -0

167 lines not on this page · raw message

Signature · 1 line
2.11.0
#2 lore raw

PATCH v2 1/6 ARM: dts: at91: Add dts files for at91sam9x5ek

Quoted 50 lines · Wenyou Yang

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.

---

Changes in v2: None

 arch/arm/dts/Makefile               |    7 +
 arch/arm/dts/at91sam9g15.dtsi       |   29 +
 arch/arm/dts/at91sam9g15ek.dts      |   26 +
 arch/arm/dts/at91sam9g25.dtsi       |   31 +
 arch/arm/dts/at91sam9g25ek.dts      |   69 ++
 arch/arm/dts/at91sam9g35.dtsi       |   30 +
 arch/arm/dts/at91sam9g35ek.dts      |   31 +
 arch/arm/dts/at91sam9x25.dtsi       |   32 +
 arch/arm/dts/at91sam9x25ek.dts      |   30 +
 arch/arm/dts/at91sam9x35.dtsi       |   31 +
 arch/arm/dts/at91sam9x35ek.dts      |   30 +
 arch/arm/dts/at91sam9x5.dtsi        | 1302 +++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9x5_can.dtsi    |   71 ++
 arch/arm/dts/at91sam9x5_isi.dtsi    |   72 ++
 arch/arm/dts/at91sam9x5_lcd.dtsi    |  146 ++++
 arch/arm/dts/at91sam9x5_macb0.dtsi  |   67 ++
 arch/arm/dts/at91sam9x5_macb1.dtsi  |   55 ++
 arch/arm/dts/at91sam9x5_usart3.dtsi |   69 ++
 arch/arm/dts/at91sam9x5cm.dtsi      |  100 +++
 arch/arm/dts/at91sam9x5dm.dtsi      |   66 ++
 arch/arm/dts/at91sam9x5ek.dtsi      |  167 +++++
 21 files changed, 2461 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9g15.dtsi
 create mode 100644 arch/arm/dts/at91sam9g15ek.dts
 create mode 100644 arch/arm/dts/at91sam9g25.dtsi
 create mode 100644 arch/arm/dts/at91sam9g25ek.dts
 create mode 100644 arch/arm/dts/at91sam9g35.dtsi
 create mode 100644 arch/arm/dts/at91sam9g35ek.dts
 create mode 100644 arch/arm/dts/at91sam9x25.dtsi
 create mode 100644 arch/arm/dts/at91sam9x25ek.dts
 create mode 100644 arch/arm/dts/at91sam9x35.dtsi
 create mode 100644 arch/arm/dts/at91sam9x35ek.dts
 create mode 100644 arch/arm/dts/at91sam9x5.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_can.dtsi
Quoted 9 lines
 create mode 100644 arch/arm/dts/at91sam9x5_isi.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_lcd.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb0.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_macb1.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5_usart3.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5cm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5dm.dtsi
 create mode 100644 arch/arm/dts/at91sam9x5ek.dtsi
#3 lore raw

PATCH v2 2/6 ARM: dts: at91: Add dts files for at91sam9n12ek

In reply to Wenyou Yang

The device tree source files of at91sam9n12ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Change the compatible of the spi flash to "spi-flash".
- Add the spi0 aliases.
- Fix the pinctrl-names of mmc0 node.
- Add the "u-boot,dm-pre-reloc" property to determine which nodes are used by the board_init_f stage.
- Fix the compilation warnings.

---

Changes in v2: None

 arch/arm/dts/Makefile          |    2 +
 arch/arm/dts/at91sam9n12.dtsi  | 1064 ++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9n12ek.dts |  265 ++++++++++
 3 files changed, 1331 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9n12.dtsi
 create mode 100644 arch/arm/dts/at91sam9n12ek.dts
arch/arm/dts/Makefile +2 -0
index 9b7d57b38d..1c930298e9 100644
@@ -351,6 +351,8 @@ dtb-$(CONFIG_TARGET_AT91SAM9X5EK) += \
 	at91sam9x25ek.dtb	\
 	at91sam9x35ek.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9N12EK) += at91sam9n12ek.dtb
+
 dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \
 	at91-sama5d2_xplained.dtb
 
arch/arm/dts/at91sam9n12.dtsi new file +1064 -0

1,064 lines not on this page · raw message

arch/arm/dts/at91sam9n12ek.dts new file +265 -0

265 lines not on this page · raw message

Signature · 1 line
2.11.0
#4 lore raw

PATCH v2 2/6 ARM: dts: at91: Add dts files for at91sam9n12ek

Quoted 15 lines · Wenyou Yang

The device tree source files of at91sam9n12ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Change the compatible of the spi flash to "spi-flash".
- Add the spi0 aliases.
- Fix the pinctrl-names of mmc0 node.
- Add the "u-boot,dm-pre-reloc" property to determine which nodes are used by the board_init_f stage.
- Fix the compilation warnings.

---

Quoted 8 lines

Changes in v2: None

 arch/arm/dts/Makefile          |    2 +
 arch/arm/dts/at91sam9n12.dtsi  | 1064 ++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9n12ek.dts |  265 ++++++++++
 3 files changed, 1331 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9n12.dtsi
 create mode 100644 arch/arm/dts/at91sam9n12ek.dts
#5 lore raw

PATCH v2 3/6 ARM: dts: at91: Add dts files for at91sam9m10g45ek

In reply to Wenyou Yang

The device tree source files of at91sam9m10g45ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD, pioE) 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.
- Fix the compilation warnings.

---

Changes in v2: None

 arch/arm/dts/Makefile             |   2 +
 arch/arm/dts/at91sam9g45.dtsi     | 218 ++++++++++++-----------
 arch/arm/dts/at91sam9m10g45ek.dts | 359 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 474 insertions(+), 105 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9m10g45ek.dts
arch/arm/dts/Makefile +2 -0
index 1c930298e9..6ce92d20a4 100644
@@ -344,6 +344,8 @@ dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9M10G45EK) += at91sam9m10g45ek.dtb
+
 dtb-$(CONFIG_TARGET_AT91SAM9X5EK) += \
 	at91sam9g15ek.dtb	\
 	at91sam9g25ek.dtb	\
arch/arm/dts/at91sam9g45.dtsi +113 -105

496 lines not on this page · raw message

arch/arm/dts/at91sam9m10g45ek.dts new file +359 -0

359 lines not on this page · raw message

Signature · 1 line
2.11.0
#6 lore raw

PATCH v2 3/6 ARM: dts: at91: Add dts files for at91sam9m10g45ek

Quoted 12 lines · Wenyou Yang

The device tree source files of at91sam9m10g45ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD, pioE) 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.
- Fix the compilation warnings.

---

Quoted 7 lines

Changes in v2: None

 arch/arm/dts/Makefile             |   2 +
 arch/arm/dts/at91sam9g45.dtsi     | 218 ++++++++++++-----------
 arch/arm/dts/at91sam9m10g45ek.dts | 359 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 474 insertions(+), 105 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9m10g45ek.dts
#7 lore raw

PATCH v2 4/6 ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek

In reply to Wenyou Yang

The device tree source files of at91sam9g20ek and at91sam9260ek boards are copied from the Linux v4.10, do the changes below.
- Fix the build error for the usb0 node.
- 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 for the dbgu node are used in board_init_f stage.
- Add the clk pinctrl of the mmc0 node.
- Fix the compilation warnings.

---

Changes in v2: None

 arch/arm/dts/Makefile                  |   5 +
 arch/arm/dts/at91sam9260.dtsi          | 149 ++++++++++++----------
 arch/arm/dts/at91sam9260ek.dts         | 215 +++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9g20.dtsi          |   4 +-
 arch/arm/dts/at91sam9g20ek.dts         |  29 +++++
 arch/arm/dts/at91sam9g20ek_2mmc.dts    |  56 ++++++++
 arch/arm/dts/at91sam9g20ek_common.dtsi | 227 +++++++++++++++++++++++++++++++++
 7 files changed, 617 insertions(+), 68 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9260ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_2mmc.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_common.dtsi
arch/arm/dts/Makefile +5 -0
index 6ce92d20a4..1501a658fd 100644
@@ -344,6 +344,11 @@ dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9260EK) += \
+	at91sam9260ek.dtb	\
+	at91sam9g20ek.dtb	\
+	at91sam9g20ek_2mmc.dtb
+
 dtb-$(CONFIG_TARGET_AT91SAM9M10G45EK) += at91sam9m10g45ek.dtb
 
 dtb-$(CONFIG_TARGET_AT91SAM9X5EK) += \
arch/arm/dts/at91sam9260.dtsi +83 -66

346 lines not on this page · raw message

arch/arm/dts/at91sam9260ek.dts new file +215 -0

215 lines not on this page · raw message

arch/arm/dts/at91sam9g20.dtsi +2 -2
index f593016181..e88d73ca8b 100644
@@ -40,7 +40,7 @@
 			};
 
 			pmc: pmc at fffffc00 {
-				plla: pllack {
+				plla: pllack at 0 {
 					atmel,clk-input-range = <2000000 32000000>;
 					atmel,pll-clk-output-ranges = <745000000 800000000 0 0>,
 								<695000000 750000000 1 0>,
@@ -52,7 +52,7 @@
 								<400000000 450000000 3 1>;
 				};
 
-				pllb: pllbck {
+				pllb: pllbck at 1 {
 					compatible = "atmel,at91sam9g20-clk-pllb";
 					atmel,clk-input-range = <2000000 32000000>;
 					atmel,pll-clk-output-ranges = <30000000 100000000 0 0>;
arch/arm/dts/at91sam9g20ek.dts new file +29 -0
new file mode 100644
index 0000000000..bbfd753112
@@ -0,0 +1,29 @@
+/*
+ * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
+ *
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
+ *
+ * Licensed under GPLv2.
+ */
+/dts-v1/;
+#include "at91sam9g20ek_common.dtsi"
+
+/ {
+	model = "Atmel at91sam9g20ek";
+	compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
+
+	leds {
+		compatible = "gpio-leds";
+
+		ds1 {
+			label = "ds1";
+			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		ds5 {
+			label = "ds5";
+			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
+		};
+	};
+};
arch/arm/dts/at91sam9g20ek_2mmc.dts new file +56 -0

56 lines not on this page · raw message

arch/arm/dts/at91sam9g20ek_common.dtsi new file +227 -0

227 lines not on this page · raw message

Signature · 1 line
2.11.0
#8 lore raw

PATCH v2 4/6 ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek

Quoted 28 lines · Wenyou Yang

The device tree source files of at91sam9g20ek and at91sam9260ek boards are copied from the Linux v4.10, do the changes below.
- Fix the build error for the usb0 node.
- 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 for the dbgu node are used in board_init_f stage.
- Add the clk pinctrl of the mmc0 node.
- Fix the compilation warnings.

---

Changes in v2: None

 arch/arm/dts/Makefile                  |   5 +
 arch/arm/dts/at91sam9260.dtsi          | 149 ++++++++++++----------
 arch/arm/dts/at91sam9260ek.dts         | 215 +++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9g20.dtsi          |   4 +-
 arch/arm/dts/at91sam9g20ek.dts         |  29 +++++
 arch/arm/dts/at91sam9g20ek_2mmc.dts    |  56 ++++++++
 arch/arm/dts/at91sam9g20ek_common.dtsi | 227 +++++++++++++++++++++++++++++++++
 7 files changed, 617 insertions(+), 68 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9260ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_2mmc.dts
 create mode 100644 arch/arm/dts/at91sam9g20ek_common.dtsi
#9 lore raw

PATCH v2 5/6 ARM: dts: at91: Add dts files for at91sam9rlek

In reply to Wenyou Yang

The device tree source files of at91sam9rlek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Add the "u-boot,dm-pre-reloc" property for the dbgu node are used in board_init_f stage.
- Fix the compilation warnings.

---

Changes in v2: None

 arch/arm/dts/Makefile         |    2 +
 arch/arm/dts/at91sam9rl.dtsi  | 1139 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9rlek.dts |  239 +++++++++
 3 files changed, 1380 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9rl.dtsi
 create mode 100644 arch/arm/dts/at91sam9rlek.dts
arch/arm/dts/Makefile +2 -0
index 1501a658fd..d2562ab2e0 100644
@@ -344,6 +344,8 @@ dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9RLEK) += at91sam9rlek.dtb
+
 dtb-$(CONFIG_TARGET_AT91SAM9260EK) += \
 	at91sam9260ek.dtb	\
 	at91sam9g20ek.dtb	\
arch/arm/dts/at91sam9rl.dtsi new file +1139 -0

1,139 lines not on this page · raw message

arch/arm/dts/at91sam9rlek.dts new file +239 -0

239 lines not on this page · raw message

Signature · 1 line
2.11.0
#10 lore raw

PATCH v2 5/6 ARM: dts: at91: Add dts files for at91sam9rlek

Quoted 12 lines · Wenyou Yang

The device tree source files of at91sam9rlek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Add the "u-boot,dm-pre-reloc" property for the dbgu node are used in board_init_f stage.
- Fix the compilation warnings.

---

Quoted 8 lines

Changes in v2: None

 arch/arm/dts/Makefile         |    2 +
 arch/arm/dts/at91sam9rl.dtsi  | 1139 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/at91sam9rlek.dts |  239 +++++++++
 3 files changed, 1380 insertions(+)
 create mode 100644 arch/arm/dts/at91sam9rl.dtsi
 create mode 100644 arch/arm/dts/at91sam9rlek.dts
#11 lore raw

PATCH v2 6/6 ARM: dts: at91: Add dts files for at91sam9263ek

In reply to Wenyou Yang

The device tree source files of at91sam9263ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Add the "u-boot,dm-pre-reloc" property for the dbgu node are used in board_init_f stage.
- Fix the compilation warnings.

---

Changes in v2:
- Rebase on the master branch (22e10be45) of u-boot-dm git tree.

 arch/arm/dts/Makefile          |   2 +
 arch/arm/dts/at91sam9263.dtsi  | 198 +++++++++++++++++++----------------
 arch/arm/dts/at91sam9263ek.dts | 229 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 340 insertions(+), 89 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9263ek.dts
arch/arm/dts/Makefile +2 -0
index d2562ab2e0..80b3241913 100644
@@ -344,6 +344,8 @@ dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb
 
+dtb-$(CONFIG_TARGET_AT91SAM9263EK) += at91sam9263ek.dtb
+
 dtb-$(CONFIG_TARGET_AT91SAM9RLEK) += at91sam9rlek.dtb
 
 dtb-$(CONFIG_TARGET_AT91SAM9260EK) += \
arch/arm/dts/at91sam9263.dtsi +109 -89

413 lines not on this page · raw message

arch/arm/dts/at91sam9263ek.dts new file +229 -0

229 lines not on this page · raw message

Signature · 1 line
2.11.0
#12 lore raw

PATCH v2 6/6 ARM: dts: at91: Add dts files for at91sam9263ek

Quoted 12 lines · Wenyou Yang

The device tree source files of at91sam9263ek boards are copied from the Linux v4.10, do the changes as below.
- Add the reg property for the pinctrl node.
- Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes.
- Add the "u-boot,dm-pre-reloc" property for the dbgu node are used in board_init_f stage.
- Fix the compilation warnings.

---

Quoted 8 lines

Changes in v2:
- Rebase on the master branch (22e10be45) of u-boot-dm git tree.

 arch/arm/dts/Makefile          |   2 +
 arch/arm/dts/at91sam9263.dtsi  | 198 +++++++++++++++++++----------------
 arch/arm/dts/at91sam9263ek.dts | 229 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 340 insertions(+), 89 deletions(-)
 create mode 100644 arch/arm/dts/at91sam9263ek.dts