From patchwork Mon Mar 4 19:59:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10838483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 467B71399 for ; Mon, 4 Mar 2019 20:00:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3046D2B2FE for ; Mon, 4 Mar 2019 20:00:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E84D2B3A4; Mon, 4 Mar 2019 20:00:23 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 CB9482B440 for ; Mon, 4 Mar 2019 20:00:22 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=JeCQ7kvozEfuA4Fx+mH8MNjY+SWvRYXVvgPSPSAajNA=; b=c6DaI3phfPcwJw oWU+y6W7JKUTxDhF2k7DkonNuYyS17YkR35ldacIyyDhrFsF15uMlNw9b5aB3jgXwV4AWCR51CxFd /3D773C5/UGQtbGytMJN4y9vqZzLLsVHY6atJZdZZinKpVH8nk+uClJkELoheW5zLXMn9yMNOMVxw J+0B/VT7n6ykghiacc5a7Jj7HpxzusIeM31ScLc1NyLkx+TlbVGzfRM1BgwDLYtHjHlEYO8XxNuJ6 QXt5EkNfeaAitXK+wcNdY22UPu1zVfP99s1PJXKzY2rN/40PftXV4Irt9iBwvL3NjN0nVTCJnVtvB 0L/74+IassMo+Xd/C2YQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0tl1-0007RK-Nu; Mon, 04 Mar 2019 20:00:15 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0tkq-000671-6O for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2019 20:00:06 +0000 Received: by mail-wm1-x342.google.com with SMTP id g20so359034wmh.5 for ; Mon, 04 Mar 2019 12:00:03 -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:mime-version :content-transfer-encoding; bh=izeC3MPzkJiN0dwgJ1xAUmbwdWlmdpbDHFnmDaGbcxY=; b=ezW8ZNaZE2QzCYkmnhzNuZ1XGvjtqgY1N+LoTum6pq+VPb6OjbaQzet3ZGdQY6QdJ6 QKgxtRUFtJSlj7kpHHH94ns3/RFa62sJrmjpCBX+OJeNg0q8YwJ8JCB3Ueh0piabb7IH 74OQo2Gvxovx3v/bav5o0u2a646SalVyGrlSK/3folnqsXAq6iR7vnqjTXdq3oAA1Vhn YnjwtOk5zdESiRYPm/yPhnqwl8Y/hz+uzfj3D0E7v3c+7irov/jIpBP8jS+5+Pz1Zd29 Zzbd8Rf6rEsKtI66CF1F4lPewOFfL0fz14oTsfM3jvU3x290bQ7hu5DC5voXOkzD6m0M SBfg== 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:mime-version :content-transfer-encoding; bh=izeC3MPzkJiN0dwgJ1xAUmbwdWlmdpbDHFnmDaGbcxY=; b=ujC2BheaWextUAX326xjXkkPgTHgcJ0pMQu2/40WzA328OKxuc7RtcjBRs+sEAl8Oh nTdlFFtnauQQvGzuZndq5YZeqQfvEx7o/1R7mP5r6kT83EBeVEcHXSZOoas9TlzskZFG x4vshPc3E6B1edp/XJGEVL1GUJxuRlvZBD+eRSeUYLhqI4E8QAa4kXT2EPiGiUZPO5Am 5D+oV5Qb/0wSnlvy6r1lZD8gy4vjvl8qr8pTDT5H1eFYTn2Tb9Efu/HAt3MnIunPAI0v wZS9LAjIUtOAeINs0EE64dDuUzzDlLIEePsPkqDsyoXP9CYrFanlwOn00cK54fHFK2qp QHCQ== X-Gm-Message-State: APjAAAVV0WvlDJGiVie3fm9j5rL64+lJ67SI5Gcy//ZbXDZamVx8xf5y aUwMQES3E3IKLeGntfhTwmQ7Ixvz X-Google-Smtp-Source: APXvYqwPHvCPVCNqaVH2g2cUZUBvvTObIhTRNjMczeve+kBJyNAxET+zVDJHrSjlG5tURfEkbTZLxg== X-Received: by 2002:a1c:67c2:: with SMTP id b185mr499187wmc.68.1551729601461; Mon, 04 Mar 2019 12:00:01 -0800 (PST) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id p1sm5921595wrx.50.2019.03.04.12.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 12:00:00 -0800 (PST) From: marek.vasut@gmail.com To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: r8a7792: blanche: Add IIC3 and DA9063 PMIC node Date: Mon, 4 Mar 2019 20:59:58 +0100 Message-Id: <20190304195958.8383-1-marek.vasut@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190304_120004_398268_B425591D X-CRM114-Status: GOOD ( 13.47 ) 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: linux-renesas-soc@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Marek Vasut 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: Marek Vasut Add IIC3 node to R8A7792 SoC device tree and a DA9063 PMIC node to V2H Blanche board device tree. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Simon Horman Cc: linux-renesas-soc@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Reviewed-by: Geert Uytterhoeven --- NOTE: R8A7792 Blanche does not share the PMIC IRQ line with other PMICs, hence the regulator-quirk-rcar-gen2.c does not need a new entry. --- arch/arm/boot/dts/r8a7792-blanche.dts | 20 ++++++++++++++++++++ arch/arm/boot/dts/r8a7792.dtsi | 18 ++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts index f92301290b02..b6fa80c3b07e 100644 --- a/arch/arm/boot/dts/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/r8a7792-blanche.dts @@ -308,6 +308,26 @@ }; }; +&iic3 { + status = "okay"; + + pmic@58 { + compatible = "dlg,da9063"; + reg = <0x58>; + interrupt-parent = <&irqc>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + rtc { + compatible = "dlg,da9063-rtc"; + }; + + wdt { + compatible = "dlg,da9063-watchdog"; + }; + }; +}; + &du { pinctrl-0 = <&du0_pins &du1_pins>; pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi index 8e9eb4b704d3..38fb43d11b27 100644 --- a/arch/arm/boot/dts/r8a7792.dtsi +++ b/arch/arm/boot/dts/r8a7792.dtsi @@ -22,6 +22,7 @@ i2c3 = &i2c3; i2c4 = &i2c4; i2c5 = &i2c5; + i2c6 = &iic3; spi0 = &qspi; spi1 = &msiof0; spi2 = &msiof1; @@ -444,6 +445,23 @@ status = "disabled"; }; + iic3: i2c@e60b0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7792", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe60b0000 0 0x425>; + interrupts = ; + clocks = <&cpg CPG_MOD 926>; + dmas = <&dmac0 0x77>, <&dmac0 0x78>, + <&dmac1 0x77>, <&dmac1 0x78>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + resets = <&cpg 926>; + status = "disabled"; + }; + dmac0: dma-controller@e6700000 { compatible = "renesas,dmac-r8a7792", "renesas,rcar-dmac";