mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Belisko <marek@goldelico.com>
To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	linux@arm.linux.org.uk, bcousson@baylibre.com, tony@atomide.com
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	hns@goldelico.com, Marek Belisko <marek@goldelico.com>
Subject: [PATCH 4/5] arm: dts: Add gta04+b2 model bindings
Date: Mon, 14 Jul 2014 22:20:27 +0200	[thread overview]
Message-ID: <1405369228-27197-5-git-send-email-marek@goldelico.com> (raw)
In-Reply-To: <1405369228-27197-1-git-send-email-marek@goldelico.com>

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 arch/arm/boot/dts/Makefile           |  1 +
 arch/arm/boot/dts/omap3-gta04+b2.dts | 99 ++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-gta04+b2.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 05aa484..b04a57e 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -281,6 +281,7 @@ dtb-$(CONFIG_ARCH_OMAP3) += am3517-craneboard.dtb \
 	omap3-evm-37xx.dtb \
 	omap3-gta04a3.dtb \
 	omap3-gta04a4.dtb \
+	omap3-gta04+b2.dtb \
 	omap3-igep0020.dtb \
 	omap3-igep0030.dtb \
 	omap3-ldp.dtb \
diff --git a/arch/arm/boot/dts/omap3-gta04+b2.dts b/arch/arm/boot/dts/omap3-gta04+b2.dts
new file mode 100644
index 0000000..b68cc6e
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04+b2.dts
@@ -0,0 +1,99 @@
+/*
+ * Copyright (C) 2014 H. Nikolaus Schaller <marek@goldelico.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-gta04.dtsi"
+
+/ {
+	model = "Goldelico GTA04b2/Letux 3704";
+
+	aliases {
+		display0 = &lcd_b2;
+	};
+
+	lcd_b2: lcd {
+		compatible =	"ortustech,com37h3m05dtc",
+				"ortustech,com37h3m099dtc",
+				"panel-dpi";
+		label = "lcd";
+		enable-gpios = <&gpio1 20 0>;
+
+		panel-timing {
+			clock-frequency = <22153000>;
+
+			hback-porch = <10>;
+			hactive = <480>;
+			hfront-porch = <8>;
+			hsync-len = <10>;
+
+			vback-porch = <4>;
+			vactive = <640>;
+			vfront-porch = <4>;
+			vsync-len = <3>;
+
+			hsync-active = <0>;
+			vsync-active = <0>;
+			de-active = <1>;
+			pixelclk-active = <1>;
+
+		};
+
+		port {
+			lcd_b2_in: endpoint {
+				remote-endpoint = <&dpi_out>;
+			};
+		};
+	};
+};
+
+&dss {
+	pinctrl-names = "default";
+	pinctrl-0 = < &dss_dpi_pins >;
+
+	status = "okay";
+
+	port {
+		dpi_out: endpoint {
+			remote-endpoint = <&lcd_b2_in>;
+			data-lines = <24>;
+		};
+	};
+};
+
+&spi_lcd {
+	compatible = "none";
+};
+
+&madc_battery {
+	capacity = <3900000>;
+};
+
+&i2c2 {
+	/* we have a different set of LEDs */
+	tca_gpios: 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_led3: red_power@3 {
+			label = "gta04:red:power";
+			reg = <0x3>;
+			linux,default-trigger = "default-on";
+		};
+
+		wifi_reset: wifi_reset@6 {
+			reg = <0x6>;
+			compatible = "gpio";
+		};
+	};
+};
-- 
1.9.1


  parent reply	other threads:[~2014-07-14 20:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 20:20 [PATCH 0/5] Add gta04 board variants Marek Belisko
2014-07-14 20:20 ` [PATCH 1/5] arm: dts: omap3-gta04: Add missing nodes to fully describe gta04 board Marek Belisko
2014-07-15 12:45   ` Joachim Eastwood
2014-07-16  7:17     ` Dr. H. Nikolaus Schaller
2014-07-18  6:55       ` Joachim Eastwood
2014-07-18  9:21         ` Javier Martinez Canillas
2014-07-19  9:54           ` Dr. H. Nikolaus Schaller
2014-07-14 20:20 ` [PATCH 2/5] arm: dts: omap3-gta04: Rename gta04.dts to gta04.dtsi and add a4 model Marek Belisko
2014-07-14 20:20 ` [PATCH 3/5] arm: dts: Add gta04a3 model Marek Belisko
2014-07-14 20:20 ` Marek Belisko [this message]
2014-07-14 20:20 ` [PATCH 5/5] arm: dts: Add gta04+b3 model bindings Marek Belisko
2014-07-15 12:04 ` [PATCH 0/5] Add gta04 board variants Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405369228-27197-5-git-send-email-marek@goldelico.com \
    --to=marek@goldelico.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=hns@goldelico.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®