* [PATCH v3 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices
2012-12-03 12:41 [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
@ 2012-12-03 12:41 ` Javier Martinez Canillas
2012-12-03 12:41 ` [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board Javier Martinez Canillas
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2012-12-03 12:41 UTC (permalink / raw)
To: linux-arm-kernel
Add a generic .dtsi device tree source file for the
common characteristics across IGEP Technology devices.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
---
Changes since v2:
- Associate uart3_pins in uart3 device node.
- Remove mcbsp2_ins for now until SMSC9221 Ethernet support is added.
arch/arm/boot/dts/omap3-igep.dtsi | 87 +++++++++++++++++++++++++++++++++++++
1 files changed, 87 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/omap3-igep.dtsi
diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
new file mode 100644
index 0000000..125fe00
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-igep.dtsi
@@ -0,0 +1,87 @@
+/*
+ * Device Tree Source for IGEP Technology devices
+ *
+ * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
+ * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
+ *
+ * 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.
+ */
+/dts-v1/;
+
+/include/ "omap3.dtsi"
+
+/ {
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x20000000>; /* 512 MB */
+ };
+
+ sound {
+ compatible = "ti,omap-twl4030";
+ ti,model = "igep2";
+ ti,mcbsp = <&mcbsp2>;
+ ti,codec = <&twl_audio>;
+ };
+};
+
+&omap3_pmx_core {
+ uart3_pins: pinmux_uart3_pins {
+ pinctrl-single,pins = <
+ 0x16e 0x100 /* uart3_rx.uart3_rx INPUT | MODE0 */
+ 0x170 0 /* uart3_tx.uart3_tx OUTPUT | MODE0 */
+ >;
+ };
+};
+
+&i2c1 {
+ clock-frequency = <2600000>;
+
+ twl: twl at 48 {
+ reg = <0x48>;
+ interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+ interrupt-parent = <&intc>;
+
+ vsim: regulator at 10 {
+ compatible = "ti,twl4030-vsim";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3000000>;
+ };
+
+ twl_audio: audio {
+ compatible = "ti,twl4030-audio";
+ codec {
+ };
+ };
+ };
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+ clock-frequency = <400000>;
+};
+
+&mmc1 {
+ vmmc-supply = <&vmmc1>;
+ vmmc_aux-supply = <&vsim>;
+ bus-width = <8>;
+};
+
+&mmc2 {
+ status = "disabled";
+};
+
+&mmc3 {
+ status = "disabled";
+};
+
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+};
+
+&twl_gpio {
+ ti,use-leds;
+};
--
1.7.7.6
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board
2012-12-03 12:41 [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
2012-12-03 12:41 ` [PATCH v3 1/3] ARM/dts: omap3: Add generic " Javier Martinez Canillas
@ 2012-12-03 12:41 ` Javier Martinez Canillas
2012-12-03 12:41 ` [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module Javier Martinez Canillas
2012-12-12 8:25 ` [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
3 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2012-12-03 12:41 UTC (permalink / raw)
To: linux-arm-kernel
ISEE IGEPv2 is an TI OMAP3 SoC based embedded board.
This patch adds an initial device tree support to boot
an IGEPv2 from the MMC/SD.
Currently is working everything that is supported by DT
on OMAP3 SoCs (MMC/SD, GPIO LEDs, EEPROM, TWL4030 audio).
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
---
Changes since v1:
- Use default-state = "on" instead default-trigger = "default-on" for LED
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/omap3-igep0020.dts | 56 ++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/omap3-igep0020.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index f37cf9f..1dc0f39 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -66,6 +66,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
omap3-beagle-xm.dtb \
omap3-evm.dtb \
omap3-tobi.dtb \
+ omap3-igep0020.dtb \
omap4-panda.dtb \
omap4-pandaES.dtb \
omap4-var_som.dtb \
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts
new file mode 100644
index 0000000..e2b9849
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-igep0020.dts
@@ -0,0 +1,56 @@
+/*
+ * Device Tree Source for IGEPv2 board
+ *
+ * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
+ * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
+ *
+ * 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.
+ */
+
+/include/ "omap3-igep.dtsi"
+
+/ {
+ model = "IGEPv2";
+ compatible = "isee,omap3-igep0020", "ti,omap3";
+
+ leds {
+ compatible = "gpio-leds";
+ boot {
+ label = "omap3:green:boot";
+ gpios = <&gpio1 26 0>;
+ default-state = "on";
+ };
+
+ user0 {
+ label = "omap3:red:user0";
+ gpios = <&gpio1 27 0>;
+ default-state = "off";
+ };
+
+ user1 {
+ label = "omap3:red:user1";
+ gpios = <&gpio1 28 0>;
+ default-state = "off";
+ };
+
+ user2 {
+ label = "omap3:green:user1";
+ gpios = <&twl_gpio 19 1>;
+ };
+ };
+};
+
+&i2c3 {
+ clock-frequency = <100000>;
+
+ /*
+ * Display monitor features are burnt in the EEPROM
+ * as EDID data.
+ */
+ eeprom at 50 {
+ compatible = "ti,eeprom";
+ reg = <0x50>;
+ };
+};
--
1.7.7.6
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module
2012-12-03 12:41 [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
2012-12-03 12:41 ` [PATCH v3 1/3] ARM/dts: omap3: Add generic " Javier Martinez Canillas
2012-12-03 12:41 ` [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board Javier Martinez Canillas
@ 2012-12-03 12:41 ` Javier Martinez Canillas
2012-12-12 8:25 ` [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
3 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2012-12-03 12:41 UTC (permalink / raw)
To: linux-arm-kernel
ISEE IGEP COM Module is an TI OMAP3 SoC computer on module.
This patch adds an initial device tree support to boot an
IGEP COM Module from the MMC/SD.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
---
Changes since v1:
- Use default-state = "on" instead default-trigger = "default-on" for LED
- Update GPIO mapping according to latest IGEP COM Module rev.E instead D
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/omap3-igep0030.dts | 44 ++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/omap3-igep0030.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 1dc0f39..78c99bc 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -67,6 +67,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
omap3-evm.dtb \
omap3-tobi.dtb \
omap3-igep0020.dtb \
+ omap3-igep0030.dtb \
omap4-panda.dtb \
omap4-pandaES.dtb \
omap4-var_som.dtb \
diff --git a/arch/arm/boot/dts/omap3-igep0030.dts b/arch/arm/boot/dts/omap3-igep0030.dts
new file mode 100644
index 0000000..9dc48d2
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-igep0030.dts
@@ -0,0 +1,44 @@
+/*
+ * Device Tree Source for IGEP COM Module
+ *
+ * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
+ * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
+ *
+ * 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.
+ */
+
+/include/ "omap3-igep.dtsi"
+
+/ {
+ model = "IGEP COM Module";
+ compatible = "isee,omap3-igep0030", "ti,omap3";
+
+ leds {
+ compatible = "gpio-leds";
+ boot {
+ label = "omap3:green:boot";
+ gpios = <&twl_gpio 13 1>;
+ default-state = "on";
+ };
+
+ user0 {
+ label = "omap3:red:user0";
+ gpios = <&twl_gpio 18 1>; /* LEDA */
+ default-state = "off";
+ };
+
+ user1 {
+ label = "omap3:green:user1";
+ gpios = <&twl_gpio 19 1>; /* LEDB */
+ default-state = "off";
+ };
+
+ user2 {
+ label = "omap3:red:user1";
+ gpios = <&gpio1 16 1>;
+ default-state = "off";
+ };
+ };
+};
--
1.7.7.6
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices
2012-12-03 12:41 [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
` (2 preceding siblings ...)
2012-12-03 12:41 ` [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module Javier Martinez Canillas
@ 2012-12-12 8:25 ` Javier Martinez Canillas
2012-12-12 10:11 ` Benoit Cousson
3 siblings, 1 reply; 7+ messages in thread
From: Javier Martinez Canillas @ 2012-12-12 8:25 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas
<javier.martinez@collabora.co.uk> wrote:
> IGEP technology devices are TI OMAP3 SoC based industrial embedded
> and computer-on-module boards. This patch-set adds initial device
> tree support for these devices.
>
> The device trees allows to boot from an MMC and are working all the
> components that already have device tree support on OMAP3 SoCs:
>
> - MMC/SD
> - UARTs
> - GPIO LEDs
> - TWL4030 codec audio
> - pinmux/pinconf pinctrl
>
> Some peripheral are still not working such as Flash storage and
> Ethernet but support for these will also be included once the
> OMAP GPMC device tree binding patches land on mainline.
>
> This is a v3 of the patch-set that solves issues pointed out by
> Enric Balletbo and Benoit Cousson.
>
> The patch-set is composed of the following patches:
>
> [PATCH v3 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices
> [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board
> [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module
>
> Best regards,
> Javier
> --
Hi Benoit and Tony,
Any comments on these?
Best regards,
Javier
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices
2012-12-12 8:25 ` [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices Javier Martinez Canillas
@ 2012-12-12 10:11 ` Benoit Cousson
2012-12-12 11:42 ` Javier Martinez Canillas
0 siblings, 1 reply; 7+ messages in thread
From: Benoit Cousson @ 2012-12-12 10:11 UTC (permalink / raw)
To: linux-arm-kernel
Hi Javier,
On 12/12/2012 09:25 AM, Javier Martinez Canillas wrote:
> On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas
> <javier.martinez@collabora.co.uk> wrote:
>> IGEP technology devices are TI OMAP3 SoC based industrial embedded
>> and computer-on-module boards. This patch-set adds initial device
>> tree support for these devices.
>>
>> The device trees allows to boot from an MMC and are working all the
>> components that already have device tree support on OMAP3 SoCs:
>>
>> - MMC/SD
>> - UARTs
>> - GPIO LEDs
>> - TWL4030 codec audio
>> - pinmux/pinconf pinctrl
>>
>> Some peripheral are still not working such as Flash storage and
>> Ethernet but support for these will also be included once the
>> OMAP GPMC device tree binding patches land on mainline.
>>
>> This is a v3 of the patch-set that solves issues pointed out by
>> Enric Balletbo and Benoit Cousson.
>>
>> The patch-set is composed of the following patches:
>>
>> [PATCH v3 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices
>> [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board
>> [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module
>>
>> Best regards,
>> Javier
>> --
>
> Hi Benoit and Tony,
>
> Any comments on these?
Nope, that's fine. I'll applied the series for 3.9.
Thanks,
Benoit
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices
2012-12-12 10:11 ` Benoit Cousson
@ 2012-12-12 11:42 ` Javier Martinez Canillas
0 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2012-12-12 11:42 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Dec 12, 2012 at 11:11 AM, Benoit Cousson <b-cousson@ti.com> wrote:
> Hi Javier,
>
> On 12/12/2012 09:25 AM, Javier Martinez Canillas wrote:
>> On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas
>> <javier.martinez@collabora.co.uk> wrote:
>>> IGEP technology devices are TI OMAP3 SoC based industrial embedded
>>> and computer-on-module boards. This patch-set adds initial device
>>> tree support for these devices.
>>>
>>> The device trees allows to boot from an MMC and are working all the
>>> components that already have device tree support on OMAP3 SoCs:
>>>
>>> - MMC/SD
>>> - UARTs
>>> - GPIO LEDs
>>> - TWL4030 codec audio
>>> - pinmux/pinconf pinctrl
>>>
>>> Some peripheral are still not working such as Flash storage and
>>> Ethernet but support for these will also be included once the
>>> OMAP GPMC device tree binding patches land on mainline.
>>>
>>> This is a v3 of the patch-set that solves issues pointed out by
>>> Enric Balletbo and Benoit Cousson.
>>>
>>> The patch-set is composed of the following patches:
>>>
>>> [PATCH v3 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices
>>> [PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board
>>> [PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module
>>>
>>> Best regards,
>>> Javier
>>> --
>>
>> Hi Benoit and Tony,
>>
>> Any comments on these?
>
> Nope, that's fine. I'll applied the series for 3.9.
>
> Thanks,
> Benoit
>
>
Great, thanks a lot for!
Best regards,
Javier
^ permalink raw reply [flat|nested] 7+ messages in thread