Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp508485ybf; Wed, 26 Feb 2020 17:27:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwvWu9oBVnOTeCUB0JIQf5Vv9o7AWgN1j2FDWwdr2f8H/yukAaia9SmxuIPneq+bFJaBi2H X-Received: by 2002:a9d:4f17:: with SMTP id d23mr1454775otl.170.1582766851895; Wed, 26 Feb 2020 17:27:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582766851; cv=none; d=google.com; s=arc-20160816; b=sVr5LiAUepAUORNmmRM2vHgQWYNmncpS1Nepyzj9Y6XVy/zqp/ruogR4BfZN1tsYxH ra/2DsC5bVwp+kBDvhvqnWPvlAl+hOg7cFzXClAHs/EOv6z7/IM9fJrMfhhWa42u6aq1 iKlMJMQg+myfaVdcxzMlOvBI5hJeSU83UZ3Xc0pzeRFMO9zCp1bOHPykLSWHqqf7bDmL +47UnAKnVXhV3kZiBVMFGSGnRGlM9BjBAUBZKDfZ3Y0pVxbGhaGYEdXf+rX1GnzzCV6b MgxEyIe80assRfN5tSwVppGTDFIUCgz0MksqpX7SfvobmHsE0cjaIbDzlZBNeDry0OpW Fn7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9qIER9AqZPbHCpF/NbcPu1TPkEhqU1PU/uEYtk0G9qA=; b=NbJyHs/OflD33T8d6XUrdwa8puWrD88N9HnZf/TH7CuAmQ0QyfmLrl5Ks1s9e7w8X+ YuyZb40GT+HT2rmOPRKXHoE4di0zKnznYLEikMHZ/sdc/yerE0MjwnyBjHvtqSU0pc4K XflKIXl3Jgesl1lV4pyDY8gj3yVr6TTC17NzRC2UC7Krh8rz5rTnp8PXsvtIWSx45iAG xWPn8nvZn7NBicMP5O6UD7Qff2uE+vKhumynf4SUNKnBvvo+PrvWcalPXIr1hnPXawJH GdX9ebmip+kf+rCZAoBVDwRDHSmXXOa2fXeHRS7E9S/BIL5X5PrqjzRctwBdypzYcwKO q4eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=McRGIk9G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si669678oti.155.2020.02.26.17.27.17; Wed, 26 Feb 2020 17:27:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=McRGIk9G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728200AbgB0B1L (ORCPT + 99 others); Wed, 26 Feb 2020 20:27:11 -0500 Received: from vps.xff.cz ([195.181.215.36]:44718 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728133AbgB0B1K (ORCPT ); Wed, 26 Feb 2020 20:27:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582766828; bh=dkpxLjrIp6Tdn2aC+XgQGBKQKbp7zPJ9k5GPmi5ZppQ=; h=From:To:Cc:Subject:Date:References:From; b=McRGIk9GxLLiplwMSeEA5Apr2WAvfIOIN567AGZguyoFScbQZV5RJwtsQmHBtCkYX i7OZKV2wDqvfq7W9iE2r3+PJvWFG+Y/DMNPQRIa1ltGUApS8Gv4fH1WO/bydv6Ui8p DJKIhCMtKT3G0x61KNJfxoaBoTo3EiUNrgsVytr4= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: Ondrej Jirman , Mark Rutland , Corentin Labbe , Georgii Staroselskii , Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah , Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] arm64: dts: sun50i-a64: Add i2c2 pins Date: Thu, 27 Feb 2020 02:26:48 +0100 Message-Id: <20200227012650.1179151-2-megous@megous.com> In-Reply-To: <20200227012650.1179151-1-megous@megous.com> References: <20200227012650.1179151-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PinePhone needs I2C2 pins description. Add it, and make it default for i2c2, since it's the only possiblilty. Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 72b1b34879c6d..990de71ca048a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -671,6 +671,11 @@ i2c1_pins: i2c1-pins { function = "i2c1"; }; + i2c2_pins: i2c2-pins { + pins = "PE14", "PE15"; + function = "i2c2"; + }; + /omit-if-no-ref/ lcd_rgb666_pins: lcd-rgb666-pins { pins = "PD0", "PD1", "PD2", "PD3", "PD4", @@ -958,12 +963,13 @@ i2c2: i2c@1c2b400 { interrupts = ; clocks = <&ccu CLK_BUS_I2C2>; resets = <&ccu RST_BUS_I2C2>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; - spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c68000 0x1000>; -- 2.25.1