From patchwork Tue Dec 29 21:17:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11992637 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A599C433DB for ; Tue, 29 Dec 2020 21:21:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B2D9120727 for ; Tue, 29 Dec 2020 21:21:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2D9120727 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q/Q15IF9oyPu8Jbtc298HBxadVtfgNIbLHK3nywQIdM=; b=Amq99RA8xRDSN7MKV6Cq0dgH4 4LUtlz8jfFm0so0jmAUEQ/Doumh7rV44EKHQ7BzS0v5BE4SRjPkccdw9y324a6Kg/DhO1nChMS65u aL+LpN04JW+bnhZkmxGtp7AVpAhwecZpKuFvCrcE/Xqgkjhs/sIfkEz0jXGxZSp1xaKT8uvfunPR7 4TIhQgF6UUCmKyptKvkf/x+GV9M2fkwHrzmn2NU1EugtYDVRNHpWNk0tDoFqH9uiPbBBUvulIc+j4 PiwTtdj+veArVsNSBH0QLpGrn7SNHqKf1/sZNIMy6Xl0Zi0K7VpbiC3nkg+gfIqzdS52I3BL9PcCY so33dxt8Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMOb-0000eW-CM; Tue, 29 Dec 2020 21:19:09 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMNG-0000Ad-5p; Tue, 29 Dec 2020 21:17:47 +0000 Received: by mail-ej1-x635.google.com with SMTP id d17so19660699ejy.9; Tue, 29 Dec 2020 13:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=npznpISn9+QRxit/cl16gnbLt9tRea1l8xZEzjgOYY0=; b=i7kvu+rHq0GvWxEm0YSJ/k1rgx/tfGxB+laE+QNsvEES87mYCiJlKVNYb84z0/WaIi yvtAYiKTcVB4TpatBxNalbOxE/c2/6sNaylWi83D1du714Tx5pS8n+MhRG0t9WFnul9V 9shSQwBpZmSYfApBj7ysCUie7IFZgK0YMPhHMBKq0Il1mIrJ2bvXXWgiVDbr/JoAzius gh6I12vyG75zqTxsk9YO7e8BLVcgkdpkGqXLV4ao3vN0ZvO/eL8xnVmunJPfQYBZqYPh sTS3TeQSDY9KePUV4xMgWuhaViwIBMcNXzlfsTe9wXVIuwQABUSEM+B3xwp3wwMTdsDC awgA== 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:mime-version:content-transfer-encoding; bh=npznpISn9+QRxit/cl16gnbLt9tRea1l8xZEzjgOYY0=; b=t8zp4tvMNmFjnawxgUKe4MAJhyBvpEAcEZmb8Q7179XLCS7N3vGRebOB/6pTRnEjIP IvGbLwlG0+Jjwn7STmEJPNmfmy8VTkFqDEDR8YeZ1s3FJ8vPYMzCyRdBPcASWWnBdySQ kNckkUOMJ6I5j6uPLVVytN8gWP5degi1I1Q+1ODiR92BnsYA72ao9CIO4c1Rsc5iRS2x x4urqdgBVgpYi62d6vDcXqRP58rvzK681Auq4fPJ4lccRMZ2oyIoCCbOU6RfaxccZ2KX 3uvakaFBgxczu5a9lPkID67z1gNAFZS17OCBwuFyPU61tEmBs0wDY1VfOJv0GcY+Yqom ZDfg== X-Gm-Message-State: AOAM532RIHdJMSst3UhJOu+cQ6OhvLg9xAcbfv/zim/tRFKoQVB2p3w2 otkO92EIPw6aCAp1VCC9nMjYI0I/Js/MJQ== X-Google-Smtp-Source: ABdhPJy4IEu05p4U5lyWAfSl4O3ZG15+95wUxh5BbQzzTbw7HxCgqO2ILUewJuAMFZA3002+yBH/sA== X-Received: by 2002:a17:906:168f:: with SMTP id s15mr46139482ejd.180.1609276664890; Tue, 29 Dec 2020 13:17:44 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id u9sm37354553edd.54.2020.12.29.13.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 13:17:44 -0800 (PST) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Subject: [PATCH v3 09/13] arm: dts: owl-s500: Add I2C support Date: Tue, 29 Dec 2020 23:17:24 +0200 Message-Id: <2813c65915eda155da637bdc649872a75ce240bc.1609263738.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_161746_278659_8B0DE1F2 X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, Wolfram Sang , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add I2C controller nodes for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Added Reviewed-by from Mani arch/arm/boot/dts/owl-s500.dtsi | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 7af7c9e1119d..55f8b8c2e149 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -193,6 +193,46 @@ cmu: clock-controller@b0160000 { #reset-cells = <1>; }; + i2c0: i2c@b0170000 { + compatible = "actions,s500-i2c"; + reg = <0xb0170000 0x4000>; + clocks = <&cmu CLK_I2C0>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@b0174000 { + compatible = "actions,s500-i2c"; + reg = <0xb0174000 0x4000>; + clocks = <&cmu CLK_I2C1>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@b0178000 { + compatible = "actions,s500-i2c"; + reg = <0xb0178000 0x4000>; + clocks = <&cmu CLK_I2C2>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@b017c000 { + compatible = "actions,s500-i2c"; + reg = <0xb017c000 0x4000>; + clocks = <&cmu CLK_I2C3>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + timer: timer@b0168000 { compatible = "actions,s500-timer"; reg = <0xb0168000 0x8000>;