ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
Subsystems (4)
cover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board.
This patchset adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC, with a few extra features.
The first patch creates the device tree for both the Overo and the Tobi expansion board, and updates the dtb build target.
The second patch updates the omap/dts documentation.
This patchset applies on tony's tree [1], devel-dt branch.
Regards,
Florian
[1] http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
Florian Vaussard (2):
ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
board
ARM: omap/dts: update the documentation
.../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/omap3-overo.dtsi | 42 ++++++++++++++++++++ arch/arm/boot/dts/omap3-tobi.dts | 35 ++++++++++++++++ arch/arm/mach-omap2/Makefile.boot | 2 +- 4 files changed, 81 insertions(+), 1 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-overo.dtsi create mode 100644 arch/arm/boot/dts/omap3-tobi.dts
Signature · 1 line
1.7.5.4
PATCH 1/2 ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion board
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board.
This patch adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC.
This patche also updates the omap3 dtb build target.
Currently working:
- mmc0 (on board microSD)
- i2c0 and i2c2 (i2c1 not used)
- led on GPIO
--- arch/arm/boot/dts/omap3-overo.dtsi | 42 ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-tobi.dts | 35 ++++++++++++++++++++++++++++++ arch/arm/mach-omap2/Makefile.boot | 2 +- 3 files changed, 78 insertions(+), 1 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-overo.dtsi create mode 100644 arch/arm/boot/dts/omap3-tobi.dts
arch/arm/boot/dts/omap3-overo.dtsi new file +42 -0
@@ -0,0 +1,42 @@ +/* + * Copyright (C) 2012 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. + */ + +/* + * The Gumstix Overo must be combined with an expansion board. + */ +/dts-v1/; + +/include/ "omap3.dtsi" + +&i2c1 { + clock-frequency = <2600000>; + + twl: twl at 48 { + reg = <0x48>; + interrupts = <7>; /* SYS_NIRQ cascaded to intc */ + interrupt-parent = <&intc>; + }; +}; + +/include/ "twl4030.dtsi" + +/* i2c2 pins are used for gpio */ +&i2c2 { + status = "disabled"; +}; + +/* on board microSD slot */ +&mmc1 { + vmmc-supply = <&vmmc1>; + bus-width = <4>; +}; + +/* optional on board WiFi */ +&mmc2 { + bus-width = <4>; +};
arch/arm/boot/dts/omap3-tobi.dts new file +35 -0
@@ -0,0 +1,35 @@ +/* + * Copyright (C) 2012 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. + */ + +/* + * Tobi expansion board is manufactured by Gumstix Inc. + */ + +/include/ "omap3-overo.dtsi" + +/ { + model = "TI OMAP3 Gumstix Overo on Tobi"; + compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3"; + + leds { + compatible = "gpio-leds"; + heartbeat { + label = "overo:red:gpio21"; + gpios = <&gpio1 21 0>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&i2c3 { + clock-frequency = <100000>; +}; + +&mmc3 { + status = "disabled"; +};
arch/arm/mach-omap2/Makefile.boot +1 -1
@@ -3,7 +3,7 @@ params_phys-y := 0x80000100 initrd_phys-y := 0x80800000 dtb-$(CONFIG_SOC_OMAP2420) += omap2420-h4.dtb -dtb-$(CONFIG_ARCH_OMAP3) += omap3-beagle.dtb omap3-evm.dtb +dtb-$(CONFIG_ARCH_OMAP3) += omap3-beagle.dtb omap3-evm.dtb omap3-tobi.dtb dtb-$(CONFIG_ARCH_OMAP4) += omap4-panda.dtb omap4-pandaES.dtb dtb-$(CONFIG_ARCH_OMAP4) += omap4-var_som.dtb omap4-sdp.dtb dtb-$(CONFIG_SOC_OMAP5) += omap5-evm.dtb
Signature · 1 line
1.7.5.4
PATCH 2/2 ARM: omap/dts: update the documentation
In reply to Florian VaussardAdd the Tobi/Overo board to the list of supported platforms.
--- .../devicetree/bindings/arm/omap/omap.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
@@ -36,6 +36,9 @@ Boards: - OMAP3 BeagleBoard : Low cost community board compatible = "ti,omap3-beagle", "ti,omap3" +- OMAP3 Tobi with Overo : Commercial expansion board with daughter board + compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3" + - OMAP4 SDP : Software Developement Board compatible = "ti,omap4-sdp", "ti,omap4430"
Signature · 1 line
1.7.5.4
Tony Lindgren
maintainercover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
In reply to Florian VaussardQuoted 7 lines · Florian Vaussard
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board.
This patchset adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC, with a few extra features.
Quoted 6 lines
The first patch creates the device tree for both the Overo and the Tobi expansion board, and updates the dtb build target.
The second patch updates the omap/dts documentation.
This patchset applies on tony's tree [1], devel-dt branch.
Great, I'm assuming Benoit will pick this up as well.
Regards,
Tony
Quoted 23 lines
Regards,
Florian
[1] http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=summary
Florian Vaussard (2):
ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
board
ARM: omap/dts: update the documentation.../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/omap3-overo.dtsi | 42 ++++++++++++++++++++ arch/arm/boot/dts/omap3-tobi.dts | 35 ++++++++++++++++ arch/arm/mach-omap2/Makefile.boot | 2 +- 4 files changed, 81 insertions(+), 1 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-overo.dtsi create mode 100644 arch/arm/boot/dts/omap3-tobi.dtsSignature · 1 line
1.7.5.4
cover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
Le 06/09/2012 22:52, Tony Lindgren a ?crit :
Quoted 8 lines · Florian Vaussard
Quoted 7 lines
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board.
This patchset adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC, with a few extra features.
Quoted 7 lines
Quoted 6 lines
The first patch creates the device tree for both the Overo and the Tobi expansion board, and updates the dtb build target.
The second patch updates the omap/dts documentation.
This patchset applies on tony's tree [1], devel-dt branch.
Great, I'm assuming Benoit will pick this up as well.
What is the status Benoit?
Thank you,
Florian
cover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
Quoted 12 lines · Florian Vaussard
Le 06/09/2012 22:52, Tony Lindgren a ?crit :
Quoted 11 lines · Florian Vaussard
Quoted 10 lines
The Gumstix Overo is a computer on module using an OMAP3 processor. This module must be plugged into an expansion board.
This patchset adds a first device tree support for the Overo, using the Tobi expansion board. The current support is able to boot and mount the rootfs from MMC, with a few extra features.
The first patch creates the device tree for both the Overo and the Tobi expansion board, and updates the dtb build target.
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines
The second patch updates the omap/dts documentation.
This patchset applies on tony's tree [1], devel-dt branch.
Great, I'm assuming Benoit will pick this up as well.
What is the status Benoit?
Patches looks good to me. I just adding them right now in my for_3.7/dts tree.
I've just slightly changed the subjects:
Documentation: dt: Update the OMAP documentation with Overo/Toby
ARM: dts: OMAP3: Add support for Gumstix Overo with Tobi expansion board
If you want to give it a try, here is the branch that contains all the DTS series I already pulled. It includes your gpio-twl4030 patches as well.
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.7/dts
Regards,
Benoit
cover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
Quoted 7 lines
Quoted 2 lines
What is the status Benoit?
Patches looks good to me. I just adding them right now in my for_3.7/dts tree.
I've just slightly changed the subjects:
Quoted 7 lines
Documentation: dt: Update the OMAP documentation with Overo/Toby
ARM: dts: OMAP3: Add support for Gumstix Overo with Tobi expansion boardIf you want to give it a try, here is the branch that contains all the DTS series I already pulled. It includes your gpio-twl4030 patches as well.
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.gitfor_3.7/dts
Great, thank you! I will test your branch on my Overo ASAP.
Regards,
Florian
cover ARM: omap/dts: Add support for Gumstix Overo with Tobi expansion
In reply to Benoit CoussonQuoted 5 lines
Patches looks good to me. I just adding them right now in my for_3.7/dts tree.
I've just slightly changed the subjects:
Quoted 7 lines
Documentation: dt: Update the OMAP documentation with Overo/Toby
ARM: dts: OMAP3: Add support for Gumstix Overo with Tobi expansion boardIf you want to give it a try, here is the branch that contains all the DTS series I already pulled. It includes your gpio-twl4030 patches as well.
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.gitfor_3.7/dts
Boot as expected on Gumstix Overo with Tobi expansion board.
I will submit a patch to support the blue LED connected to the TWL4030, as the DTS support was merged in your branch.
And of course I will continue on getting features to work with devicetree for the Overo.
Regards,
Florian