summaryrefslogtreecommitdiff
path: root/arch/m68k/dts/mcf5329.dtsi
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@sysam.it>2019-03-13 21:46:41 +0100
committerTom Rini <trini@konsulko.com>2019-05-23 23:14:38 -0400
commitb5867b1a7a4c45c6a5a6a97f866dd180631ebf2b (patch)
tree4949699a268aad5c2b143bf296d47084c0354e08 /arch/m68k/dts/mcf5329.dtsi
parent40920bdecc4e1b7096de6f546d7b5c2185554ba6 (diff)
m68k: add basic set of devicetrees
This patch adds a basic group of devicetrees, one for each cpu family, including actually just uart and dspi devices, since these are the drivers supporting devicetree (support added in this patch-set). Acked-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Angelo Dureghello <angelo@sysam.it> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/m68k/dts/mcf5329.dtsi')
-rw-r--r--arch/m68k/dts/mcf5329.dtsi36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/m68k/dts/mcf5329.dtsi b/arch/m68k/dts/mcf5329.dtsi
new file mode 100644
index 0000000000..aeaa6430af
--- /dev/null
+++ b/arch/m68k/dts/mcf5329.dtsi
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Angelo Dureghello <angelo@sysam.it>
+ */
+
+/ {
+ compatible = "fsl,mcf5329";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ soc {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ uart0: uart@fc060000 {
+ compatible = "fsl,mcf-uart";
+ reg = <0xfc060000 0x40>;
+ status = "disabled";
+ };
+
+ uart1: uart@fc064000 {
+ compatible = "fsl,mcf-uart";
+ reg = <0xfc064000 0x40>;
+ status = "disabled";
+ };
+
+ uart2: uart@fc068000 {
+ compatible = "fsl,mcf-uart";
+ reg = <0xfc068000 0x40>;
+ status = "disabled";
+ };
+ };
+};