From patchwork Mon Jun 18 07:45:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 138861 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3643973lji; Mon, 18 Jun 2018 00:46:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJKPF0LL9sKcwD0scQhtnPYyUyb6VXaXsa0uDfhSNVmrGCO8yMkZKHHnO4v5r9OpSAhukag X-Received: by 2002:a17:902:e281:: with SMTP id cf1-v6mr12959168plb.86.1529307984864; Mon, 18 Jun 2018 00:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529307984; cv=none; d=google.com; s=arc-20160816; b=We6DFDOfYGjcyEIlwUQH5VSYSvSWDNuD4bp/jLd0iEK0MQ7NNSpe8qqCAQeF9PhSCq hO6d+VWfoCnnw9tGkca9LJVeC4tLDyIJF46Xn5fIyzf3B6DWgPd+qV6RoiClUC1eOLXi cU2fr2l5GjiRtcezRivkRtwf98UjityfC78rzV/QNh/kyU81SEXpSnBi8Oc8jNDiD9+X c2Q3Xc47wcojdgAe9y8NQk042LKCU9VpjYq36rtAJ2xLc9bD2BohoQZ0c6asWdayP2mf xKlV8/W1H9AfyI2BzIJ0iKO16nRNZ1qN/lOyyWKlXc9pZaPpdDGoWecpxpnhE7n7mHwR Gelg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=EWEIXoRN9SWaVlVhOpLl08y8ik5mNGHsbD/HmsqaZDQ=; b=Chiec7cJl3+T8/G4lsJLwE2Zq6T6dhMGQa99t+CfTTr3myz7vqcG9yjp/r4zSqsmjs kHLGfmitSCBL15op5eN1soyuc6AmS+UXJwNJxctE/gQJqFOtqO5jRDny87792ToDK9YN T4rIS6Eiirsl+hvAh6QU97Zx9m3RvYFR6IzKgK4erU1P2yZ6DnB/B4tA38dE/0+hAxYf +6uocplGO3QNglEd7iaMlC+crB44pCyz6WHg8qj1CclBdn0iW6+AEJa0mBX+L5a1vlzY TAqnbvhVJaksCosffjEN74z1ueRf62Gpf/FWHfGdGQ4xm21g4668daOEAfjatHK2EvjZ V94w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bhP9eF35; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2-v6si11655956pgs.59.2018.06.18.00.46.24; Mon, 18 Jun 2018 00:46: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=@linaro.org header.s=google header.b=bhP9eF35; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755232AbeFRHqY (ORCPT + 5 others); Mon, 18 Jun 2018 03:46:24 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:42983 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754983AbeFRHqX (ORCPT ); Mon, 18 Jun 2018 03:46:23 -0400 Received: by mail-lf0-f68.google.com with SMTP id z207-v6so1739938lff.9 for ; Mon, 18 Jun 2018 00:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OlGzRwAnBRBCEgiXp+1cMtmNLHQk8qc/Q/u3JXxs9JM=; b=bhP9eF35tVXK/gFdsHbLImdZ6DphzUqJwCjqX3GVG0SLIflaRbYG+zsnzBRUhkFwhp lzXlT1+V+BqRJOIGBvFvr/ywAWa45bVJY3+m06lfiMFOk9uT66K6H6+IM75nqMfJ8hwz rtfnUgJqi0y/8Ew7SJNhuC8MjaYde3+H2i+qw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OlGzRwAnBRBCEgiXp+1cMtmNLHQk8qc/Q/u3JXxs9JM=; b=Iq/OghhUjyEExXcBvsWoMWf+l8aEI75RpLMluW18atT4VC59J0R3LG2waIcB1hVHKY QeXLc4eL24/gpaSIyRk1usncRRI1EIHpO3pcNBvLppAJANLZLMQjpnXlgyjF3eEfB9g4 DZa+lWMDzq6rfWDcjHCKTQqjGNKiKMwH5ttb9I2dfXiURA41hy0vaYtWTfZQrypLWjLE HhdmFlXoaVh8d7GddrZ3oEK+orQpbDEV0bpPYYGFF7Ad0sUlpFnj307Kj+Pyoto/UlVq Gp4ATpLyWHtroKm7oBpyJknhACI0oe+2N5QvCirrzm+YcckruiBnZfjOiZF4Sd6pRZJJ yNew== X-Gm-Message-State: APt69E3EAmc4Yu+3HK5DjB6dFoURQqXgXkDhMZZckMLUQ/bbVaIBx3Si nEySgv3b3ye1/VHj3pd8vAlshA== X-Received: by 2002:a2e:18b:: with SMTP id f11-v6mr7304793lji.83.1529307981992; Mon, 18 Jun 2018 00:46:21 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id x18-v6sm2616390ljh.63.2018.06.18.00.46.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 00:46:20 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, dev@lists.96boards.org Cc: John Stultz , Manivannan Sadhasivam , Rob Herring , Mark Rutland , Frank Rowand , Mark Brown , Michal Simek , Andy Shevchenko , Mika Westerberg , Arnd Bergmann , Linus Walleij Subject: [PATCH 5/5] RFC: ARM64: dts: Add Low-Speed Connector to ZCU100 Date: Mon, 18 Jun 2018 09:45:56 +0200 Message-Id: <20180618074556.6944-6-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180618074556.6944-1-linus.walleij@linaro.org> References: <20180618074556.6944-1-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the low-speed connector to the ZCU100 rev C device tree (also known as the Ultra96 board). This is a proof-of-concept only, showing how it is possible to populate a Secure96 board using the other patches in the series. If you comment out or delete the board {} node, you can populate/depopulate the board from sysfs instead. Signed-off-by: Linus Walleij --- .../boot/dts/xilinx/zynqmp-zcu100-revC.dts | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) -- 2.17.0 -- 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/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index d62276e0e0a9..fc30497f248d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -110,6 +110,28 @@ compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ }; + + lscon: connector { + compatible = "96boards,low-speed-connector"; + i2c0 = <&i2csw_0>; + i2c1 = <&i2csw_1>; + spi = <&spi0>; + gpios = <&gpio 36 GPIO_ACTIVE_HIGH>, /* GPIO-A */ + <&gpio 37 GPIO_ACTIVE_HIGH>, /* GPIO-B */ + <&gpio 39 GPIO_ACTIVE_HIGH>, /* GPIO-C */ + <&gpio 40 GPIO_ACTIVE_HIGH>, /* GPIO-D */ + <&gpio 44 GPIO_ACTIVE_HIGH>, /* GPIO-E */ + <&gpio 45 GPIO_ACTIVE_HIGH>, /* GPIO-F */ + <&gpio 78 GPIO_ACTIVE_HIGH>, /* GPIO-G */ + <&gpio 79 GPIO_ACTIVE_HIGH>, /* GPIO-H */ + <&gpio 80 GPIO_ACTIVE_HIGH>, /* GPIO-I */ + <&gpio 81 GPIO_ACTIVE_HIGH>, /* GPIO-J */ + <&gpio 82 GPIO_ACTIVE_HIGH>, /* GPIO-K */ + <&gpio 83 GPIO_ACTIVE_HIGH>; /* GPIO-L */ + board { + compatible = "96boards,secure96"; + }; + }; }; &dcc { @@ -134,8 +156,9 @@ "USB1_DIR", "USB1_DATA2", "USB1_NXT", "USB1_DATA0", "USB1_DATA1", "USB1_STP", "USB1_DATA3", "USB1_DATA4", "USB1_DATA5", "USB1_DATA6", "USB_DATA7", "WLAN_IRQ", "PMIC_IRQ", /* MIO end and EMIO start */ - "", "", - "", "", "", "", "", "", "", "", "", "", + "GPIO-G", "GPIO-H", + "GPIO-I", "GPIO-J", "GPIO-K", "GPIO-L", + "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",