From patchwork Tue Mar 3 10:41:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 45347 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8E72521429 for ; Tue, 3 Mar 2015 10:42:22 +0000 (UTC) Received: by labmn12 with SMTP id mn12sf253211lab.2 for ; Tue, 03 Mar 2015 02:42:21 -0800 (PST) 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=DcJXTOW5pu0kUZZ1mmqwcF+/CB1UMjuy6+R9KSOJzaI=; b=iq+U1IFuL6RlCQ0njUhAdoCmZdSKINJs0zawUi5RkdGHcr+Y1GTOe+qUaLgxZ5hsgY y07ECws3zeZ+lmd/bAeyjM/ZV1a++PxE1hN6kE1cb72lOBfA9LU/5MNs91jAyjsNymHs ksNokIJRDuVjRJmnSsr2xTrvo2VVGe0HS/N7AacLddheBbhVH5ZS7J47Le7oPJx7xdTR L1+x2XGx4mgvzzQ8HdGXWWSuF8NxqQJKcxw3RaoZjpJapToDdzA7CxBKV/sRs2BKXIEh sWe5xiNk6bTqrMDfuuzfkv2WYtMfmzhh1uu/i+Avx/pn+RLUlikAiC8wmvaK56kLCZMz oXMA== X-Gm-Message-State: ALoCoQknmnPgzvxpVYDQS3gOIVmWwqNXScjkEc5BxZLkMqTzY9VxIVqlqjEL/9R1soYyMSPsw8sM X-Received: by 10.152.6.41 with SMTP id x9mr4447627lax.10.1425379341474; Tue, 03 Mar 2015 02:42:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.70 with SMTP id h6ls19506laa.78.gmail; Tue, 03 Mar 2015 02:42:21 -0800 (PST) X-Received: by 10.112.161.66 with SMTP id xq2mr28366849lbb.103.1425379341296; Tue, 03 Mar 2015 02:42:21 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lu7si214370lbb.124.2015.03.03.02.42.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 02:42:21 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lamq1 with SMTP id q1so13304480lam.9 for ; Tue, 03 Mar 2015 02:42:21 -0800 (PST) X-Received: by 10.112.211.200 with SMTP id ne8mr27982918lbc.73.1425379341177; Tue, 03 Mar 2015 02:42:21 -0800 (PST) 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.35.133 with SMTP id h5csp477443lbj; Tue, 3 Mar 2015 02:42:20 -0800 (PST) X-Received: by 10.70.24.37 with SMTP id r5mr54823844pdf.157.1425379339414; Tue, 03 Mar 2015 02:42:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si516437pdr.93.2015.03.03.02.42.17; Tue, 03 Mar 2015 02:42:19 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755770AbbCCKmN (ORCPT + 28 others); Tue, 3 Mar 2015 05:42:13 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36940 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754966AbbCCKld (ORCPT ); Tue, 3 Mar 2015 05:41:33 -0500 Received: by wivr20 with SMTP id r20so21660306wiv.2 for ; Tue, 03 Mar 2015 02:41:31 -0800 (PST) X-Received: by 10.194.61.100 with SMTP id o4mr68680997wjr.28.1425379291846; Tue, 03 Mar 2015 02:41:31 -0800 (PST) Received: from localhost.localdomain (host81-134-89-90.in-addr.btopenworld.com. [81.134.89.90]) by mx.google.com with ESMTPSA id a13sm702429wjx.30.2015.03.03.02.41.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Mar 2015 02:41:31 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org Subject: [PATCH 1/3] ARM: STi: stih407-family: Add nodes for Mailbox Date: Tue, 3 Mar 2015 10:41:21 +0000 Message-Id: <1425379283-1567-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425379283-1567-1-git-send-email-lee.jones@linaro.org> References: <1425379283-1567-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.215.41 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: , Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 67 +++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 0eb39d9..23916ac 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -12,6 +12,13 @@ #address-cells = <1>; #size-cells = <1>; + aliases { + mailbox0 = &mailbox0; + mailbox1 = &mailbox1; + mailbox2 = &mailbox2; + mailbox3 = &mailbox3; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -275,6 +282,66 @@ status = "disabled"; }; + mailbox0: mailbox@0 { + compatible = "st,stih407-mailbox"; + #address-cells = <1>; + #size-cells = <1>; + #mbox-cells = <1>; + reg = <0x8f00000 0x1000>; + reg-names = "mbox-reg"; + interrupts = ; + interrupt-names = "mb0_irq"; + status = "okay"; + st,name = "a9"; + st,mbox-rx; + st,mbox-rx-id = <0>; + st,mbox-names = "chan0_a9"; + st,mbox-chans = <0 0 0 0>; + }; + + mailbox1: mailbox@1 { + compatible = "st,stih407-mailbox"; + #address-cells = <1>; + #size-cells = <1>; + #mbox-cells = <1>; + reg = <0x8f01000 0x1000>; + reg-names = "mbox-reg"; + status = "okay"; + st,name = "st231_gp_1"; + st,mbox-rx-id = <0>; + st,mbox-names = "chan0_gp1"; + st,mbox-chans = <0 1 0 1>; + }; + + mailbox2: mailbox@2 { + compatible = "st,stih407-mailbox"; + #address-cells = <1>; + #size-cells = <1>; + #mbox-cells = <1>; + reg = <0x8f02000 0x1000>; + reg-names = "mbox-reg"; + status = "okay"; + st,name = "st231_gp_0"; + st,mbox-rx-id = <0>; + st,mbox-names = "chan0_gp0"; + st,mbox-chans = <4 0 4 0>; + }; + + mailbox3: mailbox@3 { + compatible = "st,stih407-mailbox"; + #address-cells = <1>; + #size-cells = <1>; + #mbox-cells = <1>; + reg = <0x8f03000 0x1000>; + reg-names = "mbox-reg"; + status = "okay"; + st,name = "st231_audio_video"; + st,mbox-rx-id = <0>; + st,mbox-names = "chan0_video", "chan0_audio"; + st,mbox-chans = <0 3 0 3>, + <16 3 16 3>; + }; + st231_gp0: st231-gp0@0 { compatible = "st,st231-rproc"; reg = <0x40000000 0x01000000>;