Skip to contentSkip to conversation

Make few omap3 boards device tree only

PATCH New Tony Lindgren 1 participant 10 messages Oct 10, 2013 – Oct 15, 2013

Subsystems (7)
lore
Share & tools
lore

Tony Lindgren

author maintainer
#0 lore raw

cover Make few omap3 boards device tree only

Hi all,

Now that we have the remaining omap3 PM related wake-up events mostly resolved, it's time to start making omap3 to be device tree only.

These are the boards that I'm using for testing in my rack setup, so I've verified that the basic features work well enough for me so we can make them device tree only.

Patches are welcome to add more features :)

Regards,

Tony

---

Tony Lindgren (8):
ARM: OMAP2+: Use pdata quirks for wl12xx for omap3 evm and zoom3
ARM: OMAP2+: Add minimal 8250 support for GPMC
ARM: dts: Shared file for omap GPMC connected smsc911x
ARM: dts: Add common support for omap3-evm
ARM: dts: Add basic support for TMDSEVM3730 (Mistral AM/DM37x EVM)
ARM: dts: Add basic support for zoom3
ARM: OMAP2+: Remove legacy booting support for omap3 EVM
ARM: OMAP2+: Remove legacy support for zoom platforms

 arch/arm/boot/dts/Makefile                   |    2 
 arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi    |   52 ++
 arch/arm/boot/dts/omap-zoom-common.dtsi      |   33 +
 arch/arm/boot/dts/omap3-evm-37xx.dts         |  146 +++++
 arch/arm/boot/dts/omap3-evm-common.dtsi      |   96 +++
 arch/arm/boot/dts/omap3-evm.dts              |   58 --
 arch/arm/boot/dts/omap3-igep0020.dts         |   45 --
 arch/arm/boot/dts/omap3-zoom3.dts            |  217 +++++++
 arch/arm/mach-omap2/Kconfig                  |   26 -
 arch/arm/mach-omap2/Makefile                 |   10 
 arch/arm/mach-omap2/board-3630sdp.c          |  225 --------
 arch/arm/mach-omap2/board-ldp.c              |    3 
 arch/arm/mach-omap2/board-omap3evm.c         |  756 --------------------------
 arch/arm/mach-omap2/board-zoom-debugboard.c  |  139 -----
 arch/arm/mach-omap2/board-zoom-display.c     |   71 --
 arch/arm/mach-omap2/board-zoom-peripherals.c |  360 ------------
 arch/arm/mach-omap2/board-zoom.c             |  159 -----
 arch/arm/mach-omap2/board-zoom.h             |   10 
 arch/arm/mach-omap2/gpmc.c                   |   38 +
 arch/arm/mach-omap2/pdata-quirks.c           |   12 
 20 files changed, 601 insertions(+), 1857 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi
 create mode 100644 arch/arm/boot/dts/omap-zoom-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-evm-37xx.dts
 create mode 100644 arch/arm/boot/dts/omap3-evm-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-zoom3.dts
 delete mode 100644 arch/arm/mach-omap2/board-3630sdp.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3evm.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-debugboard.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-display.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-peripherals.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom.h
Signature · 1 line
Signature
author maintainer
#1 lore raw

PATCH 1/8 ARM: OMAP2+: Use pdata quirks for wl12xx for omap3 evm and zoom3

As the wl12xx bindings are still pending, this way we can get things working for omap3 evm and zoom platforms.

---
 arch/arm/mach-omap2/pdata-quirks.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/mach-omap2/pdata-quirks.c +12 -0
index 18afbde..10c7145 100644
@@ -82,6 +82,16 @@ static void __init omap3_igep0020_legacy_init(void)
 {
 	omap3_igep2_display_init_of();
 }
+
+static void __init omap3_evm_legacy_init(void)
+{
+	legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 149);
+}
+
+static void __init omap3_zoom_legacy_init(void)
+{
+	legacy_init_wl12xx(WL12XX_REFCLOCK_26, 0, 162);
+}
 #endif /* CONFIG_ARCH_OMAP3 */
 
 #ifdef CONFIG_ARCH_OMAP4
@@ -132,6 +142,8 @@ static struct pdata_init pdata_quirks[] __initdata = {
 	{ "nokia,omap3-n9", hsmmc2_internal_input_clk, },
 	{ "nokia,omap3-n950", hsmmc2_internal_input_clk, },
 	{ "isee,omap3-igep0020", omap3_igep0020_legacy_init, },
+	{ "ti,omap3-evm-37xx", omap3_evm_legacy_init, },
+	{ "ti,omap3-zoom3", omap3_zoom_legacy_init, },
 #endif
 #ifdef CONFIG_ARCH_OMAP4
 	{ "ti,omap4-sdp", omap4_sdp_legacy_init, },
author maintainer
#2 lore raw

PATCH 2/8 ARM: OMAP2+: Add minimal 8250 support for GPMC

In reply to Tony Lindgren

Just initialize things using the bootloader timings like we've been doing for the legacy booting too. It should be possible to patch in the GPMC timings for the based on the TL16CP743C/TL16C754C manual at:

http://www.ti.com/lit/ds/slls644g/slls644g.pdf

---
 arch/arm/mach-omap2/gpmc.c |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
arch/arm/mach-omap2/gpmc.c +38 -0
index 579697a..51525fa 100644
@@ -1521,6 +1521,42 @@ err:
 	return ret;
 }
 
+/*
+ * REVISIT: Add timing support from slls644g.pdf
+ */
+static int gpmc_probe_8250(struct platform_device *pdev,
+				struct device_node *child)
+{
+	struct resource res;
+	unsigned long base;
+	int ret, cs;
+
+	if (of_property_read_u32(child, "reg", &cs) < 0) {
+		dev_err(&pdev->dev, "%s has no 'reg' property\n",
+			child->full_name);
+		return -ENODEV;
+	}
+
+	if (of_address_to_resource(child, 0, &res) < 0) {
+		dev_err(&pdev->dev, "%s has malformed 'reg' property\n",
+			child->full_name);
+		return -ENODEV;
+	}
+
+	ret = gpmc_cs_request(cs, resource_size(&res), &base);
+	if (ret < 0) {
+		dev_err(&pdev->dev, "cannot request GPMC CS %d\n", cs);
+		return ret;
+	}
+
+	if (of_platform_device_create(child, NULL, &pdev->dev))
+		return 0;
+
+	dev_err(&pdev->dev, "failed to create gpmc child %s\n", child->name);
+
+	return -ENODEV;
+}
+
 static int gpmc_probe_dt(struct platform_device *pdev)
 {
 	int ret;
@@ -1564,6 +1600,8 @@ static int gpmc_probe_dt(struct platform_device *pdev)
 		else if (of_node_cmp(child->name, "ethernet") == 0 ||
 			 of_node_cmp(child->name, "nor") == 0)
 			ret = gpmc_probe_generic_child(pdev, child);
+		else if (of_node_cmp(child->name, "8250") == 0)
+			ret = gpmc_probe_8250(pdev, child);
 
 		if (WARN(ret < 0, "%s: probing gpmc child %s failed\n",
 			 __func__, child->full_name))
author maintainer
#3 lore raw

PATCH 3/8 ARM: dts: Shared file for omap GPMC connected smsc911x

In reply to Tony Lindgren

Looks like at least Igep, Zoom and EVM boards can use a common file for the GPMC connected smsc911x.

---
 arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi |   52 +++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-igep0020.dts      |   45 +------------------------
 2 files changed, 54 insertions(+), 43 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi
arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi new file +52 -0
new file mode 100644
index 0000000..9c18adf
@@ -0,0 +1,52 @@
+/*
+ * Common file for GPMC connected smsc911x on omaps
+ *
+ * Note that the board specifc DTS file needs to specify
+ * ranges, pinctrl, reg, interrupt parent and interrupts.
+ */
+
+/ {
+	vddvario: regulator-vddvario {
+		  compatible = "regulator-fixed";
+		  regulator-name = "vddvario";
+		  regulator-always-on;
+	};
+
+	vdd33a: regulator-vdd33a {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
+&gpmc {
+	ethernet at gpmc {
+		compatible = "smsc,lan9221", "smsc,lan9115";
+		bank-width = <2>;
+		gpmc,mux-add-data;
+		gpmc,cs-on-ns = <0>;
+		gpmc,cs-rd-off-ns = <186>;
+		gpmc,cs-wr-off-ns = <186>;
+		gpmc,adv-on-ns = <12>;
+		gpmc,adv-rd-off-ns = <48>;
+		gpmc,adv-wr-off-ns = <48>;
+		gpmc,oe-on-ns = <54>;
+		gpmc,oe-off-ns = <168>;
+		gpmc,we-on-ns = <54>;
+		gpmc,we-off-ns = <168>;
+		gpmc,rd-cycle-ns = <186>;
+		gpmc,wr-cycle-ns = <186>;
+		gpmc,access-ns = <114>;
+		gpmc,page-burst-access-ns = <6>;
+		gpmc,bus-turnaround-ns = <12>;
+		gpmc,cycle2cycle-delay-ns = <18>;
+		gpmc,wr-data-mux-bus-ns = <90>;
+		gpmc,wr-access-ns = <186>;
+		gpmc,cycle2cycle-samecsen;
+		gpmc,cycle2cycle-diffcsen;
+		vmmc-supply = <&vddvario>;
+		vmmc_aux-supply = <&vdd33a>;
+		reg-io-width = <4>;
+		smsc,save-mac-address;
+	};
+};
arch/arm/boot/dts/omap3-igep0020.dts +2 -43

67 lines not on this page · raw message

author maintainer
#4 lore raw

PATCH 4/8 ARM: dts: Add common support for omap3-evm

In reply to Tony Lindgren

Looks like the main difference between the TMDSEVM3530 and TMDSEVM3730 is just the omap processor:

http://www.ti.com/tool/tmdsevm3530
http://www.ti.com/tool/tmdsevm3730

So let's add a common file for the EVMs, and fix the description for the omap3-evm.dst as that's clearly for the TMDSEVM3530 since it includes omap34xx.dtsi. It cannot support the TMDSEVM3730 properly, and we need a separate file for that in the following patch.

---
 arch/arm/boot/dts/omap3-evm-common.dtsi |   60 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-evm.dts         |   58 +-----------------------------
 2 files changed, 62 insertions(+), 56 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-evm-common.dtsi
arch/arm/boot/dts/omap3-evm-common.dtsi new file +60 -0
new file mode 100644
index 0000000..75753bb
@@ -0,0 +1,60 @@
+/*
+ * Common support for omap3 EVM boards
+ */
+
+/ {
+	cpus {
+		cpu at 0 {
+			cpu0-supply = <&vcc>;
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		ledb {
+			label = "omap3evm::ledb";
+			gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
+			linux,default-trigger = "default-on";
+		};
+	};
+};
+
+&i2c1 {
+	clock-frequency = <2600000>;
+
+	twl: twl at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+#include "twl4030.dtsi"
+#include "twl4030_omap3.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+
+	/*
+	 * TVP5146 Video decoder-in for analog input support.
+	 */
+	tvp5146 at 5c {
+		compatible = "ti,tvp5146m2";
+		reg = <0x5c>;
+	};
+};
+
+&twl_gpio {
+	ti,use-leds;
+};
+
+&usb_otg_hs {
+	interface-type = <0>;
+	usb-phy = <&usb2_phy>;
+	mode = <3>;
+	power = <50>;
+};
arch/arm/boot/dts/omap3-evm.dts +2 -56

70 lines not on this page · raw message

author maintainer
#5 lore raw

PATCH 5/8 ARM: dts: Add basic support for TMDSEVM3730 (Mistral AM/DM37x EVM)

In reply to Tony Lindgren

I've tested the serial, MMC, smsc911x, wl12xx, and off-idle support with the pinctrl patches, so it probably works better than the board-*.c files ever did. Also the board-omap3evm.c file is broken for the DSS, and has been for a while. Patches are welcome to fix it in this .dts file, let's just drop the board-*.c file for this.

Note that off-idle currently requires doing request_irq() on the wake-up pin from pinctrl-single IRQ domain until we can handle that in some Linux generic way.

---
 arch/arm/boot/dts/Makefile              |    1 
 arch/arm/boot/dts/omap3-evm-37xx.dts    |  146 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-evm-common.dtsi |   36 ++++++++
 3 files changed, 183 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-evm-37xx.dts
arch/arm/boot/dts/Makefile +1 -0
index 802720e..3c4e105 100644
@@ -172,6 +172,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-devkit8000.dtb \
 	omap3-beagle-xm.dtb \
 	omap3-evm.dtb \
+	omap3-evm-37xx.dtb \
 	omap3-tobi.dtb \
 	omap3-igep0020.dtb \
 	omap3-igep0030.dtb \
arch/arm/boot/dts/omap3-evm-37xx.dts new file +146 -0

146 lines not on this page · raw message

arch/arm/boot/dts/omap3-evm-common.dtsi +36 -0
index 75753bb..0020b1d 100644
@@ -2,6 +2,8 @@
  * Common support for omap3 EVM boards
  */
 
+#include "omap-gpmc-smsc911x.dtsi"
+
 / {
 	cpus {
 		cpu at 0 {
@@ -17,6 +19,19 @@
 			linux,default-trigger = "default-on";
 		};
 	};
+
+	wl12xx_vmmc: wl12xx_vmmc {
+		pinctrl-names = "default";
+		pinctrl-0 = <&wl12xx_gpio>;
+		compatible = "regulator-fixed";
+		regulator-name = "vwl1271";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		gpio = <&gpio5 22 0>;	/* gpio150 */
+		startup-delay-us = <70000>;
+		enable-active-high;
+		vin-supply = <&vmmc2>;
+	};
 };
 
 &i2c1 {
@@ -48,6 +63,19 @@
 	};
 };
 
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	vmmc_aux-supply = <&vsim>;
+	bus-width = <8>;
+};
+
+&mmc2 {
+	vmmc-supply = <&wl12xx_vmmc>;
+	non-removable;
+	bus-width = <4>;
+	cap-power-off-card;
+};
+
 &twl_gpio {
 	ti,use-leds;
 };
@@ -58,3 +86,11 @@
 	mode = <3>;
 	power = <50>;
 };
+
+&gpmc {
+	ethernet at gpmc {
+		interrupt-parent = <&gpio6>;
+		interrupts = <16 8>;
+		reg = <5 0 0xff>;
+	};
+};
author maintainer
#6 lore raw

PATCH 5/8 ARM: dts: Add basic support for TMDSEVM3730 (Mistral AM/DM37x EVM)

Quoted 5 lines · Tony Lindgren

I've tested the serial, MMC, smsc911x, wl12xx, and off-idle support with the pinctrl patches, so it probably works better than the board-*.c files ever did. Also the board-omap3evm.c file is broken for the DSS, and has been for a while. Patches are welcome to fix it in this .dts file, let's just drop the board-*.c file for this.

Oops, the NAND I did not test and the copied partition map is different from the board file. Here's the updated partition map. I've tested the NAND using ubifs on the last partition.

I'm folding in the following fix as I did not push it out yet.

Regards,

Tony

arch/arm/boot/dts/omap3-evm-37xx.dts +7 -7
@@ -94,7 +94,7 @@
 		 <5 0 0x2c000000 0x01000000>;
 
 	nand at 0,0 {
-		linux,mtd-name= "micron,mt29c4g96maz";
+		linux,mtd-name= "hynix,h8kds0un0mer-4em";
 		reg = <0 0 0>;
 		nand-bus-width = <16>;
 		ti,nand-ecc-opt = "bch8";
@@ -118,24 +118,24 @@
 		#size-cells = <1>;
 
 		partition at 0 {
-			label = "SPL";
-			reg = <0 0x100000>;
+			label = "X-Loader";
+			reg = <0 0x80000>;
 		};
 		partition at 0x80000 {
 			label = "U-Boot";
-			reg = <0x100000 0x180000>;
+			reg = <0x80000 0x1c0000>;
 		};
 		partition at 0x1c0000 {
 			label = "Environment";
-			reg = <0x280000 0x100000>;
+			reg = <0x240000 0x40000>;
 		};
 		partition at 0x280000 {
 			label = "Kernel";
-			reg = <0x380000 0x300000>;
+			reg = <0x280000 0x500000>;
 		};
 		partition at 0x780000 {
 			label = "Filesystem";
-			reg = <0x680000 0x1f980000>;
+			reg = <0x780000 0x1f880000>;
 		};
 	};
 
author maintainer
#7 lore raw

PATCH 6/8 ARM: dts: Add basic support for zoom3

In reply to Tony Lindgren

I've tested serial, MMC, smsc911x and wl12xx on zoom3. As my omap is an early ES revision, I have not been able to test off-idle on this one. But anyways, I'd say we have enough device tree support for the zoom to be able to drop the board-zoom files. Patches are welcome to add further features to this .dts file.

---
 arch/arm/boot/dts/Makefile              |    1 
 arch/arm/boot/dts/omap-zoom-common.dtsi |   33 +++++
 arch/arm/boot/dts/omap3-zoom3.dts       |  217 +++++++++++++++++++++++++++++++
 3 files changed, 251 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap-zoom-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-zoom3.dts
arch/arm/boot/dts/Makefile +1 -0
index 3c4e105..ce332c8 100644
@@ -176,6 +176,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-tobi.dtb \
 	omap3-igep0020.dtb \
 	omap3-igep0030.dtb \
+	omap3-zoom3.dtb \
 	omap4-panda.dtb \
 	omap4-panda-a4.dtb \
 	omap4-panda-es.dtb \
arch/arm/boot/dts/omap-zoom-common.dtsi new file +33 -0
new file mode 100644
index 0000000..b0ee342
@@ -0,0 +1,33 @@
+/*
+ * Common features on the Zoom debug board
+ */
+
+#include "omap-gpmc-smsc911x.dtsi"
+
+&gpmc {
+	ranges = <3 0 0x10000000 0x00000400>,
+		 <7 0 0x2c000000 0x01000000>;
+
+	/*
+	 * Four port TL16CP754C serial port on GPMC,
+	 * they probably share the same GPIO IRQ
+	 * REVISIT: Add timing support from slls644g.pdf
+	 */
+	8250 at 3,0 {
+		compatible = "ns16550a";
+		reg = <3 0 0x100>;
+		bank-width = <2>;
+		reg-shift = <1>;
+		reg-io-width = <1>;
+		interrupt-parent = <&gpio4>;
+		interrupts = <6 IRQ_TYPE_EDGE_RISING>;	/* gpio102 */
+		clock-frequency = <1843200>;
+		current-speed = <115200>;
+	};
+
+	ethernet at gpmc {
+		reg = <7 0 0xff>;
+		interrupt-parent = <&gpio5>;
+		interrupts = <30 IRQ_TYPE_LEVEL_LOW>;	/* gpio158 */
+	};
+};
arch/arm/boot/dts/omap3-zoom3.dts new file +217 -0

217 lines not on this page · raw message

author maintainer
#8 lore raw

PATCH 7/8 ARM: OMAP2+: Remove legacy booting support for omap3 EVM

In reply to Tony Lindgren

We now have pretty decent support with the device tree based booting. Patches to add more features are welcome.

---
 arch/arm/mach-omap2/Kconfig          |    6 
 arch/arm/mach-omap2/Makefile         |    1 
 arch/arm/mach-omap2/board-omap3evm.c |  756 ----------------------------------
 3 files changed, 763 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/Kconfig +0 -6
index f6a1db1..91a65b3 100644
@@ -256,12 +256,6 @@ config MACH_OVERO
 	default y
 	select OMAP_PACKAGE_CBB
 
-config MACH_OMAP3EVM
-	bool "OMAP 3530 EVM board"
-	depends on ARCH_OMAP3
-	default y
-	select OMAP_PACKAGE_CBB
-
 config MACH_OMAP3517EVM
 	bool "OMAP3517/ AM3517 EVM board"
 	depends on ARCH_OMAP3
arch/arm/mach-omap2/Makefile +0 -1
index f8d4a1b..7be6e3a 100644
@@ -242,7 +242,6 @@ obj-$(CONFIG_MACH_OMAP_LDP)		+= board-ldp.o
 obj-$(CONFIG_MACH_OMAP3530_LV_SOM)      += board-omap3logic.o
 obj-$(CONFIG_MACH_OMAP3_TORPEDO)        += board-omap3logic.o
 obj-$(CONFIG_MACH_OVERO)		+= board-overo.o
-obj-$(CONFIG_MACH_OMAP3EVM)		+= board-omap3evm.o
 obj-$(CONFIG_MACH_OMAP3_PANDORA)	+= board-omap3pandora.o
 obj-$(CONFIG_MACH_OMAP_3430SDP)		+= board-3430sdp.o
 obj-$(CONFIG_MACH_NOKIA_N8X0)		+= board-n8x0.o
arch/arm/mach-omap2/board-omap3evm.c deleted +0 -756

756 lines not on this page · raw message

author maintainer
#9 lore raw

PATCH 8/8 ARM: OMAP2+: Remove legacy support for zoom platforms

In reply to Tony Lindgren

We now have pretty decent device tree based support for zoom platforms. It's not complete, but basics work for me so adding more features should be quite trivial.

Looks like also 3630 sdp is zoom based, and looking at it's board file should also be trivial to support with the device tree based booting.

Patches are welcome if people are still using these.

---
 arch/arm/mach-omap2/Kconfig                  |   20 -
 arch/arm/mach-omap2/Makefile                 |    9 -
 arch/arm/mach-omap2/board-3630sdp.c          |  225 ----------------
 arch/arm/mach-omap2/board-ldp.c              |    3 
 arch/arm/mach-omap2/board-zoom-debugboard.c  |  139 ----------
 arch/arm/mach-omap2/board-zoom-display.c     |   71 -----
 arch/arm/mach-omap2/board-zoom-peripherals.c |  360 --------------------------
 arch/arm/mach-omap2/board-zoom.c             |  159 -----------
 arch/arm/mach-omap2/board-zoom.h             |   10 -
 9 files changed, 1 insertion(+), 995 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/board-3630sdp.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-debugboard.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-display.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom-peripherals.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom.c
 delete mode 100644 arch/arm/mach-omap2/board-zoom.h
arch/arm/mach-omap2/Kconfig +0 -20
index 91a65b3..216154d 100644
@@ -317,20 +317,6 @@ config MACH_NOKIA_RX51
 	default y
 	select OMAP_PACKAGE_CBB
 
-config MACH_OMAP_ZOOM2
-	bool "OMAP3 Zoom2 board"
-	depends on ARCH_OMAP3
-	default y
-	select OMAP_PACKAGE_CBB
-	select REGULATOR_FIXED_VOLTAGE if REGULATOR
-
-config MACH_OMAP_ZOOM3
-	bool "OMAP3630 Zoom3 board"
-	depends on ARCH_OMAP3
-	default y
-	select OMAP_PACKAGE_CBP
-	select REGULATOR_FIXED_VOLTAGE if REGULATOR
-
 config MACH_CM_T35
 	bool "CompuLab CM-T35/CM-T3730 modules"
 	depends on ARCH_OMAP3
@@ -366,12 +352,6 @@ config MACH_SBC3530
 	default y
 	select OMAP_PACKAGE_CUS
 
-config MACH_OMAP_3630SDP
-	bool "OMAP3630 SDP board"
-	depends on ARCH_OMAP3
-	default y
-	select OMAP_PACKAGE_CBP
-
 config MACH_TI8168EVM
 	bool "TI8168 Evaluation Module"
 	depends on SOC_TI81XX
arch/arm/mach-omap2/Makefile +0 -9
index 7be6e3a..9d78b49 100644
@@ -249,15 +249,6 @@ obj-$(CONFIG_MACH_NOKIA_RM680)		+= board-rm680.o sdram-nokia.o
 obj-$(CONFIG_MACH_NOKIA_RX51)		+= board-rx51.o sdram-nokia.o
 obj-$(CONFIG_MACH_NOKIA_RX51)		+= board-rx51-peripherals.o
 obj-$(CONFIG_MACH_NOKIA_RX51)		+= board-rx51-video.o
-obj-$(CONFIG_MACH_OMAP_ZOOM2)		+= board-zoom.o board-zoom-peripherals.o
-obj-$(CONFIG_MACH_OMAP_ZOOM2)		+= board-zoom-display.o
-obj-$(CONFIG_MACH_OMAP_ZOOM2)		+= board-zoom-debugboard.o
-obj-$(CONFIG_MACH_OMAP_ZOOM3)		+= board-zoom.o board-zoom-peripherals.o
-obj-$(CONFIG_MACH_OMAP_ZOOM3)		+= board-zoom-display.o
-obj-$(CONFIG_MACH_OMAP_ZOOM3)		+= board-zoom-debugboard.o
-obj-$(CONFIG_MACH_OMAP_3630SDP)		+= board-3630sdp.o
-obj-$(CONFIG_MACH_OMAP_3630SDP)		+= board-zoom-peripherals.o
-obj-$(CONFIG_MACH_OMAP_3630SDP)		+= board-zoom-display.o
 obj-$(CONFIG_MACH_CM_T35)		+= board-cm-t35.o
 obj-$(CONFIG_MACH_CM_T3517)		+= board-cm-t3517.o
 obj-$(CONFIG_MACH_IGEP0020)		+= board-igep0020.o
arch/arm/mach-omap2/board-3630sdp.c deleted +0 -225

225 lines not on this page · raw message

arch/arm/mach-omap2/board-ldp.c +1 -2
index dd8da2c..4ec8d82 100644
@@ -36,7 +36,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include "board-zoom.h"
 #include "gpmc.h"
 #include "gpmc-smsc911x.h"
 
@@ -406,7 +405,7 @@ static void __init omap_ldp_init(void)
 	usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
 	usb_musb_init(NULL);
 	board_nand_init(ldp_nand_partitions, ARRAY_SIZE(ldp_nand_partitions),
-			ZOOM_NAND_CS, 0, nand_default_timings);
+			0, 0, nand_default_timings);
 
 	omap_hsmmc_init(mmc);
 	ldp_display_init();
arch/arm/mach-omap2/board-zoom-debugboard.c deleted +0 -139

139 lines not on this page · raw message

arch/arm/mach-omap2/board-zoom-display.c deleted +0 -71

71 lines not on this page · raw message

arch/arm/mach-omap2/board-zoom-peripherals.c deleted +0 -360

360 lines not on this page · raw message

arch/arm/mach-omap2/board-zoom.c deleted +0 -159

159 lines not on this page · raw message

arch/arm/mach-omap2/board-zoom.h deleted +0 -10
deleted file mode 100644
index 2e94869..0000000
@@ -1,10 +0,0 @@
-/*
- * Defines for zoom boards
- */
-#include <video/omapdss.h>
-
-#define ZOOM_NAND_CS    0
-
-extern int __init zoom_debugboard_init(void);
-extern void __init zoom_peripherals_init(void);
-extern void __init zoom_display_init(void);