From patchwork Wed Feb 8 10:00:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9562147 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 E5BD0601E5 for ; Wed, 8 Feb 2017 10:06:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D69A628443 for ; Wed, 8 Feb 2017 10:06:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAF972849E; Wed, 8 Feb 2017 10:06:21 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no 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 433102845E for ; Wed, 8 Feb 2017 10:06:21 +0000 (UTC) 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 1cbP8k-0001Zb-VN; Wed, 08 Feb 2017 10:06:18 +0000 Received: from forward20h.cmail.yandex.net ([87.250.230.162]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbP8g-0001Uk-Hh for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 10:06:16 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward20h.cmail.yandex.net (Yandex) with ESMTP id 230362190F; Wed, 8 Feb 2017 13:05:20 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 503AC1300FC2; Wed, 8 Feb 2017 13:04:54 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Xjz6TxVLNP-4l6qk23I; Wed, 08 Feb 2017 13:04:53 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1486548294; bh=qcDCzYe7BW/8rXV30tGqXYW9MBGzIh2fkG1xBGnjRpg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=myTYtRDmTWa2sWM+e8sVPk1lQ0KrrbFPkyNNJ9cAq1DIf7LrpY2h6hl4c7OA3cQU/ mX8h1kOixXByTLcHMeuzNxlCnRRpi3qglCGlxUzPJW2ECavBGi5wKHPhDXwiKwcZZ1 NxRqhymk8pLHTX7bKPzhoVy8DZxL3mfiNl5KIRDE= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Linus Walleij , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Catalin Marinas , Will Deacon Subject: [PATCH 8/8] arm64: dts: allwinner: add PWM node to A64 dtsi Date: Wed, 8 Feb 2017 18:00:09 +0800 Message-Id: <20170208100009.29362-8-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170208100009.29362-1-icenowy@aosc.xyz> References: <20170208100009.29362-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170208_020614_791481_DB7585DB X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , 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 Allwinner A64 has also a PWM controller on PD22 (not available on Pine64, because it's muxed with EMAC, but it's used on Olimex TERES laptop kit to adjust the screen backlight). Add a device node for it. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 6e34f5adcf06..078322fb5d58 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -296,6 +296,14 @@ }; }; + pwm: pwm@1c21400 { + compatible = "allwinner,sun8i-h3-pwm"; + reg = <0x01c21400 0x8>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>;