From patchwork Thu Nov 19 23:56:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11919257 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 1C9D8C388F9 for ; Fri, 20 Nov 2020 00:00:09 +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 8C2B922244 for ; Fri, 20 Nov 2020 00:00:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jlrl4Ll4"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A4msB7sz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C2B922244 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=phj/GYWGzA4j4g6MtPwMsPjEtfIqb41EYckpOiMTFwg=; b=jlrl4Ll4lfDSUgZogmbQglDBJ 4GAEj+omlhOwRk7lL3mC1klHvL8rnOGELuL8v0/tI/IIn4hXovLqkyPDugQ+giPTub3t5HCd9VnXk B0K6teqjNiqv0q9iOf9oPDTxrabpC0VIzVVMYQZq/ZJJ0DhCA9K+UKL2Otnw6eq+hTkg6mUgOe3NF IL5t5AgiSRL21yOP1gabTvgPowxtg7+PuQxlKKBhpwrfxmGcALsbTm9bDDCSlRFwaXWbTKGJ/DvkF jsVjU8gDF8jsEDetvHi75TPA/xIrPrTi9BYkV4HeOB90Opz3IYCx0BZGuLoV+DljFZ7qHl7mqcTJ4 16pgqC/fA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftot-0000yl-JS; Thu, 19 Nov 2020 23:58:31 +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 1kftn0-0008Tt-Ai; Thu, 19 Nov 2020 23:56:35 +0000 Received: by mail-ej1-x635.google.com with SMTP id f23so10431100ejk.2; Thu, 19 Nov 2020 15:56:33 -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=sj++PSDD1oLF90eK36g1/9vIzuW7FnNR6keIC7+p2sg=; b=A4msB7sz3aJrPlbu6qj3Wa2Dzb+cpVX97w5uTGOwtLiiwgPZrqPnTmJxo3pvaSMmyk 9TSOBpWrFofq6IGEbc622cZlpzoumAjd9/s42kIeQBwtOIF8vEorcktaxRyiL6lxF8WB zZQnWBAkTrdoqPl7jIosD2G1tsns/BggirTiuu4gx5iOP4Kntu5qHXCaYUcIgWl+Aizq wrQyy+1KRAkLdahPK/MUlJcKQ9iMDqt33mZzeI941BOjNehazXqXGHcHCAUjEsdjLX9L J5Lqynrz/OBKYY9VyTKWp6QcnLkgstQef3uapcwIVrQwHVhIdfaj8f0Fo2m+HWUbJUO7 umJQ== 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=sj++PSDD1oLF90eK36g1/9vIzuW7FnNR6keIC7+p2sg=; b=P7+kCjSx9nE9TkOQSgbfEtR8g3VAUiWNLbjnelItIxGLOlzJ3EOlf3/PPNkhovp3Tc 0LVbANarEVMYycvJH0gclCZWXcaoNpV7pTnTgFygu8nT8oBWG12CvNZkx95108zg0eSx JaXmXfTproWT/epK7wLPqkYqTApcPv2sMfxhc3QsAQwhPBlMj2o1X2/CC4BWQltvEuDS oKlPrvHgB93ANeeTcOkmil40x42qa5JDnD8DubU3fl9Jf874o3+m+CpKynuLO2y1HHuY bQuW/fU+P18wi9QKvSn/qPW1cOykfwgtcaQEK7WIUWh70lJOC2gOTU+19zyiqUsdmncl NIEA== X-Gm-Message-State: AOAM532RU3wQCe3X/WC2rei2/ML3XRBtbko1FUwRmNrV8cHZnRhUyzRd 3EKRKi567SeOC0IyCBYvN+I2WVZOSBEH6A== X-Google-Smtp-Source: ABdhPJxy9ZEQlfi8Qbn7YloqQ+3dJ3BLgOn4YUxh+9grdKTytp+YvAGFztACqK77oVPpmATs8zNjbg== X-Received: by 2002:a17:907:10d9:: with SMTP id rv25mr31260806ejb.437.1605830193015; Thu, 19 Nov 2020 15:56:33 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id i3sm452987ejh.80.2020.11.19.15.56.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 15:56:32 -0800 (PST) From: Cristian Ciocaltea To: Rob Herring , Wolfram Sang , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Subject: [PATCH v2 13/18] arm: dts: owl-s500: Add I2C support Date: Fri, 20 Nov 2020 01:56:07 +0200 Message-Id: <99e81f582b19d0e13abf506c1d7dda0f0a857fd5.1605823502.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_185634_596524_8CBAFA40 X-CRM114-Status: GOOD ( 12.52 ) 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, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.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 --- 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>;