Skip to contentSkip to conversation

ARM: dts: overo: Add new expansion boards

PATCH New Florian Vaussard 2 participants 10 messages Mar 11, 2014 – Mar 13, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: overo: Add new expansion boards

Hi,

This series adds the support for 5 new expansion boards from Gumstix:
- Palo43
- Gallop43
- Chestnut43
- Alto35
- Summit

The 1st patch is a preparatory work, in order to factorize some peripherals that are common to most Gumstix expansion boards. Patch 2 adds the support for an accelerometer that is present on most boards.

Palo43, Gallop43 and Chestnut43 are all pretty similar. I tested on a Gallop43 (with both OMAP35xx and OMAP36xx Overo).

Alto35 is slightly different. Again, I tested with both OMAP35xx and OMAP36xx Overo.

Summit is pretty similar to Tobi. I do not have a Summit at hand, but given the similarity with Tobi, it should work fine.

To avoid unnecessary duplications, I put all the common stuff for each board inside an omap3-overo-xxx-common.dsti include file. By doing so, I can have minimal SoC-specific omap3-overo-xxx.dts (omap34xx based) and omap3-overo-storm-xxx.dts (omap36xx based) device trees.

This series depends on my previous Overo series [1]. A complete testing tree (including the graphics support, soon to be posted) is available at [2].

Regards,
Florian

[1] http://thread.gmane.org/gmane.linux.ports.arm.omap/111558
[2] https://github.com/vaussard/linux.git (overo/for-3.15/review1)

Florian Vaussard (7):
ARM: dts: overo: Create a file for common Gumstix peripherals
ARM: dts: overo: Add LIS33DE accelerometer
ARM: dts: Add support for the Overo Palo43
ARM: dts: Add support for the Overo Gallop43
ARM: dts: Add support for the Overo Alto35
ARM: dts: Add support for the Overo Chestnut43
ARM: dts: Add support for the Overo Summit

 arch/arm/boot/dts/Makefile                         | 10 +++
 arch/arm/boot/dts/omap3-overo-alto35-common.dtsi   | 77 ++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-alto35.dts           | 22 +++++
 .../boot/dts/omap3-overo-chestnut43-common.dtsi    | 69 ++++++++++++++++
 arch/arm/boot/dts/omap3-overo-chestnut43.dts       | 38 +++++++++
 .../boot/dts/omap3-overo-common-peripherals.dtsi   | 94 ++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi | 57 +++++++++++++
 arch/arm/boot/dts/omap3-overo-gallop43.dts         | 38 +++++++++
 arch/arm/boot/dts/omap3-overo-palo43-common.dtsi   | 53 ++++++++++++
 arch/arm/boot/dts/omap3-overo-palo43.dts           | 38 +++++++++
 arch/arm/boot/dts/omap3-overo-storm-alto35.dts     | 21 +++++
 arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts | 38 +++++++++
 arch/arm/boot/dts/omap3-overo-storm-gallop43.dts   | 38 +++++++++
 arch/arm/boot/dts/omap3-overo-storm-palo43.dts     | 38 +++++++++
 arch/arm/boot/dts/omap3-overo-storm-summit.dts     | 30 +++++++
 arch/arm/boot/dts/omap3-overo-summit-common.dtsi   | 31 +++++++
 arch/arm/boot/dts/omap3-overo-summit.dts           | 30 +++++++
 arch/arm/boot/dts/omap3-overo-tobi-common.dtsi     | 38 +--------
 18 files changed, 725 insertions(+), 35 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-alto35.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-palo43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-summit.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/7 ARM: dts: overo: Create a file for common Gumstix peripherals

Gumstix expansion boards share a couple of peripherals:
- uart3 is used for the console
- AT24C01 EEPROM on i2c3

Use this file for overo-tobi.

---
 .../boot/dts/omap3-overo-common-peripherals.dtsi   | 50 ++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-tobi-common.dtsi     | 40 +----------------
 2 files changed, 52 insertions(+), 38 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi new file +50 -0
new file mode 100644
index 0000000..bca81ae
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
+ */
+
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+
+	uart3_pins: pinmux_uart3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
+		>;
+	};
+};
+
+&i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
+	clock-frequency = <100000>;
+
+	/* optional 1K EEPROM with revision information */
+	eeprom at 51 {
+		compatible = "atmel,24c01";
+		reg = <0x51>;
+		pagesize = <8>;
+	};
+};
+
+&mmc3 {
+	status = "disabled";
+};
+
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart3_pins>;
+};
+
arch/arm/boot/dts/omap3-overo-tobi-common.dtsi +2 -38
index 384e87d..060eb77 100644
@@ -10,6 +10,8 @@
  * Tobi expansion board is manufactured by Gumstix Inc.
  */
 
+#include "omap3-overo-common-peripherals.dtsi"
+
 / {
 	leds {
 		compatible = "gpio-leds";
@@ -21,22 +23,6 @@
 	};
 };
 
-&omap3_pmx_core {
-	i2c3_pins: pinmux_i2c3_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
-			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
-		>;
-	};
-
-	uart3_pins: pinmux_uart3_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
-			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
-		>;
-	};
-};
-
 #include "omap-gpmc-smsc9221.dtsi"
 
 &gpmc {
@@ -49,25 +35,3 @@
 	};
 };
 
-&i2c3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&i2c3_pins>;
-	clock-frequency = <100000>;
-
-	/* optional 1K EEPROM with revision information */
-	eeprom at 51 {
-		compatible = "atmel,24c01";
-		reg = <0x51>;
-		pagesize = <8>;
-	};
-};
-
-&mmc3 {
-	status = "disabled";
-};
-
-&uart3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&uart3_pins>;
-};
-
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 2/7 ARM: dts: overo: Add LIS33DE accelerometer

In reply to Florian Vaussard

The LIS33DE accelerometer is used on several Gumstix expansion boards, thus add the DT node to omap3-overo-common-peripherals.dtsi.

For the boards that do not have the accelerometer (like Tobi), mark the status as disabled.

---
 .../boot/dts/omap3-overo-common-peripherals.dtsi   | 44 ++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-tobi-common.dtsi     |  4 ++
 2 files changed, 48 insertions(+)
arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi +44 -0
index bca81ae..5831bcc 100644
@@ -10,6 +10,22 @@
  * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
  */
 
+/ {
+	lis33_3v3: lis33-3v3-reg {
+		compatible = "regulator-fixed";
+		regulator-name = "lis33-3v3-reg";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
+	lis33_1v8: lis33-1v8-reg {
+		compatible = "regulator-fixed";
+		regulator-name = "lis33-1v8-reg";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+	};
+};
+
 &omap3_pmx_core {
 	i2c3_pins: pinmux_i2c3_pins {
 		pinctrl-single,pins = <
@@ -37,6 +53,34 @@
 		reg = <0x51>;
 		pagesize = <8>;
 	};
+
+	lis33de: lis33de at 1d {
+		compatible = "st,lis33de", "st,lis3lv02d";
+		reg = <0x1d>;
+		Vdd-supply = <&lis33_1v8>;
+		Vdd_IO-supply = <&lis33_3v3>;
+
+		st,click-single-x;
+		st,click-single-y;
+		st,click-single-z;
+		st,click-thresh-x = <10>;
+		st,click-thresh-y = <10>;
+		st,click-thresh-z = <10>;
+		st,irq1-click;
+		st,irq2-click;
+		st,wakeup-x-lo;
+		st,wakeup-x-hi;
+		st,wakeup-y-lo;
+		st,wakeup-y-hi;
+		st,wakeup-z-lo;
+		st,wakeup-z-hi;
+		st,min-limit-x = <120>;
+		st,min-limit-y = <120>;
+		st,min-limit-z = <140>;
+		st,max-limit-x = <550>;
+		st,max-limit-y = <550>;
+		st,max-limit-z = <750>;
+	};
 };
 
 &mmc3 {
arch/arm/boot/dts/omap3-overo-tobi-common.dtsi +4 -0
index 060eb77..13df50b 100644
@@ -35,3 +35,7 @@
 	};
 };
 
+&lis33de {
+	status = "disabled";
+};
+
Signature · 1 line
1.8.3.2
#3 lore raw

PATCH 3/7 ARM: dts: Add support for the Overo Palo43

In reply to Florian Vaussard

Palo43 is an expansion board for Gumstix Overo products.

---
 arch/arm/boot/dts/Makefile                       |  2 +
 arch/arm/boot/dts/omap3-overo-palo43-common.dtsi | 53 ++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-palo43.dts         | 38 +++++++++++++++++
 arch/arm/boot/dts/omap3-overo-storm-palo43.dts   | 38 +++++++++++++++++
 4 files changed, 131 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-palo43.dts
arch/arm/boot/dts/Makefile +2 -0
index 0320303..98d508d 100644
@@ -209,6 +209,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-palo43.dtb \
+	omap3-overo-storm-palo43.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-overo-storm-tobi.dtb \
 	omap3-gta04.dtb \
arch/arm/boot/dts/omap3-overo-palo43-common.dtsi new file +53 -0

53 lines not on this page · raw message

arch/arm/boot/dts/omap3-overo-palo43.dts new file +38 -0
new file mode 100644
index 0000000..cedb103
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Palo43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo.dtsi"
+#include "omap3-overo-palo43-common.dtsi"
+
+/ {
+	model = "OMAP35xx Gumstix Overo on Palo43";
+	compatible = "gumstix,omap3-overo-palo43", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
arch/arm/boot/dts/omap3-overo-storm-palo43.dts new file +38 -0
new file mode 100644
index 0000000..b585d8f
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Palo43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo-storm.dtsi"
+#include "omap3-overo-palo43-common.dtsi"
+
+/ {
+	model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Palo43";
+	compatible = "gumstix,omap3-overo-palo43", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
Signature · 1 line
1.8.3.2
#4 lore raw

PATCH 4/7 ARM: dts: Add support for the Overo Gallop43

In reply to Florian Vaussard

Gallop43 is an expansion board for Gumstix Overo products.

---
 arch/arm/boot/dts/Makefile                         |  2 +
 arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi | 57 ++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-gallop43.dts         | 38 +++++++++++++++
 arch/arm/boot/dts/omap3-overo-storm-gallop43.dts   | 38 +++++++++++++++
 4 files changed, 135 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
arch/arm/boot/dts/Makefile +2 -0
index 98d508d..bd7821b 100644
@@ -209,6 +209,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-gallop43.dtb \
+	omap3-overo-storm-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-storm-palo43.dtb \
 	omap3-overo-tobi.dtb \
arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi new file +57 -0

57 lines not on this page · raw message

arch/arm/boot/dts/omap3-overo-gallop43.dts new file +38 -0
new file mode 100644
index 0000000..241f5c1
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Gallop43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo.dtsi"
+#include "omap3-overo-gallop43-common.dtsi"
+
+/ {
+	model = "OMAP35xx Gumstix Overo on Gallop43";
+	compatible = "gumstix,omap3-overo-gallop43", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
arch/arm/boot/dts/omap3-overo-storm-gallop43.dts new file +38 -0
new file mode 100644
index 0000000..a1b57e0
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Gallop43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo-storm.dtsi"
+#include "omap3-overo-gallop43-common.dtsi"
+
+/ {
+	model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Gallop43";
+	compatible = "gumstix,omap3-overo-gallop43", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
Signature · 1 line
1.8.3.2
#5 lore raw

PATCH 5/7 ARM: dts: Add support for the Overo Alto35

In reply to Florian Vaussard

Alto35 is an expansion board for Gumstix Overo products.

---
 arch/arm/boot/dts/Makefile                       |  2 +
 arch/arm/boot/dts/omap3-overo-alto35-common.dtsi | 77 ++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-alto35.dts         | 22 +++++++
 arch/arm/boot/dts/omap3-overo-storm-alto35.dts   | 21 +++++++
 4 files changed, 122 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-alto35.dts
arch/arm/boot/dts/Makefile +2 -0
index bd7821b..de5cfcc 100644
@@ -209,6 +209,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-alto35.dtb \
+	omap3-overo-storm-alto35.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-storm-gallop43.dtb \
 	omap3-overo-palo43.dtb \
arch/arm/boot/dts/omap3-overo-alto35-common.dtsi new file +77 -0

77 lines not on this page · raw message

arch/arm/boot/dts/omap3-overo-alto35.dts new file +22 -0
new file mode 100644
index 0000000..a3249eb
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Alto35 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo.dtsi"
+#include "omap3-overo-alto35-common.dtsi"
+
+/ {
+	model = "OMAP35xx Gumstix Overo on Alto35";
+	compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
+};
+
arch/arm/boot/dts/omap3-overo-storm-alto35.dts new file +21 -0
new file mode 100644
index 0000000..e9cae52
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Alto35 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo-storm.dtsi"
+#include "omap3-overo-alto35-common.dtsi"
+
+/ {
+	model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Alto35";
+	compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
+};
Signature · 1 line
1.8.3.2
#6 lore raw

PATCH 6/7 ARM: dts: Add support for the Overo Chestnut43

In reply to Florian Vaussard

Chestnut43 is an expansion board for Gumstix Overo products.

---
 arch/arm/boot/dts/Makefile                         |  2 +
 .../boot/dts/omap3-overo-chestnut43-common.dtsi    | 69 ++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-chestnut43.dts       | 38 ++++++++++++
 arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts | 38 ++++++++++++
 4 files changed, 147 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
arch/arm/boot/dts/Makefile +2 -0
index de5cfcc..7742e69 100644
@@ -211,6 +211,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n950.dtb \
 	omap3-overo-alto35.dtb \
 	omap3-overo-storm-alto35.dtb \
+	omap3-overo-chestnut43.dtb \
+	omap3-overo-storm-chestnut43.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-storm-gallop43.dtb \
 	omap3-overo-palo43.dtb \
arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi new file +69 -0

69 lines not on this page · raw message

arch/arm/boot/dts/omap3-overo-chestnut43.dts new file +38 -0
new file mode 100644
index 0000000..fe0824a
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Chestnut43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo.dtsi"
+#include "omap3-overo-chestnut43-common.dtsi"
+
+/ {
+	model = "OMAP35xx Gumstix Overo on Chestnut43";
+	compatible = "gumstix,omap3-overo-chestnut43", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts new file +38 -0
new file mode 100644
index 0000000..7d82fdf
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Chestnut43 expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo-storm.dtsi"
+#include "omap3-overo-chestnut43-common.dtsi"
+
+/ {
+	model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Chestnut43";
+	compatible = "gumstix,omap3-overo-chestnut43", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+			OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)	/* etk_d8.gpio_22 */
+		>;
+	};
+
+	button_pins: pinmux_button_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4)	/* etk_d9.gpio_23 */
+			OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4)	/* etk_d0.gpio_14 */
+		>;
+	};
+};
+
Signature · 1 line
1.8.3.2
#7 lore raw

PATCH 7/7 ARM: dts: Add support for the Overo Summit

In reply to Florian Vaussard

Summit is an expansion board for Gumstix Overo products.

---
 arch/arm/boot/dts/Makefile                       |  2 ++
 arch/arm/boot/dts/omap3-overo-storm-summit.dts   | 30 +++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-summit-common.dtsi | 31 ++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-summit.dts         | 30 +++++++++++++++++++++++
 4 files changed, 93 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-storm-summit.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
arch/arm/boot/dts/Makefile +2 -0
index 7742e69..6565a7d 100644
@@ -217,6 +217,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-overo-storm-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-storm-palo43.dtb \
+	omap3-overo-summit.dtb \
+	omap3-overo-storm-summit.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-overo-storm-tobi.dtb \
 	omap3-gta04.dtb \
arch/arm/boot/dts/omap3-overo-storm-summit.dts new file +30 -0
new file mode 100644
index 0000000..a0d7fd8
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Summit expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo-storm.dtsi"
+#include "omap3-overo-summit-common.dtsi"
+
+/ {
+	model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Summit";
+	compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+		>;
+	};
+};
+
arch/arm/boot/dts/omap3-overo-summit-common.dtsi new file +31 -0
new file mode 100644
index 0000000..999d1cd
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Summit expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+/ {
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&led_pins>;
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;		/* gpio_21 */
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
+
+&lis33de {
+	status = "disabled";
+};
+
arch/arm/boot/dts/omap3-overo-summit.dts new file +30 -0
new file mode 100644
index 0000000..6976560
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Summit expansion board is manufactured by Gumstix Inc.
+ */
+
+/dts-v1/;
+
+#include "omap3-overo.dtsi"
+#include "omap3-overo-summit-common.dtsi"
+
+/ {
+	model = "OMAP35xx Gumstix Overo on Summit";
+	compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
+};
+
+&omap3_pmx_core2 {
+	led_pins: pinmux_led_pins {
+		pinctrl-single,pins = <
+			OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)	/* etk_d7.gpio_21 */
+		>;
+	};
+};
+
Signature · 1 line
1.8.3.2
#8 lore raw

cover ARM: dts: overo: Add new expansion boards

In reply to Florian Vaussard
Quoted 22 lines · Florian Vaussard

Hi,

This series adds the support for 5 new expansion boards from Gumstix:
- Palo43
- Gallop43
- Chestnut43
- Alto35
- Summit

The 1st patch is a preparatory work, in order to factorize some peripherals that are common to most Gumstix expansion boards. Patch 2 adds the support for an accelerometer that is present on most boards.

Palo43, Gallop43 and Chestnut43 are all pretty similar. I tested on a Gallop43 (with both OMAP35xx and OMAP36xx Overo).

Alto35 is slightly different. Again, I tested with both OMAP35xx and OMAP36xx Overo.

Summit is pretty similar to Tobi. I do not have a Summit at hand, but given the similarity with Tobi, it should work fine.

Quoted 8 lines

To avoid unnecessary duplications, I put all the common stuff for each board inside an omap3-overo-xxx-common.dsti include file. By doing so, I can have minimal SoC-specific omap3-overo-xxx.dts (omap34xx based) and omap3-overo-storm-xxx.dts (omap36xx based) device trees.

This series depends on my previous Overo series [1]. A complete testing tree (including the graphics support, soon to be posted) is available at [2].

Thanks, applying the whole series into omap-for-v3.15/dt-overo. As it's this close to the merge window, no guarantees anything will get pulled in though.

Regards,

Tony

Quoted 2 lines

[1] http://thread.gmane.org/gmane.linux.ports.arm.omap/111558
[2] https://github.com/vaussard/linux.git (overo/for-3.15/review1)

#9 lore raw

cover ARM: dts: overo: Add new expansion boards

Hi,

Quoted 28 lines · Tony Lindgren
Quoted 27 lines · Florian Vaussard

Hi,

This series adds the support for 5 new expansion boards from Gumstix:
- Palo43
- Gallop43
- Chestnut43
- Alto35
- Summit

The 1st patch is a preparatory work, in order to factorize some peripherals that are common to most Gumstix expansion boards. Patch 2 adds the support for an accelerometer that is present on most boards.

Palo43, Gallop43 and Chestnut43 are all pretty similar. I tested on a Gallop43 (with both OMAP35xx and OMAP36xx Overo).

Alto35 is slightly different. Again, I tested with both OMAP35xx and OMAP36xx Overo.

Summit is pretty similar to Tobi. I do not have a Summit at hand, but given the similarity with Tobi, it should work fine.

To avoid unnecessary duplications, I put all the common stuff for each board inside an omap3-overo-xxx-common.dsti include file. By doing so, I can have minimal SoC-specific omap3-overo-xxx.dts (omap34xx based) and omap3-overo-storm-xxx.dts (omap36xx based) device trees.

Quoted 8 lines
Quoted 3 lines

This series depends on my previous Overo series [1]. A complete testing tree (including the graphics support, soon to be posted) is available at [2].

Thanks, applying the whole series into omap-for-v3.15/dt-overo. As it's this close to the merge window, no guarantees anything will get pulled in though.

Thanks! Let's see. Anyway, this will not kill baby bears if it can't make it into 3.15 :)

Regards,
Florian