From patchwork Mon Mar 6 16:24:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9607105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2E60F601D2 for ; Mon, 6 Mar 2017 16:29:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C372654B for ; Mon, 6 Mar 2017 16:29:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D5F427D8D; Mon, 6 Mar 2017 16:29:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D6F232654B for ; Mon, 6 Mar 2017 16:29:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=eKVcHvwjJr3I31w15zVtreIrngv5Y2rFDCL/7NkHlEM=; b=lFwCVstHw9ETRe5VcH0cwxZDQD ewEL+dSRY5W1KgVr0NGQ0//QKdttOslqJbPf4jEPD8fHs9o6dUyTwGoGZI45nUKja5i2ANTzDpgtz wsyhimiBv3Hxa9CSFkLLLsjwvK9EhCaKhavrPombYDu7cEAB47MyzjSboybpGkQPukOJyH34K3UBv kMppW5Rj//YZp/3NYzY8bXGrHZsk30kALrK71kkH0NvrpDPzFHVvdNDcKcxTshF4bjjbrAXqkPR0f y+PRvgr13QXvSolHX0s7crtpu/uyE57FeIDPfvqDuiIv6vibxcm445KNMk1TaESTkH3fg+DTYb3HC kpku7Paw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ckvVs-0006Gz-Gv; Mon, 06 Mar 2017 16:29:32 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckvVU-0005zM-2J for linux-arm-kernel@bombadil.infradead.org; Mon, 06 Mar 2017 16:29:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=aGlsZzWO2i/f7YLvTqhl+fLmMmCarUy/rdmWNNhDyWw=; b=YOCxagutZsgGinKh+fk4iuwRj QNKqrr05d0hx5R2mnotxM6aFfPwIkO3vLsmvXAg/QYLHmE+bzoAR65YA0gMOd8U7FaxcbjmmhcALH s+J1W2qy5UAGl1ydkuh/6V6YgSxAxuETCaGh2JH4bp5xzuKVV54IagcTQYbhXkIiuSI0kGJLiITFr 5bvFwTgCmAtL2CcQvYJpvbyc8SigZ9c48GoHKNxV07LuTSPHLKFHHPkeRd0+lE5ktCeX6tNd3396i c0Uu9ZVPF+0S21PQetXocnHVkf1HgVg8t4UKc1bc43t6YTT/BFXMRIyZ2IWMurTBuDcUcCVt/tzdJ yogFrc1PQ==; Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckvRr-00038j-Nm for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2017 16:25:25 +0000 Received: by mail-qk0-x232.google.com with SMTP id p64so43158349qke.1 for ; Mon, 06 Mar 2017 08:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aGlsZzWO2i/f7YLvTqhl+fLmMmCarUy/rdmWNNhDyWw=; b=LwjnoB92yeyaEeuo2GilbLc6bntfQX/KRT8sOLV0ZPCzCeaba7kWViSimZtSH8qQXa BRfmbYLcpMflUgmeLSU9CZ/1bxvo5Ll0BZp3vi+JM2khPo9p3RImko/U3aRoU1kxAJdO NEQuoO/RyXvhPXRk0peJT9YDAbZ7B69yiYbVQ= 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=aGlsZzWO2i/f7YLvTqhl+fLmMmCarUy/rdmWNNhDyWw=; b=D8QE0tPJ4Jz+6Ee/36Kq9/yAm5TfjiXpYoGQCfmpYClj/JlJNwo+B+ycXnrBgnUowW 1uG9APRpyo3YQ9uX4va4/ot2g1Dv+7ATkMcUacfD542syetyuU0324ecVg23H0N9LXST nYzEJutVUy7IKChX8d6JQbW2IzsDA/sULbStgjdeSeoVDK2aAun2COmMdTEAKKGRFrx4 pyyidC9fpw9msN1F5WY5cH3X7VvAWQuDOBKS/Hryo1oty9uSJO6OJwgxqonuEhnM0PqF yw5zoA9eFZkqINS386/WjNXXES7r3iCwPieEplguYuQVRTzlWCsXCj/7hrykGdSBz8HK +kfg== X-Gm-Message-State: AMke39llltjTDY97peRv9ZDZgEiypc2s+ce13AY3SpfiVzqiRk6jFLYOf6rPcbbjYDFCcxD1 X-Received: by 10.55.161.13 with SMTP id k13mr17549672qke.265.1488817502099; Mon, 06 Mar 2017 08:25:02 -0800 (PST) Received: from venom.dhcp.broadcom.net ([192.19.218.250]) by smtp.gmail.com with ESMTPSA id x19sm10705655qtc.23.2017.03.06.08.25.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Mar 2017 08:25:01 -0800 (PST) From: Jon Mason To: Hauke Mehrtens , zajec5@gmail.com Subject: [PATCH v3 2/2] ARM: dts: bcm5301x: Add I2C support to the DT Date: Mon, 6 Mar 2017 11:24:45 -0500 Message-Id: <1488817485-7503-3-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488817485-7503-1-git-send-email-jon.mason@broadcom.com> References: <1488817485-7503-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170306_162523_882301_A6CC91D2 X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Jon Mason , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jon Mason Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index a9aa7be..89b3c7f5 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -324,6 +324,16 @@ }; }; + i2c0: i2c@18009000 { + compatible = "brcm,iproc-i2c"; + reg = <0x18009000 0x50>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + status = "disabled"; + }; + lcpll0: lcpll0@1800c100 { #clock-cells = <1>; compatible = "brcm,nsp-lcpll0";