1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
From afabd6580111c3dddc07420a0603b9472b1b0f49 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 12 Feb 2015 14:35:54 +0100
Subject: [PATCH 1/3] Add onlinelabs-c1 device-tree
---
arch/arm/boot/dts/onlinelabs-c1.dts | 87 +++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
create mode 100644 arch/arm/boot/dts/onlinelabs-c1.dts
diff --git a/arch/arm/boot/dts/onlinelabs-c1.dts b/arch/arm/boot/dts/onlinelabs-c1.dts
new file mode 100644
index 0000000..a63b897
--- /dev/null
+++ b/arch/arm/boot/dts/onlinelabs-c1.dts
@@ -0,0 +1,87 @@
+/*
+ * Device Tree file for Online-Labs C1 Computing
+ *
+ * Copyright (C) 2012-2014 Marvell
+ * Copyright (C) 2014-2015 Online Labs
+ *
+ * Lior Amsalem <alior@marvell.com>
+ * Gregory CLEMENT <gregory.clement@free-electrons.com>
+ * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+ * Manfred Touron <mtouron@ocs.online.net>
+ * Vincent Auclair <vauclair@online.net>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+/dts-v1/;
+#include "armada-xp-mv78460.dtsi"
+
+/ {
+ model = "Online Labs - C1 Computing";
+ compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
+
+ chosen {
+ bootargs = "console=ttyS0,9600 earlyprintk";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0 0x00000000 0 0x80000000>; /* 2 GB */
+ };
+
+ soc {
+ ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
+ MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
+ MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>;
+
+ devbus-bootcs {
+ status = "okay";
+
+ /* Device Bus parameters are required */
+
+ /* Read parameters */
+ devbus,bus-width = <16>;
+ devbus,turn-off-ps = <60000>;
+ devbus,badr-skew-ps = <0>;
+ devbus,acc-first-ps = <124000>;
+ devbus,acc-next-ps = <248000>;
+ devbus,rd-setup-ps = <0>;
+ devbus,rd-hold-ps = <0>;
+
+ /* Write parameters */
+ devbus,sync-enable = <0>;
+ devbus,wr-high-ps = <60000>;
+ devbus,wr-low-ps = <60000>;
+ devbus,ale-wr-ps = <60000>;
+
+ };
+
+ internal-regs {
+ uart0: serial@12000 {
+ status = "okay";
+ };
+
+ eth0: ethernet@70000 {
+ status = "okay";
+ fixed-link = <1 1 1000 0 0>;
+ phy-mode = "sgmii";
+ };
+
+ mvsdio@d4000 {
+ pinctrl-0 = <&sdio_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+ /* No CD or WP GPIOs */
+ broken-cd;
+ };
+
+ };
+ };
+ aliases {
+ ethernet0 = ð0;
+ serial0 = &uart0;
+ };
+};
+
--
1.9.3
|