aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2012-12-29 06:56:56 +1100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2013-03-09 15:43:05 +0100
commit5408f4fc887a83e063da2a441c5578e09eb28940 (patch)
treed0ac1f81cea7f1196deefee46fa1f639155426ef
parentae7cef857a21f11dba4d2e1fa88206afd764d069 (diff)
downloadkernel_goldelico_gta04-5408f4fc887a83e063da2a441c5578e09eb28940.zip
kernel_goldelico_gta04-5408f4fc887a83e063da2a441c5578e09eb28940.tar.gz
kernel_goldelico_gta04-5408f4fc887a83e063da2a441c5578e09eb28940.tar.bz2
arm/dts: Add basic support for gta04 (Openmoko next generation) board.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
-rw-r--r--arch/arm/boot/dts/omap3-gta04.dts65
1 files changed, 65 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
new file mode 100644
index 0000000..76efd13
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2012 Marek Belisko <marek.belisko@open-nandra.com>
+ *
+ * Based on omap3-beagle-xm.dts
+ *
+ * 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"
+
+/ {
+ model = "OMAP3 GTA04";
+ compatible = "ti,omap3-gta04", "ti,omap3";
+
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x20000000>; /* 512 MB */
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ aux-button {
+ label = "AUX";
+ linux,code = <169>;
+ gpios = <&gpio1 7 1>;
+ gpio-key,wakeup;
+ };
+ };
+};
+
+&i2c1 {
+ clock-frequency = <2600000>;
+
+ twl: twl@48 {
+ reg = <0x48>;
+ interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+ interrupt-parent = <&intc>;
+ };
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+ clock-frequency = <400000>;
+ /* Pressure Sensor */
+ bmp085@77 {
+ compatible = "bosch,bmp085";
+ reg = <0x77>;
+ };
+};
+
+&i2c3 {
+ clock-frequency = <100000>;
+};
+
+&mmc1 {
+ vmmc-supply = <&vmmc1>;
+ bus-width = <4>;
+};
+