summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sama5d3_tcb1.dtsi
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-03-24 01:18:41 (GMT)
committerSimon Glass <sjg@chromium.org>2017-04-13 20:44:50 (GMT)
commit110fa9797d3b9f7e71aa0ba55905d6ade9a68c00 (patch)
treeafa466d054ba010657006a666678ee0cd1f483e0 /arch/arm/dts/sama5d3_tcb1.dtsi
parentf2f3c1576a5d4b15788843ab3353e6307fe380ba (diff)
downloadu-boot-110fa9797d3b9f7e71aa0ba55905d6ade9a68c00.tar.xz
ARM: at91: dt: add dts files for sama5d3xek board
Add the device tree files for sama5d3xek board. The dts files are copied from Linux-4.9, do the changes as below. - add reg property for the pinctrl node. - move the gpio nodes (pioA, pioB, pioC ...) as the pinctrl's slibling nodes. - add the "u-boot,dm-pre-reloc" property to determine which nodes which are needed by SPL and by the board_init_f stage. - fix the compile warning. - add spi0 node aliases. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Diffstat (limited to 'arch/arm/dts/sama5d3_tcb1.dtsi')
-rw-r--r--arch/arm/dts/sama5d3_tcb1.dtsi39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/dts/sama5d3_tcb1.dtsi b/arch/arm/dts/sama5d3_tcb1.dtsi
new file mode 100644
index 0000000..5be60b4
--- /dev/null
+++ b/arch/arm/dts/sama5d3_tcb1.dtsi
@@ -0,0 +1,39 @@
+/*
+ * sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with
+ * 2 TC blocks.
+ *
+ * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
+ *
+ * Licensed under GPLv2.
+ */
+
+#include <dt-bindings/pinctrl/at91.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/at91.h>
+
+/ {
+ aliases {
+ tcb1 = &tcb1;
+ };
+
+ ahb {
+ apb {
+ pmc: pmc@fffffc00 {
+ periphck {
+ tcb1_clk: tcb1_clk@27 {
+ #clock-cells = <0>;
+ reg = <27>;
+ };
+ };
+ };
+
+ tcb1: timer@f8014000 {
+ compatible = "atmel,at91sam9x5-tcb";
+ reg = <0xf8014000 0x100>;
+ interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&tcb1_clk>, <&clk32k>;
+ clock-names = "t0_clk", "slow_clk";
+ };
+ };
+ };
+};