Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp508692pxv; Thu, 15 Jul 2021 09:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL1k79M1PT3mWrumQWcGiazqygDGhDJHXyzzcoES3KP7OS/lmFBmZ9euoz1tiLbBnsMbqt X-Received: by 2002:a92:c0cc:: with SMTP id t12mr3155488ilf.47.1626365313726; Thu, 15 Jul 2021 09:08:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626365313; cv=pass; d=google.com; s=arc-20160816; b=Sc3z2TqONwQg4WUzJ3VcLWHxPZkogqF5vuZa0aL0J7ieOz5lEdtgZ9vqOtNO6+qX70 p7MmE6gu09LkXdyx2Mi9Ad6yV8u0SxIEmGZxdluuARAFMI22vDMemIDFZ1CsDzR5eaSH 4E6UBWAIsW5ZpjGBMEG0bLAQG/AUsn4PbGvE8austuqMJKVxQMl5s2EU0op7JSK9VASI 8v6vRpCE0FDHy1LO/o/os3Llxjk2ET1a4jOqQw6wrdGf2ymGq2whT2Znw48T/SAoVtbg oWeC9X1+XrmUfR2EcmrUAtNTGE50fxQ6Z40BAFTMAqulOi3s0KhBlSbEau7tNnBonp1R ChKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=mN34ikLsSAhTnGl156qEd+E6t6u5vQXpqoYYHoLUNZs=; b=HKQodExQhdt3OnDD3R42OpqwjWajxK9m7cnN/LZ5dKpxUXfeEW12S+wOZn7DBl5uR/ DMZ3ZMOYoghRmsd5XSzlFciUhzMFMcbj0n/6VvVxRV4nk1/HRMGNMeZfAK+fGzAcb04y w7V15PWzZ8HEMBpC/i8c3Jv6USfwQEesj8Tm0P18ZCYcyhgGW4ZThhCcypkNJUhPsY8d yolt0w1kQt9J/uVDxy1cpZ3V4pKjBSX4dg6JjnhMxoUOQeFefI1FKa6oyX5HdLoM2uw+ w5uphGDpfUbsfLu1uKY4tGmmaupNZINAmiukVO8FJZyXXPRmMiQt0jjJRP6GaafxiRG8 jJMA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=dp1p9FLi; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si6723231ion.58.2021.07.15.09.08.21; Thu, 15 Jul 2021 09:08:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=dp1p9FLi; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbhGOMCI (ORCPT + 99 others); Thu, 15 Jul 2021 08:02:08 -0400 Received: from mail-am6eur05on2043.outbound.protection.outlook.com ([40.107.22.43]:19392 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229556AbhGOMCH (ORCPT ); Thu, 15 Jul 2021 08:02:07 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FIyh47NXBbNPEfCeFCs1O8AL1130/i4etLVAc23MMFSv/98uMKIsG6UDBFPenpf2ZBglnyE39FDNX2PDJAvbvX+69hLGwtRtj+ouPTvLJlBjX6Qb1uiREksDsx2jHHaBElmVDwipKTXDjAQS852Kp0aoDYCTbS72Jn4CQzt5kZO728fHhaNafdZ6MbjQrpkI9KKUVOC3rmhSkgHWQIMD2+e4ze4+392GU7aLblHH/RqaMvcyiZYCGLBFR16NW3/In6GZKoqYUibM/Oyq8UDWmdvkSiGh89yhG/NpHuPkimcxFUAsSvDQgW35ObwsC07MZSqmSze94yxYiWdkR/EVrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mN34ikLsSAhTnGl156qEd+E6t6u5vQXpqoYYHoLUNZs=; b=MTb/mcPr4G70YeTppn1DWpoq1MHL2zmIDNor3j88Eby/HrBgQZMtm9EzatGED90gCl2vv0Pl+n9iXqt7RD+UbgKbEnusiVZCsZp4wTRy4AkFALAXfGWefL20r1ncjwtFvValBnl8sEFtbRH/mWjmRbbE6xpuCnHawstjQF6Sfdly5YO5MkzYe65CdHjQ5dKEnV79naSRduooP8UUZn0RQ7uDCilr67KNRHLXUkTU9PbrRRYI98ZtQ4c4S+VHxYY8AJkzoxjGHrOm0KzjyQjy0OcowG7tbwjoDYSGEULngV0JJ378ksN4yBbPTKW93zPcpMNhP+ylX2szrk/692T6BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mN34ikLsSAhTnGl156qEd+E6t6u5vQXpqoYYHoLUNZs=; b=dp1p9FLiC0V2p0gMvBJynVTEHFRJlCfThHb63JKxlOvnYlwLEPAjUFXmz6t174QVrlAPo+Am1CeEfXgrjj/bfnPdbTQrRQefvYtqBt4Jc+0p4zUYRUgKcrt8kBg5OiEASgBtabq2dLPwFUt2gtbrduSORSG+sW1xEgfYmNmxnKk= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM0PR04MB5140.eurprd04.prod.outlook.com (2603:10a6:208:ca::21) by AM0PR04MB4114.eurprd04.prod.outlook.com (2603:10a6:208:5f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.24; Thu, 15 Jul 2021 11:59:09 +0000 Received: from AM0PR04MB5140.eurprd04.prod.outlook.com ([fe80::1105:2d9f:b790:4ec3]) by AM0PR04MB5140.eurprd04.prod.outlook.com ([fe80::1105:2d9f:b790:4ec3%6]) with mapi id 15.20.4331.023; Thu, 15 Jul 2021 11:59:09 +0000 From: Daniel Baluta To: shawnguo@kernel.org Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, ping.bai@nxp.com, qiangqing.zhang@nxp.com, alice.guo@nxp.com, yibin.gong@nxp.com, linux-imx@nxp.com, peng.fan@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, daniel.baluta@gmail.com, linux-kernel@vger.kernel.org, Daniel Baluta Subject: [PATCH] arm64: dts: imx8mp: Add dsp node Date: Thu, 15 Jul 2021 14:58:53 +0300 Message-Id: <20210715115853.749025-1-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.27.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1PR0801CA0069.eurprd08.prod.outlook.com (2603:10a6:800:7d::13) To AM0PR04MB5140.eurprd04.prod.outlook.com (2603:10a6:208:ca::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2a02:2f08:5503:9f00:58f1:af0b:2fd9:e70) by VI1PR0801CA0069.eurprd08.prod.outlook.com (2603:10a6:800:7d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Thu, 15 Jul 2021 11:59:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e047415-4ed3-4b11-e569-08d94787f3e4 X-MS-TrafficTypeDiagnostic: AM0PR04MB4114: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1148; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l0G98TfHS/OSWDVZ32Qlnltql7KgRM6YSJwqZ64DuLrq6BLuU3ArCPcMaY4hhMI/bTrdhfc7DRY0UxqTmYVB10RiA+0QgjtzKwFZQhpVrBxd4PfrFnYMCR2nTpKs+PI/ljHrgBDM7ER2Xn8mN5vrJSOS4Fu0fXwiCbLt8BC/UUxKD67rT1ei1aElvMa47rqksThX+e6cuwbpz7gg/QToSMm9YGdsBHLYKM+NPTJrhf+VrQ+/2xor8g04D2K2cc4bau8tNjgXyeT+XmGVqD5vSTl7Lyrzfngizr+3luiw/jFPFd5ugBybPvaTRTHm8Qvd0lGKTsUf/NQeRFFbC5pUHSwdPBaeImAygcR8ouSrzqt+Pf+H/YvESfoJhVaEB9y+dn5K/jTNDixU4O5BJrIVYFtgxGp9g2H0a4OAT+Lyr+1Z3OQSwcACqhusQaLt47WATlcslmVYszdcV/2YrkNyENLg7gdgPfhQYntkD7X40XaCoq4FRsqZhpIxr0TBpogr2y1fBAjbfjvSULHrlpmuzXLKZhXUxOYvsAmrZYXb9u9soB6Nw27V/xptejvrPj6HcxpPs184oyKt7dWbZtG816UA2hTOk8EPCN/qJTwf9POEkYWdrskXQYzq3V8zOUAcgl02u0q+O6SARmEtgp+LDlIoIsPBOs3eH+omSvlrUEWDJtc8Io3NkClfSBWigcgbjqiNOYx+bJxrm490iKwONwG518Nr56nhDXW2Fi/OWfZUSSWby9eWvCMb1DhrQYg6Ao2N6lzMDIjusfKurk3jfCao99sMyV9WQ0xosStASp4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB5140.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(366004)(136003)(39850400004)(396003)(346002)(6512007)(6506007)(83380400001)(52116002)(186003)(8676002)(478600001)(66946007)(966005)(6916009)(8936002)(2616005)(6486002)(1076003)(66556008)(5660300002)(2906002)(86362001)(38100700002)(66476007)(316002)(44832011)(4326008)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ogLzRxiKfJ3qW4BLG/b5czT6eUl8oBjigBlUBYwxgvghowkRtS3CR0fyGXgY?= =?us-ascii?Q?roU2S8Ot1Ncq8Km5JZllS1g2tb3J6L1j1U4IwkrYzdHq7YBpmCkbZR/OfhoP?= =?us-ascii?Q?PHLsqY8AxuUDatslG2/jTsk8B6Jvlvpjs1GXCQS3GUMja/7Gp6kemQ0t/7IT?= =?us-ascii?Q?uHlhksqB4wIckDqmsbNZlpS5oJGfS02kVaRP80v0Cg0qfirwLYOsN9GVEDOP?= =?us-ascii?Q?zWzDRxfLb9YW3BFOLhuyupXhEEXOR/vSWRwFNcvMFQ+RuM2uEbcWkgsrfUTY?= =?us-ascii?Q?X5C2Ly2SoVAYmCn5DdH6CviKX94iAubvDZv2qBWVad2o8TWHTA7DOCI3xvxb?= =?us-ascii?Q?Fgv17BRUO1/MiAiMyd28SH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us-ascii?Q?11gBjwdcvbcRnLKBD67mfdbWY6F8CgRePPMLMkU+hSOogv3i6BxpRhc9/OK5?= =?us-ascii?Q?v+HKaTmcnkHq4Rmex3Ddtuug/92LOgYuuuynP8gtxOVkNypJLojBTkvTPjwm?= =?us-ascii?Q?k8pSpJQXaTRHOEp1uQomAawgV9Fy?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e047415-4ed3-4b11-e569-08d94787f3e4 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB5140.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2021 11:59:08.9656 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LQ6LhB0jcrDRTnjftKhkFbRm693TDB6KfyM/6itvHEXcgbCwXl6WPp27daWU9HbDlamSDCGKwLttmDI9UsfVLA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4114 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Baluta i.MX8 MPlus SoC integrates Cadence HIFI4 DSP. This core runs either a custom firmware or the open source SOF firmware [1] DSP device is handled by SOF OF driver found in sound/soc/sof/sof-of-dev.c Notice that the DSP node makes use of: - dsp_reserved, a reserved memory region for various Audio resources (e.g firmware loading, audio buffers, etc). - Messaging Unit (mu2) for passing notifications betweem ARM core and DSP. [1] https://thesofproject.github.io/latest/platforms/index.html Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 9f7c7f587d38..264ba540f363 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -135,6 +135,17 @@ clk_ext4: clock-ext4 { clock-output-names = "clk_ext4"; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + dsp_reserved: dsp@92400000 { + reg = <0 0x92400000 0 0x2000000>; + no-map; + }; + }; + pmu { compatible = "arm,cortex-a53-pmu"; interrupts = ; }; + mu2: mailbox@30e60000 { + compatible = "fsl,imx8mp-mu", "fsl,imx6sx-mu"; + reg = <0x30e60000 0x10000>; + interrupts = ; + #mbox-cells = <2>; + }; + i2c5: i2c@30ad0000 { compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c"; #address-cells = <1>; @@ -938,5 +956,15 @@ usb_dwc3_1: usb@38200000 { snps,dis-u2-freeclk-exists-quirk; }; }; + dsp: dsp@3b6e8000 { + compatible = "fsl,imx8mp-dsp"; + reg = <0x3b6e8000 0x88000>; + mbox-names = "txdb0", "txdb1", + "rxdb0", "rxdb1"; + mboxes = <&mu2 2 0>, <&mu2 2 1>, + <&mu2 3 0>, <&mu2 3 1>; + memory-region = <&dsp_reserved>; + status = "disabled"; + }; }; }; -- 2.27.0