From patchwork Tue Apr 17 09:10:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 133525 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4489768ljb; Tue, 17 Apr 2018 02:11:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx48GZmRYern6NdQ5ddyWMQsLRmsCjUtR8KxanCcjRF5pz3BKEKc3QIGlt+WRHaJng6hZWoOS X-Received: by 2002:a17:902:7d10:: with SMTP id z16-v6mr1288093pll.79.1523956284779; Tue, 17 Apr 2018 02:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523956284; cv=none; d=google.com; s=arc-20160816; b=gf2Jyxw0YyjZOJrpWLdfsikjISlfz0NtPo7kamvVhe7nq2QImsSZnqnZyBc3zOv8Zz xKI7Pux4CZ5Nw4ofQh+KKrxg3QqmE2VK1su7QjPzQti3SbPyVNdrh+2wFcCIs/4UsAUV fKuRCBLAyfceAAY1pT4vWEFhdmdmj7MffNzR/W0ayvgVV4USUCK+mQTFuNxCCZ1iDe5Y 8plFr3+F4w2LzFUAi70eln8G2cBlkr1YBL0TGTUM6swic9N4tZJMkAe+f9l0ISFk0WiQ 494vGiw4eZHmZoOwv9928whphuOBiu1f7YqMEzX7KIZLwEEYwaJbYFIXPnWPUuM/x4nP 8hVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=lgc00zWQ6mSyT30tFlRPZzcPWXbYPba0kg7KZOAah7g=; b=xk4bDavfieMCjbRNQAwn/BQWhrZKJddD5Nq1j6HSgl74GXfw7gc/KfrzqTjoptSu/J TWLcuDlgKDg5ga10s6j8pZDqH9hdeei7l/6sKcxW/uChz51UjTera9X5XPN+6yL9Ej+W s/bdToeK58GdlKNC2kM1EAVe6NV+PN14Ten/Fjwqgx5O6l3FSwZQDECPfPaD8Gk5R5tr pYBzrwgGUJ3RxgVh4VJZo6RdEXFzopCNAQjuJ6Q5vNA6vRGOXhj4K0qsBheUN13EF8K/ bR9BMiVxuyt/w6TLs5ENXtVetRHS2+aOKz589OBCgjokOq1fQI2wNuxVC9BZXgkzsw1r s1Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=Em7OS28w; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25si12132209pfh.2.2018.04.17.02.11.24; Tue, 17 Apr 2018 02:11:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=Em7OS28w; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752261AbeDQJLX (ORCPT + 6 others); Tue, 17 Apr 2018 05:11:23 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:28787 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135AbeDQJLX (ORCPT ); Tue, 17 Apr 2018 05:11:23 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3H9BAua025678; Tue, 17 Apr 2018 04:11:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523956270; bh=7kj/OK5lu6SNXvt7146wBSogtMxBq4CvlI3ePp1NgUQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Em7OS28wouPhX1xohOkStNfulicJcgrhRZ4ZMeJpK1T8ferhv9tVbeojNRmCQ429F RlGciylGlpWmy/dbvOOqfix9N0PzoLml9vxVBnjZimRSq/1PZjgxmKpjaQmkNJr9Z3 PihbV1/bpY78VgD0kinZxpOqTT3rqZORs3lPinX8= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9BAm5021772; Tue, 17 Apr 2018 04:11:10 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 17 Apr 2018 04:11:10 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 17 Apr 2018 04:11:10 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9AdnD031430; Tue, 17 Apr 2018 04:11:06 -0500 From: Tero Kristo To: , , , CC: , , , Subject: [RFC 08/13] ARM: dts: ti: add dra71-evm overlays Date: Tue, 17 Apr 2018 12:10:10 +0300 Message-ID: <1523956215-28154-9-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523956215-28154-1-git-send-email-t-kristo@ti.com> References: <1523956215-28154-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add dra71-evm overlay files. There are two overlays available, the gpmc and the display ones. These are mutually exclusive, as they share certain hardware resources. Signed-off-by: Tero Kristo --- .../boot/dts/ti/dra71-evm-lcd-auo-g101evn01.0.dtso | 121 +++++++++++++++++++++ arch/arm/boot/dts/ti/dra71-evm-nand.dtso | 6 + 2 files changed, 127 insertions(+) create mode 100644 arch/arm/boot/dts/ti/dra71-evm-lcd-auo-g101evn01.0.dtso create mode 100644 arch/arm/boot/dts/ti/dra71-evm-nand.dtso -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/ti/dra71-evm-lcd-auo-g101evn01.0.dtso b/arch/arm/boot/dts/ti/dra71-evm-lcd-auo-g101evn01.0.dtso new file mode 100644 index 0000000..bebfe43 --- /dev/null +++ b/arch/arm/boot/dts/ti/dra71-evm-lcd-auo-g101evn01.0.dtso @@ -0,0 +1,121 @@ +/dts-v1/; +/plugin/; +#include +#include + +/ { + fragment@101 { + target-path = "/"; + + __overlay__ { + model = "TI DRA71 EVM-LCD-AUO-Display"; + + aliases { + display0 = "/display"; + display1 = "/connector"; + }; + + backlight { + compatible = "led-backlight"; + brightness-levels = <0 2 38 74 110 146 182 218 255>; + default-brightness-level = <8>; + enable-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>; + leds = <&backlight_led>; + }; + + lcd: display { + compatible = "auo,g101evn01.0", "panel-dpi"; + enable-gpios = <&pcf_lcd 13 GPIO_ACTIVE_LOW>; + label = "lcd"; + + panel-timing { + clock-frequency = <68930000>; + de-active = <1>; + hactive = <1280>; + hback-porch = <48>; + hfront-porch = <48>; + hsync-active = <0>; + hsync-len = <32>; + pixelclk-active = <1>; + vactive = <800>; + vback-porch = <8>; + vfront-porch = <4>; + vsync-active = <0>; + vsync-len = <4>; + }; + + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; + }; +}; + +&pcf_gpio_21 { + p0 { + gpio-hog; + gpios = <0 GPIO_ACTIVE_HIGH>; + line-name = "sel_gpmc_ad_vid_s0"; + output-low; + }; + + p7 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_HIGH>; + line-name = "sel_gpmc_ad_vid_s2"; + output-high; + }; +}; + +&i2c1 { + pcf_display_board: gpio@27 { + compatible = "nxp,pcf8575"; + #gpio-cells = <2>; + gpio-controller; + reg = <0x27>; + }; + + tlc59108@40 { + compatible = "ti,tlc59108"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x40>; + + backlight_led: bl@2 { + label = "backlight"; + reg = <0x2>; + }; + }; + + touchscreen: goodix-gt9271@14 { + compatible = "goodix,gt9271"; + interrupt-parent = <&gpio1>; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH>; + irq-gpios = <&pcf_display_board 6 GPIO_ACTIVE_HIGH>; + reg = <0x14>; + reset-gpios = <&pcf_display_board 5 GPIO_ACTIVE_LOW>; + status = "okay"; + touchscreen-inverted-y; + touchscreen-size-x = <1280>; + touchscreen-size-y = <800>; + }; +}; + +&dss { + ports { + #address-cells = <1>; + #size-cells = <0>; + + dss_port: port { + reg = <2>; + + dpi_out: endpoint { + data-lines = <24>; + remote-endpoint = <&lcd_in>; + }; + }; + }; +}; diff --git a/arch/arm/boot/dts/ti/dra71-evm-nand.dtso b/arch/arm/boot/dts/ti/dra71-evm-nand.dtso new file mode 100644 index 0000000..280b0ba --- /dev/null +++ b/arch/arm/boot/dts/ti/dra71-evm-nand.dtso @@ -0,0 +1,6 @@ +/dts-v1/; +/plugin/; + +&gpmc { + status = "okay"; +};