All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2012-10-30 21:42 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2012-10-30 21:42 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: devicetree-discuss, Marek Belisko

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

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>;
+};
+
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2012-10-30 21:42 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2012-10-30 21:42 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

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 at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+	/* Pressure Sensor */
+	bmp085 at 77 {
+		compatible = "bosch,bmp085";
+		reg = <0x77>;
+	};
+};
+
+&i2c3 {
+	clock-frequency = <100000>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	bus-width = <4>;
+};
+
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
  2012-10-30 21:42 ` Marek Belisko
@ 2012-11-14 20:26   ` Belisko Marek
  -1 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2012-11-14 20:26 UTC (permalink / raw)
  To: grant.likely, Rob Herring
  Cc: linux-arm-kernel, linux-kernel, devicetree-discuss, Marek Belisko

CC' Grant & Rob

On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 65 insertions(+)
>  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>
> 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>;
> +};
> +
> --
> 1.7.9.5
>



-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2012-11-14 20:26   ` Belisko Marek
  0 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2012-11-14 20:26 UTC (permalink / raw)
  To: linux-arm-kernel

CC' Grant & Rob

On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 65 insertions(+)
>  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>
> 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 at 48 {
> +               reg = <0x48>;
> +               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
> +               interrupt-parent = <&intc>;
> +       };
> +};
> +
> +/include/ "twl4030.dtsi"
> +
> +&i2c2 {
> +       clock-frequency = <400000>;
> +       /* Pressure Sensor */
> +       bmp085 at 77 {
> +               compatible = "bosch,bmp085";
> +               reg = <0x77>;
> +       };
> +};
> +
> +&i2c3 {
> +       clock-frequency = <100000>;
> +};
> +
> +&mmc1 {
> +       vmmc-supply = <&vmmc1>;
> +       bus-width = <4>;
> +};
> +
> --
> 1.7.9.5
>



-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
  2012-11-14 20:26   ` Belisko Marek
@ 2012-11-15 11:59     ` Grant Likely
  -1 siblings, 0 replies; 17+ messages in thread
From: Grant Likely @ 2012-11-15 11:59 UTC (permalink / raw)
  To: Belisko Marek, Rob Herring
  Cc: linux-arm-kernel, linux-kernel, devicetree-discuss, Marek Belisko

On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
> CC' Grant & Rob

Hi Marek

Since this is an OMAP board, you should send the changes to Tony and
they should be merged through the arm-soc tree.

g.

> 
> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
> <marek.belisko@open-nandra.com> wrote:
> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> > ---
> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
> >  1 file changed, 65 insertions(+)
> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
> >
> > 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>;
> > +};
> > +
> > --
> > 1.7.9.5
> >
> 
> 
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2012-11-15 11:59     ` Grant Likely
  0 siblings, 0 replies; 17+ messages in thread
From: Grant Likely @ 2012-11-15 11:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
> CC' Grant & Rob

Hi Marek

Since this is an OMAP board, you should send the changes to Tony and
they should be merged through the arm-soc tree.

g.

> 
> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
> <marek.belisko@open-nandra.com> wrote:
> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> > ---
> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
> >  1 file changed, 65 insertions(+)
> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
> >
> > 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 at 48 {
> > +               reg = <0x48>;
> > +               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
> > +               interrupt-parent = <&intc>;
> > +       };
> > +};
> > +
> > +/include/ "twl4030.dtsi"
> > +
> > +&i2c2 {
> > +       clock-frequency = <400000>;
> > +       /* Pressure Sensor */
> > +       bmp085 at 77 {
> > +               compatible = "bosch,bmp085";
> > +               reg = <0x77>;
> > +       };
> > +};
> > +
> > +&i2c3 {
> > +       clock-frequency = <100000>;
> > +};
> > +
> > +&mmc1 {
> > +       vmmc-supply = <&vmmc1>;
> > +       bus-width = <4>;
> > +};
> > +
> > --
> > 1.7.9.5
> >
> 
> 
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
  2012-11-15 11:59     ` Grant Likely
@ 2012-11-15 13:29       ` Belisko Marek
  -1 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2012-11-15 13:29 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, devicetree-discuss; +Cc: Tony Lindgren

CC'ing Tony

On Thu, Nov 15, 2012 at 12:59 PM, Grant Likely
<grant.likely@secretlab.ca> wrote:
> On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
>> CC' Grant & Rob
>
> Hi Marek
>
> Since this is an OMAP board, you should send the changes to Tony and
> they should be merged through the arm-soc tree.
>
> g.
>
>>
>> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
>> <marek.belisko@open-nandra.com> wrote:
>> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>> > ---
>> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
>> >  1 file changed, 65 insertions(+)
>> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>> >
>> > 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>;
>> > +};
>> > +
>> > --
>> > 1.7.9.5
>> >
>>
>>
>>
>> --
>> as simple and primitive as possible
>> -------------------------------------------------
>> Marek Belisko - OPEN-NANDRA
>> Freelance Developer
>>
>> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
>> Tel: +421 915 052 184
>> skype: marekwhite
>> twitter: #opennandra
>> web: http://open-nandra.com
>
> --
> Grant Likely, B.Sc, P.Eng.
> Secret Lab Technologies, Ltd.

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2012-11-15 13:29       ` Belisko Marek
  0 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2012-11-15 13:29 UTC (permalink / raw)
  To: linux-arm-kernel

CC'ing Tony

On Thu, Nov 15, 2012 at 12:59 PM, Grant Likely
<grant.likely@secretlab.ca> wrote:
> On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
>> CC' Grant & Rob
>
> Hi Marek
>
> Since this is an OMAP board, you should send the changes to Tony and
> they should be merged through the arm-soc tree.
>
> g.
>
>>
>> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
>> <marek.belisko@open-nandra.com> wrote:
>> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>> > ---
>> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
>> >  1 file changed, 65 insertions(+)
>> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>> >
>> > 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 at 48 {
>> > +               reg = <0x48>;
>> > +               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
>> > +               interrupt-parent = <&intc>;
>> > +       };
>> > +};
>> > +
>> > +/include/ "twl4030.dtsi"
>> > +
>> > +&i2c2 {
>> > +       clock-frequency = <400000>;
>> > +       /* Pressure Sensor */
>> > +       bmp085 at 77 {
>> > +               compatible = "bosch,bmp085";
>> > +               reg = <0x77>;
>> > +       };
>> > +};
>> > +
>> > +&i2c3 {
>> > +       clock-frequency = <100000>;
>> > +};
>> > +
>> > +&mmc1 {
>> > +       vmmc-supply = <&vmmc1>;
>> > +       bus-width = <4>;
>> > +};
>> > +
>> > --
>> > 1.7.9.5
>> >
>>
>>
>>
>> --
>> as simple and primitive as possible
>> -------------------------------------------------
>> Marek Belisko - OPEN-NANDRA
>> Freelance Developer
>>
>> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
>> Tel: +421 915 052 184
>> skype: marekwhite
>> twitter: #opennandra
>> web: http://open-nandra.com
>
> --
> Grant Likely, B.Sc, P.Eng.
> Secret Lab Technologies, Ltd.

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-01-21 18:46         ` Tony Lindgren
  0 siblings, 0 replies; 17+ messages in thread
From: Tony Lindgren @ 2013-01-21 18:46 UTC (permalink / raw)
  To: Belisko Marek; +Cc: linux-arm-kernel, linux-kernel, devicetree-discuss

* Belisko Marek <marek.belisko@gmail.com> [121115 05:31]:
> CC'ing Tony
> 
> On Thu, Nov 15, 2012 at 12:59 PM, Grant Likely
> <grant.likely@secretlab.ca> wrote:
> > On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
> >> CC' Grant & Rob
> >
> > Hi Marek
> >
> > Since this is an OMAP board, you should send the changes to Tony and
> > they should be merged through the arm-soc tree.

Looks like this one fell through the cracks for v3.8 merge
window. Can you please update it and send it to Benoit with
linux-omap and LAKML lists cc:d?

Now scripts/get_maintainer.pl should do the right trick for
this patch.

Regards,

Tony


> > g.
> >
> >>
> >> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
> >> <marek.belisko@open-nandra.com> wrote:
> >> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> >> > ---
> >> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
> >> >  1 file changed, 65 insertions(+)
> >> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
> >> >
> >> > 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>;
> >> > +};
> >> > +
> >> > --
> >> > 1.7.9.5
> >> >
> >>
> >>
> >>
> >> --
> >> as simple and primitive as possible
> >> -------------------------------------------------
> >> Marek Belisko - OPEN-NANDRA
> >> Freelance Developer
> >>
> >> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> >> Tel: +421 915 052 184
> >> skype: marekwhite
> >> twitter: #opennandra
> >> web: http://open-nandra.com
> >
> > --
> > Grant Likely, B.Sc, P.Eng.
> > Secret Lab Technologies, Ltd.
> 
> Marek
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-01-21 18:46         ` Tony Lindgren
  0 siblings, 0 replies; 17+ messages in thread
From: Tony Lindgren @ 2013-01-21 18:46 UTC (permalink / raw)
  To: Belisko Marek
  Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

* Belisko Marek <marek.belisko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [121115 05:31]:
> CC'ing Tony
> 
> On Thu, Nov 15, 2012 at 12:59 PM, Grant Likely
> <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> wrote:
> > On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> CC' Grant & Rob
> >
> > Hi Marek
> >
> > Since this is an OMAP board, you should send the changes to Tony and
> > they should be merged through the arm-soc tree.

Looks like this one fell through the cracks for v3.8 merge
window. Can you please update it and send it to Benoit with
linux-omap and LAKML lists cc:d?

Now scripts/get_maintainer.pl should do the right trick for
this patch.

Regards,

Tony


> > g.
> >
> >>
> >> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
> >> <marek.belisko-e6Ot0yJZRx5zTq7rFmK8cA@public.gmane.org> wrote:
> >> > Signed-off-by: Marek Belisko <marek.belisko-e6Ot0yJZRx5zTq7rFmK8cA@public.gmane.org>
> >> > ---
> >> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
> >> >  1 file changed, 65 insertions(+)
> >> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
> >> >
> >> > 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-e6Ot0yJZRx5zTq7rFmK8cA@public.gmane.org>
> >> > + *
> >> > + * 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>;
> >> > +};
> >> > +
> >> > --
> >> > 1.7.9.5
> >> >
> >>
> >>
> >>
> >> --
> >> as simple and primitive as possible
> >> -------------------------------------------------
> >> Marek Belisko - OPEN-NANDRA
> >> Freelance Developer
> >>
> >> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> >> Tel: +421 915 052 184
> >> skype: marekwhite
> >> twitter: #opennandra
> >> web: http://open-nandra.com
> >
> > --
> > Grant Likely, B.Sc, P.Eng.
> > Secret Lab Technologies, Ltd.
> 
> Marek
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-01-21 18:46         ` Tony Lindgren
  0 siblings, 0 replies; 17+ messages in thread
From: Tony Lindgren @ 2013-01-21 18:46 UTC (permalink / raw)
  To: linux-arm-kernel

* Belisko Marek <marek.belisko@gmail.com> [121115 05:31]:
> CC'ing Tony
> 
> On Thu, Nov 15, 2012 at 12:59 PM, Grant Likely
> <grant.likely@secretlab.ca> wrote:
> > On Wed, 14 Nov 2012 21:26:58 +0100, Belisko Marek <marek.belisko@gmail.com> wrote:
> >> CC' Grant & Rob
> >
> > Hi Marek
> >
> > Since this is an OMAP board, you should send the changes to Tony and
> > they should be merged through the arm-soc tree.

Looks like this one fell through the cracks for v3.8 merge
window. Can you please update it and send it to Benoit with
linux-omap and LAKML lists cc:d?

Now scripts/get_maintainer.pl should do the right trick for
this patch.

Regards,

Tony


> > g.
> >
> >>
> >> On Tue, Oct 30, 2012 at 10:42 PM, Marek Belisko
> >> <marek.belisko@open-nandra.com> wrote:
> >> > Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> >> > ---
> >> >  arch/arm/boot/dts/omap3-gta04.dts |   65 +++++++++++++++++++++++++++++++++++++
> >> >  1 file changed, 65 insertions(+)
> >> >  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
> >> >
> >> > 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 at 48 {
> >> > +               reg = <0x48>;
> >> > +               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
> >> > +               interrupt-parent = <&intc>;
> >> > +       };
> >> > +};
> >> > +
> >> > +/include/ "twl4030.dtsi"
> >> > +
> >> > +&i2c2 {
> >> > +       clock-frequency = <400000>;
> >> > +       /* Pressure Sensor */
> >> > +       bmp085 at 77 {
> >> > +               compatible = "bosch,bmp085";
> >> > +               reg = <0x77>;
> >> > +       };
> >> > +};
> >> > +
> >> > +&i2c3 {
> >> > +       clock-frequency = <100000>;
> >> > +};
> >> > +
> >> > +&mmc1 {
> >> > +       vmmc-supply = <&vmmc1>;
> >> > +       bus-width = <4>;
> >> > +};
> >> > +
> >> > --
> >> > 1.7.9.5
> >> >
> >>
> >>
> >>
> >> --
> >> as simple and primitive as possible
> >> -------------------------------------------------
> >> Marek Belisko - OPEN-NANDRA
> >> Freelance Developer
> >>
> >> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> >> Tel: +421 915 052 184
> >> skype: marekwhite
> >> twitter: #opennandra
> >> web: http://open-nandra.com
> >
> > --
> > Grant Likely, B.Sc, P.Eng.
> > Secret Lab Technologies, Ltd.
> 
> Marek
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-06-17 21:06 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2013-06-17 21:06 UTC (permalink / raw)
  To: b-cousson, tony
  Cc: linux-omap, devicetree-discuss, linux-arm-kernel, Marek Belisko

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
Resending because patch wasn't applied yet and was first time sent
in January.

 arch/arm/boot/dts/omap3-gta04.dts | 94 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
new file mode 100644
index 0000000..9e7e3ec
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -0,0 +1,94 @@
+/*
+ * Copyright (C) 2013 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>;
+	};
+
+	/* leds */
+	tca6507@45 {
+		compatible = "ti,tca6507";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x45>;
+
+		gta04_led0: red_aux@0 {
+			label = "gta04:red:aux";
+			reg = <0x0>;
+		};
+
+		gta04_led1: green_aux@1 {
+			label = "gta04:green:aux";
+			reg = <0x1>;
+		};
+
+		gta04_led3: red_power@3 {
+			label = "gta04:red:power";
+			reg = <0x3>;
+			linux,default-trigger = "default-on";
+		};
+
+		gta04_led4: green_power@4 {
+			label = "gta04:green:power";
+			reg = <0x4>;
+		};
+	};
+};
+
+&i2c3 {
+	clock-frequency = <100000>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	bus-width = <4>;
+};
+
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-06-17 21:06 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2013-06-17 21:06 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
Resending because patch wasn't applied yet and was first time sent
in January.

 arch/arm/boot/dts/omap3-gta04.dts | 94 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
new file mode 100644
index 0000000..9e7e3ec
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -0,0 +1,94 @@
+/*
+ * Copyright (C) 2013 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 at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+	/* Pressure Sensor */
+	bmp085 at 77 {
+		compatible = "bosch,bmp085";
+		reg = <0x77>;
+	};
+
+	/* leds */
+	tca6507 at 45 {
+		compatible = "ti,tca6507";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x45>;
+
+		gta04_led0: red_aux at 0 {
+			label = "gta04:red:aux";
+			reg = <0x0>;
+		};
+
+		gta04_led1: green_aux at 1 {
+			label = "gta04:green:aux";
+			reg = <0x1>;
+		};
+
+		gta04_led3: red_power at 3 {
+			label = "gta04:red:power";
+			reg = <0x3>;
+			linux,default-trigger = "default-on";
+		};
+
+		gta04_led4: green_power at 4 {
+			label = "gta04:green:power";
+			reg = <0x4>;
+		};
+	};
+};
+
+&i2c3 {
+	clock-frequency = <100000>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	bus-width = <4>;
+};
+
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
  2013-01-24 18:34 ` Marek Belisko
@ 2013-03-01 20:40   ` Belisko Marek
  -1 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2013-03-01 20:40 UTC (permalink / raw)
  To: b-cousson, Tony Lindgren
  Cc: linux-omap, devicetree-discuss, linux-arm-kernel, LKML, Marek Belisko

Ping. Any objections to that patch?

On Thu, Jan 24, 2013 at 7:34 PM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  arch/arm/boot/dts/omap3-gta04.dts |   94 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 94 insertions(+)
>  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>
> diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
> new file mode 100644
> index 0000000..9e7e3ec
> --- /dev/null
> +++ b/arch/arm/boot/dts/omap3-gta04.dts
> @@ -0,0 +1,94 @@
> +/*
> + * Copyright (C) 2013 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>;
> +       };
> +
> +       /* leds */
> +       tca6507@45 {
> +               compatible = "ti,tca6507";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               reg = <0x45>;
> +
> +               gta04_led0: red_aux@0 {
> +                       label = "gta04:red:aux";
> +                       reg = <0x0>;
> +               };
> +
> +               gta04_led1: green_aux@1 {
> +                       label = "gta04:green:aux";
> +                       reg = <0x1>;
> +               };
> +
> +               gta04_led3: red_power@3 {
> +                       label = "gta04:red:power";
> +                       reg = <0x3>;
> +                       linux,default-trigger = "default-on";
> +               };
> +
> +               gta04_led4: green_power@4 {
> +                       label = "gta04:green:power";
> +                       reg = <0x4>;
> +               };
> +       };
> +};
> +
> +&i2c3 {
> +       clock-frequency = <100000>;
> +};
> +
> +&mmc1 {
> +       vmmc-supply = <&vmmc1>;
> +       bus-width = <4>;
> +};
> +
> --
> 1.7.10.4
>

Regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-03-01 20:40   ` Belisko Marek
  0 siblings, 0 replies; 17+ messages in thread
From: Belisko Marek @ 2013-03-01 20:40 UTC (permalink / raw)
  To: linux-arm-kernel

Ping. Any objections to that patch?

On Thu, Jan 24, 2013 at 7:34 PM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  arch/arm/boot/dts/omap3-gta04.dts |   94 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 94 insertions(+)
>  create mode 100644 arch/arm/boot/dts/omap3-gta04.dts
>
> diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
> new file mode 100644
> index 0000000..9e7e3ec
> --- /dev/null
> +++ b/arch/arm/boot/dts/omap3-gta04.dts
> @@ -0,0 +1,94 @@
> +/*
> + * Copyright (C) 2013 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 at 48 {
> +               reg = <0x48>;
> +               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
> +               interrupt-parent = <&intc>;
> +       };
> +};
> +
> +/include/ "twl4030.dtsi"
> +
> +&i2c2 {
> +       clock-frequency = <400000>;
> +       /* Pressure Sensor */
> +       bmp085 at 77 {
> +               compatible = "bosch,bmp085";
> +               reg = <0x77>;
> +       };
> +
> +       /* leds */
> +       tca6507 at 45 {
> +               compatible = "ti,tca6507";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               reg = <0x45>;
> +
> +               gta04_led0: red_aux at 0 {
> +                       label = "gta04:red:aux";
> +                       reg = <0x0>;
> +               };
> +
> +               gta04_led1: green_aux at 1 {
> +                       label = "gta04:green:aux";
> +                       reg = <0x1>;
> +               };
> +
> +               gta04_led3: red_power at 3 {
> +                       label = "gta04:red:power";
> +                       reg = <0x3>;
> +                       linux,default-trigger = "default-on";
> +               };
> +
> +               gta04_led4: green_power at 4 {
> +                       label = "gta04:green:power";
> +                       reg = <0x4>;
> +               };
> +       };
> +};
> +
> +&i2c3 {
> +       clock-frequency = <100000>;
> +};
> +
> +&mmc1 {
> +       vmmc-supply = <&vmmc1>;
> +       bus-width = <4>;
> +};
> +
> --
> 1.7.10.4
>

Regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-01-24 18:34 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2013-01-24 18:34 UTC (permalink / raw)
  To: b-cousson, tony
  Cc: linux-omap, devicetree-discuss, linux-arm-kernel, linux-kernel,
	Marek Belisko

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 arch/arm/boot/dts/omap3-gta04.dts |   94 +++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
new file mode 100644
index 0000000..9e7e3ec
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -0,0 +1,94 @@
+/*
+ * Copyright (C) 2013 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>;
+	};
+
+	/* leds */
+	tca6507@45 {
+		compatible = "ti,tca6507";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x45>;
+
+		gta04_led0: red_aux@0 {
+			label = "gta04:red:aux";
+			reg = <0x0>;
+		};
+
+		gta04_led1: green_aux@1 {
+			label = "gta04:green:aux";
+			reg = <0x1>;
+		};
+
+		gta04_led3: red_power@3 {
+			label = "gta04:red:power";
+			reg = <0x3>;
+			linux,default-trigger = "default-on";
+		};
+
+		gta04_led4: green_power@4 {
+			label = "gta04:green:power";
+			reg = <0x4>;
+		};
+	};
+};
+
+&i2c3 {
+	clock-frequency = <100000>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	bus-width = <4>;
+};
+
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.
@ 2013-01-24 18:34 ` Marek Belisko
  0 siblings, 0 replies; 17+ messages in thread
From: Marek Belisko @ 2013-01-24 18:34 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 arch/arm/boot/dts/omap3-gta04.dts |   94 +++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04.dts

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
new file mode 100644
index 0000000..9e7e3ec
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -0,0 +1,94 @@
+/*
+ * Copyright (C) 2013 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 at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+	/* Pressure Sensor */
+	bmp085 at 77 {
+		compatible = "bosch,bmp085";
+		reg = <0x77>;
+	};
+
+	/* leds */
+	tca6507 at 45 {
+		compatible = "ti,tca6507";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x45>;
+
+		gta04_led0: red_aux at 0 {
+			label = "gta04:red:aux";
+			reg = <0x0>;
+		};
+
+		gta04_led1: green_aux at 1 {
+			label = "gta04:green:aux";
+			reg = <0x1>;
+		};
+
+		gta04_led3: red_power at 3 {
+			label = "gta04:red:power";
+			reg = <0x3>;
+			linux,default-trigger = "default-on";
+		};
+
+		gta04_led4: green_power at 4 {
+			label = "gta04:green:power";
+			reg = <0x4>;
+		};
+	};
+};
+
+&i2c3 {
+	clock-frequency = <100000>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
+	bus-width = <4>;
+};
+
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-06-17 21:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 21:42 [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board Marek Belisko
2012-10-30 21:42 ` Marek Belisko
2012-11-14 20:26 ` Belisko Marek
2012-11-14 20:26   ` Belisko Marek
2012-11-15 11:59   ` Grant Likely
2012-11-15 11:59     ` Grant Likely
2012-11-15 13:29     ` Belisko Marek
2012-11-15 13:29       ` Belisko Marek
2013-01-21 18:46       ` Tony Lindgren
2013-01-21 18:46         ` Tony Lindgren
2013-01-21 18:46         ` Tony Lindgren
2013-01-24 18:34 Marek Belisko
2013-01-24 18:34 ` Marek Belisko
2013-03-01 20:40 ` Belisko Marek
2013-03-01 20:40   ` Belisko Marek
2013-06-17 21:06 Marek Belisko
2013-06-17 21:06 ` Marek Belisko

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.