From patchwork Thu Dec 6 09:57:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 153004 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp10327973ljp; Thu, 6 Dec 2018 01:58:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uv4eKNe8gJgTPjQriHmIFKJ6lwjGcr/n2BcIGu+FRx0V59BMGKebd4YnXcBd4drB/P+MY4 X-Received: by 2002:a62:e044:: with SMTP id f65mr27647853pfh.208.1544090290680; Thu, 06 Dec 2018 01:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544090290; cv=none; d=google.com; s=arc-20160816; b=pCOJ0MCdBRQF88Z5LkSCZsDt8M7vOADG4s9xy4eI98SyKVr50TQGVxsn8Yx2bgGLBx FJZkPyGpm8J0OnMf6teddCOY4WR+sHWwVG25mJl0B+4D1Nv6fFu+Agds1vJxEn4140P7 Jug0HlMwDrcT8U511wTDGGftmWGGO8vSVWWYV70SpUQt7hOdSrVXt8oQYObSWSIWzEjw wFSVpDQ1aWVzn0YdhSa45qlRp+IS9AZm6jyXqJskphV3lCCyTjBjWXffGBoLqZIyXla3 Uvr48dTSdtRbdA6LXWM/6Sq5Da4wJZBoneGDnvsOajScLYzpA7FO6xZOW+tTL+lFJOKB 18Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=kmeN4J5R9xs3mYXoP7Fp+Ey5CgaHJ7uOHwX9towS34Y=; b=khW25+eWx0/VE8lVdSIgrJYNE/P8pbouGxildhygO44mvO8xCgo1P3+oumXIT4wl3H qBiEHwtXEVb7Z6TV6fu+AgQqifQRdEKojCGTZ07y6xkeOGWcA1R19zuKrTaVFoAwj65X 4WPdi3K+5EwNYqVe/7xaOe6rlEjBvMTP6fV9vQCcnPRoiKKCap38S91owzmBwVIIFk4S zHoJxY3+KM8iYx8POy4c2RZmVtP6rYgUlGJYq8tLHDUMMXoK9QdlGfZ7KGMEZKLZsXri dfxld9k79fH/4iSrrOftiTyN+Uen6Vk9vveiJD8pfNjJ6McLHgUirKbKpB5wElDCg65M kzDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3BlfhLg; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si20613141pgh.422.2018.12.06.01.58.10; Thu, 06 Dec 2018 01:58:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=Y3BlfhLg; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729418AbeLFJ6I (ORCPT + 6 others); Thu, 6 Dec 2018 04:58:08 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52723 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729394AbeLFJ6I (ORCPT ); Thu, 6 Dec 2018 04:58:08 -0500 Received: by mail-wm1-f65.google.com with SMTP id r11-v6so328345wmb.2 for ; Thu, 06 Dec 2018 01:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=kmeN4J5R9xs3mYXoP7Fp+Ey5CgaHJ7uOHwX9towS34Y=; b=Y3BlfhLgbisVYA/HIV/+Rab9fIIJD5TdZ8zHzsHH59V5T3VzZyqsiX8HjT3kG0TH8m T5U3jkD2uTSuFHxXKdFUFXitFt+8YK2r4HITacvlb4v16fW1JfXkvbRo1pJbFgYez0mV ip+dn+duTRTb/Ww/sm41Nwkvv5DDe4LLl1D8M= 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; bh=kmeN4J5R9xs3mYXoP7Fp+Ey5CgaHJ7uOHwX9towS34Y=; b=gfcsroUy2kecHHRUtKgqLQHXKBWoTCxXYxmS0vEhWw4HY1IZXqgpePKF69LJ0ygusk KjFsLCltaZjbZKSbDAxHl9WcvXEaOo1nS/7dYCrP1dPjM4kOpO/Ak2O+/u0NtDdtr2CH AAlpEwOZmpt8IiFMaPXxRZ7mG8VUYdpBV+DjpFRB4RyTIXwUdYKXTDKydhg2oK4U/Wmr tVR6NdjCh0FEIQa5t/7T2XoDOgHZnUkfoYnkRgllCBw4MTG1lOBcqF35Rtfx1i9xhGkD cy4WrucotbnrzLrEk8mhdss/+hmGGM2OuV/U3dng8vKNMknvn9PI7g6EGSEhxieBwSch gAtQ== X-Gm-Message-State: AA+aEWbKvdT5cSQxBDZ9Vp3OeBt//Fx4KjgwUmA0xoeUMHcp0KHalqnB W5M9TMpboFkMQUa2DLsz7gzs2A== X-Received: by 2002:a1c:8fc2:: with SMTP id r185mr18702221wmd.54.1544090285865; Thu, 06 Dec 2018 01:58:05 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:100a:b939:11c3:94f9:a500:590]) by smtp.gmail.com with ESMTPSA id i13sm16527677wrw.32.2018.12.06.01.58.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Dec 2018 01:58:05 -0800 (PST) From: Benjamin Gaignard To: alexandre.torgue@st.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Gaignard , Benjamin Gaignard Subject: [PATCH] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC Date: Thu, 6 Dec 2018 10:57:57 +0100 Message-Id: <20181206095757.16363-1-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 2.15.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Benjamin Gaignard Declare hwspinlock device for stm32mp157 SoC Signed-off-by: Benjamin Gaignard Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp157c.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.15.0 diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index f8bbfff5950b..2bd4394fd791 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -886,6 +886,14 @@ status = "disabled"; }; + hsem: hwspinlock@4c000000 { + compatible = "st,stm32-hwspinlock"; + #hwlock-cells = <1>; + reg = <0x4c000000 0x400>; + clocks = <&rcc HSEM>; + clock-names = "hwsem"; + }; + rcc: rcc@50000000 { compatible = "st,stm32mp1-rcc", "syscon"; reg = <0x50000000 0x1000>;