From patchwork Fri Jul 17 12:04:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 51233 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E50D22A8D for ; Fri, 17 Jul 2015 12:04:31 +0000 (UTC) Received: by lbvb1 with SMTP id b1sf25029381lbv.3 for ; Fri, 17 Jul 2015 05:04:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VAl7+totgCG4KWefyO0ssBMOgMrOEdeKkCx5An9svv8=; b=HseBDtKGqm7PwAz4i6ObedhSA1Eu4BZbQli4lQu+i9kzJ4rhUTcJkkv2PuwtyfCGls 4vYkpzAT2dl2ywggwQv+TVr5EJRxPnAuYVmuBvEJS3SdDHJVbydoeOrLhb5dIQClgZyk bTFD+qug5yHpx5w9XIoATAlC/+FXpIdLgIRWthAOV3IT2DadZC6swVkH+6/f7kJQpxpf ULtO/MhFHUYwe/4rGrABCW8b4ukdLOPXTWr40iVisb9JKr/Kg43qiSWikv2uDRGlYtGQ 8E4Uwc+r0xG7f4eSy91RqeVi5M3f319Z+rg1KbzrQjg9oILcsNstbD3hbd8YXlJ/ac7m YJ+w== X-Gm-Message-State: ALoCoQkLLIFPbS1A+MCZqYIHq3g//HmiYeANtCtTpwo7tt0yWIC2TjhcaW2pu7oYVPntNmsXbPel X-Received: by 10.112.28.111 with SMTP id a15mr7535066lbh.21.1437134670056; Fri, 17 Jul 2015 05:04:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.227 with SMTP id t3ls503384laj.72.gmail; Fri, 17 Jul 2015 05:04:29 -0700 (PDT) X-Received: by 10.112.171.68 with SMTP id as4mr14216036lbc.64.1437134669737; Fri, 17 Jul 2015 05:04:29 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id p7si9727428lag.32.2015.07.17.05.04.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jul 2015 05:04:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lblf12 with SMTP id f12so59968839lbl.2 for ; Fri, 17 Jul 2015 05:04:29 -0700 (PDT) X-Received: by 10.112.131.98 with SMTP id ol2mr14583900lbb.56.1437134669626; Fri, 17 Jul 2015 05:04:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp873596lbb; Fri, 17 Jul 2015 05:04:28 -0700 (PDT) X-Received: by 10.70.38.10 with SMTP id c10mr28938883pdk.72.1437134667821; Fri, 17 Jul 2015 05:04:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si18441677pdn.1.2015.07.17.05.04.26; Fri, 17 Jul 2015 05:04:27 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757934AbbGQMEW (ORCPT + 28 others); Fri, 17 Jul 2015 08:04:22 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:35553 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757889AbbGQMES (ORCPT ); Fri, 17 Jul 2015 08:04:18 -0400 Received: by wgav7 with SMTP id v7so15045232wga.2 for ; Fri, 17 Jul 2015 05:04:17 -0700 (PDT) X-Received: by 10.180.75.78 with SMTP id a14mr14853529wiw.43.1437134657085; Fri, 17 Jul 2015 05:04:17 -0700 (PDT) Received: from localhost.localdomain (host81-129-173-55.range81-129.btcentralplus.com. [81.129.173.55]) by smtp.gmail.com with ESMTPSA id js3sm18076373wjc.5.2015.07.17.05.04.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jul 2015 05:04:16 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones Subject: [PATCH 4/6] ARM: STi: stih407-family: Add nodes for Mailbox Date: Fri, 17 Jul 2015 13:04:05 +0100 Message-Id: <1437134647-28298-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437134647-28298-1-git-send-email-lee.jones@linaro.org> References: <1437134647-28298-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch supplies the Mailbox Controller nodes. In order to request channels, these nodes will be referenced by Mailbox Client nodes. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..c061d11 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { #address-cells = <1>; #size-cells = <1>; @@ -565,5 +566,38 @@ <&phy_port2 PHY_TYPE_USB3>; }; }; + + mailbox0: mailbox@0 { + compatible = "st,stih407-mailbox"; + reg = <0x8f00000 0x1000>; + interrupts = ; + #mbox-cells = <3>; + mbox-name = "a9"; + status = "okay"; + }; + + mailbox1: mailbox@1 { + compatible = "st,stih407-mailbox"; + reg = <0x8f01000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_gp_1"; + status = "okay"; + }; + + mailbox2: mailbox@2 { + compatible = "st,stih407-mailbox"; + reg = <0x8f02000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_gp_0"; + status = "okay"; + }; + + mailbox3: mailbox@3 { + compatible = "st,stih407-mailbox"; + reg = <0x8f03000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_audio_video"; + status = "okay"; + }; }; };