* [PATCH 0/7] ARM: dts: overo: Add new expansion boards
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
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
--
1.8.3.2
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 0/7] ARM: dts: overo: Add new expansion boards
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
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
--
1.8.3.2
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 1/7] ARM: dts: overo: Create a file for common Gumstix peripherals
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Gumstix expansion boards share a couple of peripherals:
- uart3 is used for the console
- AT24C01 EEPROM on i2c3
Use this file for overo-tobi.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
.../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
diff --git a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
new file mode 100644
index 0000000..bca81ae
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
@@ -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@51 {
+ compatible = "atmel,24c01";
+ reg = <0x51>;
+ pagesize = <8>;
+ };
+};
+
+&mmc3 {
+ status = "disabled";
+};
+
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index 384e87d..060eb77 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -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@51 {
- compatible = "atmel,24c01";
- reg = <0x51>;
- pagesize = <8>;
- };
-};
-
-&mmc3 {
- status = "disabled";
-};
-
-&uart3 {
- pinctrl-names = "default";
- pinctrl-0 = <&uart3_pins>;
-};
-
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 1/7] ARM: dts: overo: Create a file for common Gumstix peripherals
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Gumstix expansion boards share a couple of peripherals:
- uart3 is used for the console
- AT24C01 EEPROM on i2c3
Use this file for overo-tobi.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
.../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
diff --git a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
new file mode 100644
index 0000000..bca81ae
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
@@ -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>;
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index 384e87d..060eb77 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -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>;
-};
-
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 2/7] ARM: dts: overo: Add LIS33DE accelerometer
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
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.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
.../boot/dts/omap3-overo-common-peripherals.dtsi | 44 ++++++++++++++++++++++
arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 4 ++
2 files changed, 48 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
index bca81ae..5831bcc 100644
--- a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
@@ -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@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 {
diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index 060eb77..13df50b 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -35,3 +35,7 @@
};
};
+&lis33de {
+ status = "disabled";
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 2/7] ARM: dts: overo: Add LIS33DE accelerometer
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
.../boot/dts/omap3-overo-common-peripherals.dtsi | 44 ++++++++++++++++++++++
arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 4 ++
2 files changed, 48 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
index bca81ae..5831bcc 100644
--- a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
@@ -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 {
diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index 060eb77..13df50b 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -35,3 +35,7 @@
};
};
+&lis33de {
+ status = "disabled";
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 3/7] ARM: dts: Add support for the Overo Palo43
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Palo43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 0320303..98d508d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi b/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
new file mode 100644
index 0000000..abea232
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
@@ -0,0 +1,53 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0@23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1@14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-palo43.dts b/arch/arm/boot/dts/omap3-overo-palo43.dts
new file mode 100644
index 0000000..cedb103
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-palo43.dts b/arch/arm/boot/dts/omap3-overo-storm-palo43.dts
new file mode 100644
index 0000000..b585d8f
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-palo43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 3/7] ARM: dts: Add support for the Overo Palo43
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Palo43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 0320303..98d508d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi b/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
new file mode 100644
index 0000000..abea232
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
@@ -0,0 +1,53 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0 at 23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1 at 14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-palo43.dts b/arch/arm/boot/dts/omap3-overo-palo43.dts
new file mode 100644
index 0000000..cedb103
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-palo43.dts b/arch/arm/boot/dts/omap3-overo-storm-palo43.dts
new file mode 100644
index 0000000..b585d8f
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-palo43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 4/7] ARM: dts: Add support for the Overo Gallop43
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Gallop43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 98d508d..bd7821b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi b/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
new file mode 100644
index 0000000..5e848c2
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0@23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1@14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+&usbhshost {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43.dts b/arch/arm/boot/dts/omap3-overo-gallop43.dts
new file mode 100644
index 0000000..241f5c1
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts b/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
new file mode 100644
index 0000000..a1b57e0
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 4/7] ARM: dts: Add support for the Overo Gallop43
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Gallop43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 98d508d..bd7821b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi b/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
new file mode 100644
index 0000000..5e848c2
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0 at 23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1 at 14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+&usbhshost {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43.dts b/arch/arm/boot/dts/omap3-overo-gallop43.dts
new file mode 100644
index 0000000..241f5c1
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts b/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
new file mode 100644
index 0000000..a1b57e0
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-gallop43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 5/7] ARM: dts: Add support for the Overo Alto35
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Alto35 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index bd7821b..de5cfcc 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi b/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
new file mode 100644
index 0000000..19d6486
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
@@ -0,0 +1,77 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_pins>;
+ gpio148 {
+ label = "overo:red:gpio148";
+ gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>; /* gpio 148 */
+ };
+ gpio150 {
+ label = "overo:yellow:gpio150";
+ gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio 150 */
+ };
+ gpio151 {
+ label = "overo:blue:gpio151";
+ gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* gpio 151 */
+ };
+ gpio170 {
+ label = "overo:green:gpio170";
+ gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* gpio 170 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ button0@10 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* gpio_10 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+&omap3_pmx_core {
+ led_pins: pinmux_led_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE4) /* uart1_tx.gpio_148 */
+ OMAP3_CORE1_IOPAD(0x2180, PIN_OUTPUT | MUX_MODE4) /* uart1_cts.gpio_150 */
+ OMAP3_CORE1_IOPAD(0x2182, PIN_OUTPUT | MUX_MODE4) /* uart1_rx.gpio_151 */
+ OMAP3_CORE1_IOPAD(0x21c6, PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */
+ >;
+ };
+};
+
+&omap3_pmx_wkup {
+ button_pins: pinmux_button_pins {
+ pinctrl-single,pins = <
+ OMAP3_WKUP_IOPAD(0x2a18, PIN_INPUT | MUX_MODE4) /* sys_clkout1.gpio_10 */
+ >;
+ };
+};
+
+&usbhshost {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-alto35.dts b/arch/arm/boot/dts/omap3-overo-alto35.dts
new file mode 100644
index 0000000..a3249eb
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35.dts
@@ -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";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-alto35.dts b/arch/arm/boot/dts/omap3-overo-storm-alto35.dts
new file mode 100644
index 0000000..e9cae52
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-alto35.dts
@@ -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";
+};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 5/7] ARM: dts: Add support for the Overo Alto35
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Alto35 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index bd7821b..de5cfcc 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi b/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
new file mode 100644
index 0000000..19d6486
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
@@ -0,0 +1,77 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_pins>;
+ gpio148 {
+ label = "overo:red:gpio148";
+ gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>; /* gpio 148 */
+ };
+ gpio150 {
+ label = "overo:yellow:gpio150";
+ gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio 150 */
+ };
+ gpio151 {
+ label = "overo:blue:gpio151";
+ gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* gpio 151 */
+ };
+ gpio170 {
+ label = "overo:green:gpio170";
+ gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* gpio 170 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ button0 at 10 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* gpio_10 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+&omap3_pmx_core {
+ led_pins: pinmux_led_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE4) /* uart1_tx.gpio_148 */
+ OMAP3_CORE1_IOPAD(0x2180, PIN_OUTPUT | MUX_MODE4) /* uart1_cts.gpio_150 */
+ OMAP3_CORE1_IOPAD(0x2182, PIN_OUTPUT | MUX_MODE4) /* uart1_rx.gpio_151 */
+ OMAP3_CORE1_IOPAD(0x21c6, PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */
+ >;
+ };
+};
+
+&omap3_pmx_wkup {
+ button_pins: pinmux_button_pins {
+ pinctrl-single,pins = <
+ OMAP3_WKUP_IOPAD(0x2a18, PIN_INPUT | MUX_MODE4) /* sys_clkout1.gpio_10 */
+ >;
+ };
+};
+
+&usbhshost {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-alto35.dts b/arch/arm/boot/dts/omap3-overo-alto35.dts
new file mode 100644
index 0000000..a3249eb
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35.dts
@@ -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";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-alto35.dts b/arch/arm/boot/dts/omap3-overo-storm-alto35.dts
new file mode 100644
index 0000000..e9cae52
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-alto35.dts
@@ -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";
+};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 6/7] ARM: dts: Add support for the Overo Chestnut43
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Chestnut43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index de5cfcc..7742e69 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi b/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
new file mode 100644
index 0000000..19de6ff
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0@23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1@14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+#include "omap-gpmc-smsc9221.dtsi"
+
+&gpmc {
+ ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
+
+ ethernet@gpmc {
+ reg = <5 0 0xff>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
+ };
+};
+
+&lis33de {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
new file mode 100644
index 0000000..fe0824a
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
new file mode 100644
index 0000000..7d82fdf
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 6/7] ARM: dts: Add support for the Overo Chestnut43
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Chestnut43 is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index de5cfcc..7742e69 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi b/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
new file mode 100644
index 0000000..19de6ff
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ */
+
+#include "omap3-overo-common-peripherals.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+ 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";
+ };
+ gpio22 {
+ label = "overo:blue:gpio22";
+ gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&button_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button0 at 23 {
+ label = "button0";
+ linux,code = <BTN_0>;
+ gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
+ gpio-key,wakeup;
+ };
+ button1 at 14 {
+ label = "button1";
+ linux,code = <BTN_1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
+ gpio-key,wakeup;
+ };
+ };
+};
+
+#include "omap-gpmc-smsc9221.dtsi"
+
+&gpmc {
+ ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
+
+ ethernet at gpmc {
+ reg = <5 0 0xff>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
+ };
+};
+
+&lis33de {
+ status = "disabled";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
new file mode 100644
index 0000000..fe0824a
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
new file mode 100644
index 0000000..7d82fdf
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-chestnut43.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 7/7] ARM: dts: Add support for the Overo Summit
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-11 12:20 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: Tony Lindgren, Benoit Cousson
Cc: Roger Quadros, Nishanth Menon, Ash Charles, linux-omap, linux-arm-kernel
Summit is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 7742e69..6565a7d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-storm-summit.dts b/arch/arm/boot/dts/omap3-overo-storm-summit.dts
new file mode 100644
index 0000000..a0d7fd8
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-summit.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit-common.dtsi b/arch/arm/boot/dts/omap3-overo-summit-common.dtsi
new file mode 100644
index 0000000..999d1cd
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit-common.dtsi
@@ -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";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
new file mode 100644
index 0000000..6976560
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 7/7] ARM: dts: Add support for the Overo Summit
@ 2014-03-11 12:20 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-11 12:20 UTC (permalink / raw)
To: linux-arm-kernel
Summit is an expansion board for Gumstix Overo products.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 7742e69..6565a7d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/omap3-overo-storm-summit.dts b/arch/arm/boot/dts/omap3-overo-storm-summit.dts
new file mode 100644
index 0000000..a0d7fd8
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-storm-summit.dts
@@ -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 */
+ >;
+ };
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit-common.dtsi b/arch/arm/boot/dts/omap3-overo-summit-common.dtsi
new file mode 100644
index 0000000..999d1cd
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit-common.dtsi
@@ -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";
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
new file mode 100644
index 0000000..6976560
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -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 */
+ >;
+ };
+};
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 0/7] ARM: dts: overo: Add new expansion boards
2014-03-11 12:20 ` Florian Vaussard
@ 2014-03-12 17:22 ` Tony Lindgren
-1 siblings, 0 replies; 20+ messages in thread
From: Tony Lindgren @ 2014-03-12 17:22 UTC (permalink / raw)
To: Florian Vaussard
Cc: Benoit Cousson, Roger Quadros, Nishanth Menon, Ash Charles,
linux-omap, linux-arm-kernel
* Florian Vaussard <florian.vaussard@epfl.ch> [140311 05:24]:
> 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].
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
> [1] http://thread.gmane.org/gmane.linux.ports.arm.omap/111558
> [2] https://github.com/vaussard/linux.git (overo/for-3.15/review1)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 0/7] ARM: dts: overo: Add new expansion boards
@ 2014-03-12 17:22 ` Tony Lindgren
0 siblings, 0 replies; 20+ messages in thread
From: Tony Lindgren @ 2014-03-12 17:22 UTC (permalink / raw)
To: linux-arm-kernel
* Florian Vaussard <florian.vaussard@epfl.ch> [140311 05:24]:
> 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].
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
> [1] http://thread.gmane.org/gmane.linux.ports.arm.omap/111558
> [2] https://github.com/vaussard/linux.git (overo/for-3.15/review1)
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 0/7] ARM: dts: overo: Add new expansion boards
2014-03-12 17:22 ` Tony Lindgren
@ 2014-03-13 8:29 ` Florian Vaussard
-1 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-13 8:29 UTC (permalink / raw)
To: Tony Lindgren
Cc: Benoit Cousson, Roger Quadros, Nishanth Menon, Ash Charles,
linux-omap, linux-arm-kernel
Hi,
On 03/12/2014 06:22 PM, Tony Lindgren wrote:
> * Florian Vaussard <florian.vaussard@epfl.ch> [140311 05:24]:
>> 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].
>
> 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
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 0/7] ARM: dts: overo: Add new expansion boards
@ 2014-03-13 8:29 ` Florian Vaussard
0 siblings, 0 replies; 20+ messages in thread
From: Florian Vaussard @ 2014-03-13 8:29 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On 03/12/2014 06:22 PM, Tony Lindgren wrote:
> * Florian Vaussard <florian.vaussard@epfl.ch> [140311 05:24]:
>> 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].
>
> 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
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2014-03-13 8:29 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-11 12:20 [PATCH 0/7] ARM: dts: overo: Add new expansion boards Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 1/7] ARM: dts: overo: Create a file for common Gumstix peripherals Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 2/7] ARM: dts: overo: Add LIS33DE accelerometer Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 3/7] ARM: dts: Add support for the Overo Palo43 Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 4/7] ARM: dts: Add support for the Overo Gallop43 Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 5/7] ARM: dts: Add support for the Overo Alto35 Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 6/7] ARM: dts: Add support for the Overo Chestnut43 Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-11 12:20 ` [PATCH 7/7] ARM: dts: Add support for the Overo Summit Florian Vaussard
2014-03-11 12:20 ` Florian Vaussard
2014-03-12 17:22 ` [PATCH 0/7] ARM: dts: overo: Add new expansion boards Tony Lindgren
2014-03-12 17:22 ` Tony Lindgren
2014-03-13 8:29 ` Florian Vaussard
2014-03-13 8:29 ` Florian Vaussard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.