From patchwork Mon Mar 18 09:58:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 160478 Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp2580319oce; Mon, 18 Mar 2019 02:59:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYGOU/kzfh8wqRsNZQYmnRgXjS9suIWRkGLpA1RbYIeLKJEduo9n1zj1DSBQ81CjhrFvjv X-Received: by 2002:a17:902:2903:: with SMTP id g3mr18670808plb.222.1552903180708; Mon, 18 Mar 2019 02:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552903180; cv=none; d=google.com; s=arc-20160816; b=H6fZDmMF2bPESEobhEyY/pgePw1J1B7eJyGWj7O/Ex5bqpXB4QR0TUAGeX3uBRhSY3 ePIcbC6H7Fj/jDNrHKT93/RwdrT84Ad3Pz6RX+EZd4zNPvsQfBIt1ct1oiQxUfZTZYIG 8gtCK7cLV/sYZcIKKU+EzMxux/oICSYlpumTF1iRICOCdujgVlnoFmstTAVDvonk72eQ F9vsR2V2gfSRyK+L3dECIMtHSaes8I9Ghb3NcNOaqK/v51Z4BLbMbHjz2k/+j2GMnXes O1tVPH15YYo+0DSvdydMpLFpT592xkqO0TpmhONIvhGpUDFvN7S/tSj8TFCGr8oxBUUK PrrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x3eHeD7NoqoSXtftkvb/ote82xUCD6KJ4VjSqqVyBww=; b=IJrXPohGc0gtbTzdzXPpd5PzSPkbgB/SKYy7tQBTtmqjDgtIcQpjih/8ytqqQ6dOkR e9rfbz3eGj43s5K25LBzkaEjep4p562HGdmT+xVkyVQBiUMZACIIhVhZp9/V5Kn6w2pC gvnWApu6RdFS0C6ccZXi/55v7ePQhIAKVH4S+w2nLljnADQCQm0QS55VtsIInFB80Sb9 V3tEJYIx0FNan/HotQ2OZb8b6tlSYqF9kg7rFxqRNBW0GqhbOFfS1VUbJjoYu0mCLH4a kWpuzj2JPbkmy0gIyfXdzWTfE+WTocyBU+iIM8U77yt6hdHZXqbbwdNhIJk7IFbKLRuS e2cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="0yQyXf+/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14si9016451pll.86.2019.03.18.02.59.40; Mon, 18 Mar 2019 02:59:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="0yQyXf+/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727891AbfCRJ7j (ORCPT + 31 others); Mon, 18 Mar 2019 05:59:39 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55927 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726933AbfCRJ66 (ORCPT ); Mon, 18 Mar 2019 05:58:58 -0400 Received: by mail-wm1-f67.google.com with SMTP id 4so12251496wmf.5 for ; Mon, 18 Mar 2019 02:58:57 -0700 (PDT) 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=x3eHeD7NoqoSXtftkvb/ote82xUCD6KJ4VjSqqVyBww=; b=0yQyXf+/gZAHiHFv8dS1dlc2q2pFMl8jLkkS6WcZLV9by/P5q6Xdb2NRu/Lw00Pa0P fPAFDRjhK0S6VibqKfS+K2UHyJ7EtWUVkVk8zzyxSYWzauAArR2Ve73f6pV8IKqCPOKk 5WVDkhwZ+I5aNzt5VbHZGwTlH+AQ6Dk6JnLFG5Gdb73riQmBrMF6TEzy6Sss8Ww1xER2 AuiFyqcAcbj3AMjqmoIi/7no+mJlXFoG7kfeVQs5BOw8QWv2I0d3SQhdc/fHcguqNoba Bi654ZZ49k/SxQv7ko1kjI3TUr1HAPe1jJtBwMhuy3YoZn/3h0Apo6Sw9oeEV670wBqM SMKQ== 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=x3eHeD7NoqoSXtftkvb/ote82xUCD6KJ4VjSqqVyBww=; b=r3ofKdVoXKD6PnMMC76orl/KUjoodhfmHkR+TotpYgRMiYHu8v43XJ5/LKYmRAEcUn PMl7psiPzvsepKb31lgOJCGBJTaYvJ6QWHI1kYWoyz/AzxSLLuOjgdnYP73cDedgflA7 noV4jRexnCfGnhJYjdA44ZOBaQLzGP+uiXEDzykxPApvjgJe+vaOoQBKvyVpDcFUAkv1 HhZmH2D8PoANw4GHVzTuch1ICLFtzee+kwZmBs9EPEjLpMTcGDohEgPpXoELgOsGYFCy J+FtcmRA3Auo7pU1Rf2CuxXiVbCEScT1v7qs/iILz44OVxF6n0xWT0B918OCt1DHXWiS C/bw== X-Gm-Message-State: APjAAAUNk64V8nTVb6YQcm0nGZPLBfcOUf2Uk398BP5aVqOP4QpTYlfI t0u1hXIBKZqn6Pr88xyszX5owgQLPgqETg== X-Received: by 2002:a1c:8112:: with SMTP id c18mr10736870wmd.41.1552903136279; Mon, 18 Mar 2019 02:58:56 -0700 (PDT) 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 g8sm5459034wro.77.2019.03.18.02.58.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 02:58:55 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH v2 2/8] arm64: dts: meson: g12a: add pinctrl support controllers Date: Mon, 18 Mar 2019 10:58:45 +0100 Message-Id: <20190318095851.4062-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318095851.4062-1-narmstrong@baylibre.com> References: <20190318095851.4062-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the peripheral and always-on pinctrl controllers to the g12a soc. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 5c0983edf837..e050737a1b3e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -92,6 +92,29 @@ #address-cells = <2>; #size-cells = <2>; ranges = <0x0 0x0 0x0 0x34400 0x0 0x400>; + + periphs_pinctrl: pinctrl@40 { + compatible = "amlogic,meson-g12a-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@40 { + reg = <0x0 0x40 0x0 0x4c>, + <0x0 0xe8 0x0 0x18>, + <0x0 0x120 0x0 0x18>, + <0x0 0x2c0 0x0 0x40>, + <0x0 0x340 0x0 0x1c>; + reg-names = "gpio", + "pull", + "pull-enable", + "mux", + "ds"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 86>; + }; + }; }; hiu: bus@3c000 { @@ -138,6 +161,25 @@ clocks = <&xtal>, <&clkc CLKID_CLK81>; clock-names = "xtal", "mpeg-clk"; }; + + ao_pinctrl: pinctrl@14 { + compatible = "amlogic,meson-g12a-aobus-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio_ao: bank@14 { + reg = <0x0 0x14 0x0 0x8>, + <0x0 0x1c 0x0 0x8>, + <0x0 0x24 0x0 0x14>; + reg-names = "mux", + "ds", + "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&ao_pinctrl 0 0 15>; + }; + }; }; sec_AO: ao-secure@140 { From patchwork Mon Mar 18 09:58:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 160476 Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp2580206oce; Mon, 18 Mar 2019 02:59:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUzHG7hhBc+EDC5ZM+ntlP2I+ypUE6PxmU8fum66xRuicr6BLvHuStIc/Xf7jcRASL77P+ X-Received: by 2002:a65:6655:: with SMTP id z21mr950695pgv.297.1552903169775; Mon, 18 Mar 2019 02:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552903169; cv=none; d=google.com; s=arc-20160816; b=xIV3mTD0Axx/k6hGFhSShyYrKYC9rq5e64rTEv9BelX3s8l81Lqp4TTR7xlb8GaBYU CsMubW7+B/cWkNgGHyS1ENglzme7yC9gF+u7i5E128Ewu1Ck3SS94jJnCwieH/70Ep9s WDQK6ZWoD8bWU9ol8NzhknjsOTWoqXBdETa5FPOX3trOVUnHydR1x4oQlWf8TgxcG3kV RUN1+piAl8j6evdclC1NdxTbT+WdBOgV1OPkXV1C+8zrcMmigEjY8pf0qpukUpYBOULQ LblPt1OduSDUTVRTBQ/7S24rm3ZkfMMDi6RdjqPzTGCKWOzcT3Uxz4EH0/8+dM9kbzfC QNjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CYk3r0leNCPgpCAbWkPSi9BELgwJXXTm0j6LgXKT/hA=; b=tQWIdP6Mnbb2uLibLXaAUVKpGdq/72/bAAWnKZMUj6rKOxCYgp6UfrG/+odai+Kbct uOdsfyX1+7LwrMRdZzsNaxFXV462PLi5HfB5xSijB7WSS/y2ipQWHTGs1cysGKxkFwSW 0i6CEnGlJBx24B0xUeDlzdZ8/jEZps7NoBSr6v6RIlJ9/ajJu4VoRcTAkm/gTnZ3uvm3 Wa2bb+mmBrfs33VK7FSyx/Sf8MTfUyUQyWfoOqBaZgGPm7J8CSrsUnbsvW3Y8IhBTL9K bhXvwop9zGCoqWPd0birkmXbuosB+3CUPja+yL/9UHaO0UmlQPRlLK2ETYmDtRk/wxUe 1bbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=b8nluRDf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p87si9199534pfa.48.2019.03.18.02.59.29; Mon, 18 Mar 2019 02:59:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=b8nluRDf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727888AbfCRJ72 (ORCPT + 31 others); Mon, 18 Mar 2019 05:59:28 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43020 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727631AbfCRJ67 (ORCPT ); Mon, 18 Mar 2019 05:58:59 -0400 Received: by mail-wr1-f66.google.com with SMTP id d17so16254410wre.10 for ; Mon, 18 Mar 2019 02:58:58 -0700 (PDT) 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=CYk3r0leNCPgpCAbWkPSi9BELgwJXXTm0j6LgXKT/hA=; b=b8nluRDfQBz+bboGy0UiNEqclvnEeVbVctSZaHhFe/Q9qNAXqgQ51yX30VbxSaMjon MfrXSY7YJdKNSNW8hOtae87IG0O4MG2e/YXh5HJGtoGzpdoDS4c5c4SabKF+YLi1MSO3 aAFWLMmqbfhdDVepMAZTDGhsL8EM5EVH6VT47EktalHiR04epUHDdd+9wKgowVXvwU8s x8wOPNTKQp7jVmAwMNmPLnqWl6uugexMzxtvJxFe4jtSaGimfxLIkElUAgJvxFSqzS32 LfTou7sgC8cd0NOYNP3snodb4Ltw0piahFiDKKyoarQuJ1Ml/phwUmbhN3thhyXVKIOY iIlA== 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=CYk3r0leNCPgpCAbWkPSi9BELgwJXXTm0j6LgXKT/hA=; b=ZchwVVljPdowdaEqoo0g5KhT7gyQRg75gl7OH1tuir6wLqKfWqVo6HsPF40+QodAhF pLr53tiZ6iZE0QuUuy1Yq+tumJfcaodAeNzlYGkKWxA6PlN+7naTmnH3lIGtGJHLlr1p f6GaHnDJ9cE+h4C3Q4+CWC9u37TOgrnVzw8jIyVE/OYvbpqgDvxem8PxJ6oHs6wr7nMO 41KO6eK4i0A2gE2PFtxQF8PMsVgEeTf1z+NEwcTdxdv+MiVyJijJMLFdmuv+ghaE7yyG wIU80N+3g6Hx5xONfy2dfV6Vtyg9CXk4yTlp+PvYEHxR4IOkb01yynwVgLTyxW9Fg83Y p/6w== X-Gm-Message-State: APjAAAXaQPXsZCI86dntN+pEEi7VBZgt7+zfog0gVzIyjw4fzCqLOANd UjlUligq4EHrUsitOCv/t2sYH8nK6MjCyg== X-Received: by 2002:adf:c002:: with SMTP id z2mr7400895wre.177.1552903137288; Mon, 18 Mar 2019 02:58:57 -0700 (PDT) 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 g8sm5459034wro.77.2019.03.18.02.58.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 02:58:56 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH v2 3/8] arm64: dts: meson: g12a: add uart_ao_a pinctrl Date: Mon, 18 Mar 2019 10:58:46 +0100 Message-Id: <20190318095851.4062-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318095851.4062-1-narmstrong@baylibre.com> References: <20190318095851.4062-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the always on UART pinctrl setting to the g12a soc DT. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.20.1 Reviewed-by: Martin Blumenstingl diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index e050737a1b3e..7023c1c0f23c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -179,6 +179,24 @@ #gpio-cells = <2>; gpio-ranges = <&ao_pinctrl 0 0 15>; }; + + uart_ao_a_pins: uart-a-ao { + mux { + groups = "uart_ao_a_tx", + "uart_ao_a_rx"; + function = "uart_ao_a"; + bias-disable; + }; + }; + + uart_ao_a_cts_rts_pins: uart-ao-a-cts-rts { + mux { + groups = "uart_ao_a_cts", + "uart_ao_a_rts"; + function = "uart_ao_a"; + bias-disable; + }; + }; }; }; From patchwork Mon Mar 18 09:58:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 160477 Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp2580258oce; Mon, 18 Mar 2019 02:59:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2M/ccpBUliKPaF7tckXjx/gGRuQWpVKc5TTVY5GcYpKd20quUf3uBapD31Vh/wdFRUjUN X-Received: by 2002:a17:902:d715:: with SMTP id w21mr18398174ply.14.1552903173863; Mon, 18 Mar 2019 02:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552903173; cv=none; d=google.com; s=arc-20160816; b=m1UvBxZQCTvYNsIXQoncqZ4QTsC/TFPBkWmU2P85esc7Un1MnizDLVLBJnGCOX09Xm KVQCiw/7mY/jTuC5VGkSkpGC0/5XE9eKnPFAbkF29HWmbywKWlp95Y6BpS1qHcmcAuoN FF/JK2GntOnNM1dAtoTKSWrWlLNJrrlpu39UhRsswT3IXy3iyEODwhaEK9tccPiqQbpi VCFs0n5FDBKDsspXAgJ9lv0qbMOtLO1m+N+Wv9X5eK9k7F9auUEl+Qz/5bQuxbLpOBLP LRDy3+kbbN5XpcW7FgfH7RvhHp3EBBmiK1NF1Y3RFuNfmCj7JKgflxzlbT8cvDKXmL42 I8Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d2hCudhASw8wxsHkqG+RXtSVr+MYVBar9SgnbE9VlWc=; b=jiU3PBQcmNBpbDQM/IMK31+9ZaAHrhoWea4eHsbUzkCzn3vrtgIeI4OQLwOAkAY7zV 0jJnLhtrYV3OUrvesWZQEjbXYIKE3S5/z+X4Uuxk+gxP+DYNEt21mH2AvIqUDrMqncFc IkJpyU8d/XQK4GK9WCXDQNuFGsFUED/SxAtmvWJvZdM5uWIxUpnYHVLp5w8e7NY5QQoZ q98PjotDvQYSJkOkMQH69qa6vgqeibY0ZqLphQ1swj/zFa7l6WL2drFuALtSgwkvWrL+ f4ye6EOhX8OXyAGu2j7sk0in6HRp2Fd4LUDrWmsLZqwcSW3/Pm7C1NIlu8wiHtPwX9tl 0cBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LehSVoC1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14si9016451pll.86.2019.03.18.02.59.33; Mon, 18 Mar 2019 02:59:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LehSVoC1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727867AbfCRJ71 (ORCPT + 31 others); Mon, 18 Mar 2019 05:59:27 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55932 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727693AbfCRJ7A (ORCPT ); Mon, 18 Mar 2019 05:59:00 -0400 Received: by mail-wm1-f68.google.com with SMTP id 4so12251619wmf.5 for ; Mon, 18 Mar 2019 02:58:59 -0700 (PDT) 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=d2hCudhASw8wxsHkqG+RXtSVr+MYVBar9SgnbE9VlWc=; b=LehSVoC1cbIXe0Guk+p7qfvtOhPZ5JYvkaolJ8F14KBrq4civ5pHQJWtVI/+cDPuVg PeXrjR1K74DmMhI8NN2i8zDzsL/f4BwUUWHNzqwmna9KmLCZQuNaUX7rdNurDAcFZDcg A2RfWJW4EohlZEwvoT5Z+D4kGYp8YPm5F3Iy+YpAJWY47LATi+3QZ/uP7H9/FhYSG+7e yAOy7Xa9i4DykBYGKFwOYVGQexZrvJnK5Oy08njjg9gzDxlqMTg6JGVIMQ2NTgS4UzKV B9byFcNkIBKoFPJEwVP/DDodSQFe/khSt+4CIsDzCyWb+hTFr8CGdc3ehje06FM7PTqo y2gg== 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=d2hCudhASw8wxsHkqG+RXtSVr+MYVBar9SgnbE9VlWc=; b=EMLgdEgyLp7nUc1LVeAeOj8K+ycBz61I/ct+tKpBYEMj5bpA8Ohekutm1LrHM1d/9i PZ32UEQpwQY3cSitZ1nJnb61JeUjZsDl0ETVKKcbhPGSZjmoPJ/77unbUedz3gNYX88T BkC4KbKZptiDgYVSa9z6zOiAsyHq3GPphSnOhwhmq2RzRSDVI3vMZoJfQ2pMUimolL0j Iu+bfs7EOoNIgKLdKK8EA+XrrE+l2cMU+x5kY+5OXs0hXhJhD6WFprqJVZxFzIxKyzXE 91GsfQX92khHwK+PpjRYLZLH9Gyt6WG2s0g3IfafGakqMShRS9NYcSzuJrhn1VUhyIXO 10Aw== X-Gm-Message-State: APjAAAUoj9xoJQH1c0xfgPX/V56U3ZjY0TPv+8ULnIynO1elAFKATW18 5piFwK1Gw864U8f8N1rPbg73Bg== X-Received: by 2002:a7b:cc18:: with SMTP id f24mr11128724wmh.42.1552903138367; Mon, 18 Mar 2019 02:58:58 -0700 (PDT) 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 g8sm5459034wro.77.2019.03.18.02.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 02:58:57 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl , Neil Armstrong Subject: [PATCH v2 4/8] arm64: dts: meson: g12a: add reset controller Date: Mon, 18 Mar 2019 10:58:47 +0100 Message-Id: <20190318095851.4062-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318095851.4062-1-narmstrong@baylibre.com> References: <20190318095851.4062-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the reset controller device of g12a SoC family Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 7023c1c0f23c..cefd6e27c7a7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -247,6 +247,13 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x100000>; + reset: reset-controller@1004 { + compatible = "amlogic,meson-g12a-reset", + "amlogic,meson-axg-reset"; + reg = <0x0 0x1004 0x0 0x9c>; + #reset-cells = <1>; + }; + clk_msr: clock-measure@18000 { compatible = "amlogic,meson-g12a-clk-measure"; reg = <0x0 0x18000 0x0 0x10>;