From patchwork Thu Mar 7 15:13:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10843099 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 726C8922 for ; Thu, 7 Mar 2019 15:14:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DFDC28B26 for ; Thu, 7 Mar 2019 15:14:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5245A291F9; Thu, 7 Mar 2019 15:14:09 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 3AA6E28D59 for ; Thu, 7 Mar 2019 15:14:08 +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: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=x5lY3lvk+dGR9m2HNFHNQUMuTXsd0XOrmW6nQOL6pwo=; b=iTTE4pJZEJfrix PLSBFw5hG9+a9yzX0VxYqmV19DTrw21gqJXUHFp0Sv+mFREnBUMkbFnobQdx8yGLUI1Mq/9s8vNg0 KZVSFAEfOHpnlz6kpg5WA0AcxQYJfTDcoF+hEZUCNJy/G+KCuLCYdsk4El0/IX0U0GObuziZcH6MU lWEhYsDjnx6QSVgmtb34daiEk8dJtx+diF5BkDTlGApODlbmLouAwalJpNHBL/0SxQU/97oJClgre Mxy7l70E2AsyL1ruZzX5GYh7vvFYDNVqwkmt29aHo8uSxgcIyZu1NurPy9IogmKO/yYYkNsJnZbyA 3yHHNy/gnJrNGwt+wu+g==; 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 1h1uij-0003nY-Jn; Thu, 07 Mar 2019 15:14:05 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1uiQ-0003Pr-DK for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2019 15:13:49 +0000 Received: by mail-wr1-x444.google.com with SMTP id y6so2706703wrn.7 for ; Thu, 07 Mar 2019 07:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o5XEdwpDX11r9A87w3stM5IV0M/gayIT+SRuFG7e6Us=; b=WrfwCJ8BCOUDT7aZTmwMIPbmA8q1v4b54YOtZaezz78B504KuEY9DykUQddhdB5SQa /vWT2RT+GeLV/Hw2ugUzZw7aTWISgL2FbGcAVfsH1yVP6vztT3n60SQyX+LVfCJyTT/J jVRLfh8hu/MbFSAiLThJB0uE6a9Db+cPcbQR8v/k6Pl/5h1AyrUen/9y9NkLzNqdtLDO prjoBGxsL1v1QKRA5U+aVA0l/sAqklL89xYk06NKk16oL4CuQ8x6e8eowvp2VrAKp9Lo h2qnOaQO0op1p4tDE1Cyq/l5w77JW2eOsMxGJ2fXZYKsNncETHFMXDDbYqHQViqOBju2 g+eQ== 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=o5XEdwpDX11r9A87w3stM5IV0M/gayIT+SRuFG7e6Us=; b=tGYvAgwZTL5gyhQ9qEWxanUkW1rWzkv9tNP2z/TzQf95q2ikg0ptecSAjuGBF/98Qq AGwEYLffLhQuIMSs1bDerz4pXxJKQLi9uHEWUdFXf8L+9NkIbtF6owChtxJUR8fYf0aZ 3Yz527Iu4B6SQagBxFTP0de2qbbLCxXNbMxLsE3vlILNWrSlZEQkGMUtALFU8csn9axm 0fveDlc1/VelqlaRJwdHNtSEi21sGKtnEaHLD5EQ6GAilmiJyp0SDzv3HkQzQcRSNoHd p4mEVCz59XScYTMH5AvhXSEvI6cdrb4UhHmksZFXYjVCYDRkr0mvGY7iNKVS9FsrCbqZ 8QJA== X-Gm-Message-State: APjAAAWn9eZg2sKwgSQIxmnbh8zrpkT2FPPcADuPQINXzfcyrzlF/4PB 4qXWJfHcCEr6ghu7ryPIR+tVvw== X-Google-Smtp-Source: APXvYqy277dgVFlzsKDF/aVIaUHzXa37oZcGXrXImL0Oo6jVAMWbpKSACNU2iWMFTQLk9hQuiYWuYA== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr7018064wrm.291.1551971624762; Thu, 07 Mar 2019 07:13:44 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:44 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 1/9] arm64: dts: meson: g12a: Add AO Clock + Reset Controller support Date: Thu, 7 Mar 2019 16:13:33 +0100 Message-Id: <20190307151342.7381-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_071346_444419_C9950BBC X-CRM114-Status: GOOD ( 10.90 ) 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-amlogic@lists.infradead.org, Jerome Brunet , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong 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 Add nodes and properties for the AO Clocks and Resets. Signed-off-by: Neil Armstrong Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 191d31db9853..0eb5220da82c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -122,6 +122,23 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>; + rti: sys-ctrl@0 { + compatible = "amlogic,meson-gx-ao-sysctrl", + "simple-mfd", "syscon"; + reg = <0x0 0x0 0x0 0x1000>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x0 0x0 0x1000>; + + clkc_AO: clock-controller { + compatible = "amlogic,meson-g12a-aoclkc"; + #clock-cells = <1>; + #reset-cells = <1>; + clocks = <&xtal>, <&clkc CLKID_CLK81>; + clock-names = "xtal", "mpeg-clk"; + }; + }; + uart_AO: serial@3000 { compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";