Thread (21 messages) flat view 21 messages, 5 authors, 2013-12-09
STALE4632d

[PATCH 4/4] ARM: mxs: Add SchulerControl SPS1 DTS file

From: Marek Vasut <hidden>
Date: 2012-08-25 12:35:52

Dear Shawn Guo,
Please base it on my mxs/dt-for-3.7 branch.

On Sat, Aug 25, 2012 at 01:51:40AM +0200, Marek Vasut wrote:
quoted
Add DTS file for this custom board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <redacted>
Cc: Shawn Guo <redacted>
---

 arch/arm/boot/dts/imx28-sps1.dts |  168
 ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-mxs/mach-mxs.c    
 |    3 +
 2 files changed, 171 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx28-sps1.dts
diff --git a/arch/arm/boot/dts/imx28-sps1.dts
b/arch/arm/boot/dts/imx28-sps1.dts new file mode 100644
index 0000000..d05b1cb
--- /dev/null
+++ b/arch/arm/boot/dts/imx28-sps1.dts
@@ -0,0 +1,168 @@
+/*
+ * Copyright (C) 2012 Marek Vasut <marex@denx.de>
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/dts-v1/;
+/include/ "imx28.dtsi"
+
+/ {
+	model = "SchulerControl GmbH, SC SPS 1";
+	compatible = "schulercontrol,imx28-sps1", "fsl,imx28";
We should use the short name as prefix if it has one.
quoted
+
+	memory {
+		reg = <0x40000000 0x08000000>;
+	};
+
+	apb at 80000000 {
+		apbh at 80000000 {
+			pinctrl at 80018000 {
+				led_pins_sps1: leds at 0 {
It should be referenced by the pinctrl state directly under node
pinctrl at 80018000, otherwise the pins will not be set up.

Also we usually use a generic name here something like

				hog_pins_a: hog at 0 {

so that we do not need to create new node every time we add pins
for a new module.
So I'll ignore this comment and add pinctrl call into leds-gpio ... can we agree 
on that ?

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help