From patchwork Mon Jul 27 09:44:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 51499 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 6D00B22918 for ; Mon, 27 Jul 2015 09:45:00 +0000 (UTC) Received: by wixh2 with SMTP id h2sf26208222wix.0 for ; Mon, 27 Jul 2015 02:44:59 -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=KpCZrcehel0mrYerotEbYq5Ja7Wn/Q5mbqctlF7WIwtuGzRfMs6Xyys3ZqervXrLwJ VNuFtHJ6JLX9NHjAKJtZ8IgKo2tpKlrTt7+js4WnXNIzLcHjZhYcztV8aP/mCtKlZkhp 2zvExm8H6c9VQeWo3HPTOgv8IMC3ymcPiN5yF77mh6mN7E0sPCO6DiVrSl06f5y1/PFH 2PAOmbzJaalEhztWzCgQqTMCz09ZOgPn2arwIHOMT7N3Ljh5AOBF7eVwBiuken3QA42s mDH6m5pYUXD+3dJwAqWOr1ZN8EFt63cxOtYtFAUV5oVN0xFuWDRxomxSyIG8wlMplric GQvg== X-Gm-Message-State: ALoCoQkI47FFLD4eoD0wEbUA1NkYDLilbEnIUxoaSdkW0I9AFXxtj1uQZ8GUBok3d7z8TvzV7uSD X-Received: by 10.152.120.69 with SMTP id la5mr11722215lab.7.1437990299666; Mon, 27 Jul 2015 02:44:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.102 with SMTP id lb6ls707264lab.49.gmail; Mon, 27 Jul 2015 02:44:59 -0700 (PDT) X-Received: by 10.112.26.225 with SMTP id o1mr25848940lbg.5.1437990299412; Mon, 27 Jul 2015 02:44:59 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id j8si14850138lbl.51.2015.07.27.02.44.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 02:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lafd3 with SMTP id d3so35118466laf.1 for ; Mon, 27 Jul 2015 02:44:59 -0700 (PDT) X-Received: by 10.152.25.228 with SMTP id f4mr25733794lag.112.1437990299311; Mon, 27 Jul 2015 02:44:59 -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.7.198 with SMTP id l6csp1421822lba; Mon, 27 Jul 2015 02:44:58 -0700 (PDT) X-Received: by 10.107.134.81 with SMTP id i78mr41518157iod.6.1437990297716; Mon, 27 Jul 2015 02:44:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wa2si282469pab.17.2015.07.27.02.44.56; Mon, 27 Jul 2015 02:44:57 -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 S1754105AbbG0Jot (ORCPT + 28 others); Mon, 27 Jul 2015 05:44:49 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:38343 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754006AbbG0Jon (ORCPT ); Mon, 27 Jul 2015 05:44:43 -0400 Received: by wibxm9 with SMTP id xm9so108148791wib.1 for ; Mon, 27 Jul 2015 02:44:42 -0700 (PDT) X-Received: by 10.194.200.73 with SMTP id jq9mr52428848wjc.52.1437990282074; Mon, 27 Jul 2015 02:44:42 -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 gw7sm12650522wib.15.2015.07.27.02.44.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 02:44:41 -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 v2 4/6] ARM: STi: stih407-family: Add nodes for Mailbox Date: Mon, 27 Jul 2015 10:44:30 +0100 Message-Id: <1437990272-23111-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437990272-23111-1-git-send-email-lee.jones@linaro.org> References: <1437990272-23111-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.53 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"; + }; }; };