Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3174076ybv; Mon, 24 Feb 2020 19:50:39 -0800 (PST) X-Google-Smtp-Source: APXvYqx3sKDjz1lUmKhuydsibUmCao9mtTVjDF0ky2k5AWJTExUS690PaoQ9+NjSD7AsJVbUZn6Q X-Received: by 2002:a9d:6b91:: with SMTP id b17mr40595062otq.235.1582602639696; Mon, 24 Feb 2020 19:50:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582602639; cv=pass; d=google.com; s=arc-20160816; b=ZAGMFEHR4yUuLBrWnPkzGi7ksavip5UGH/zWns0qACh9C8DIWxuEiYHM2f7BedoKro VG42Jq03YZc1VG07mefQiuYRbliN2p9dVU5hcMC+RS0a6zIY8wSafop4pu5SJ/3irCHH ihVy36UIfoX578M4Un7MXPFgw9q71qC9Ko05I5Q4Tk+f4T45Ccn56WwD0YmMKeea0D7R FWZKLIl80FCDZAO3CLoFWlWfdq4zCM6GYiUg6BsCLqPlWSeVvUoVPnePa05/l/xYvpep 8OoXyE1JceQyRk9Zf1PvRd8QRJovpl/Ib7GA0xrc4Qj1oAf9pvXtmEWf7jidflJJMhHZ n1Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=LqKBiafB2ZFKfJU2Li29OXgoWjlAbRLYU3W31h0Rw/g=; b=YZU+FQb5dbwXvUP/muLNajEb22oBAA2Uq3oJ5KUPu6HjLC5CS0jArrWvTFoEc7Y1IK ccKdKg/hh/ImOAGQTQtE42qSOURzdXOuy07uPXHn+06uPSYK1vgDRcSuYBKvpWus4OKS ENiCX+vu1kHRaIh0A28jHCHlaJiwHC0eLQgYUXqCWFg/s27Ead8Um0JKkBXHs25YvmvA mjOIWKt/sOjpx4k6d/IK2gubugBTVTWiLg+isHj6Ar83OME7wyZ0CvNuD3GGQBXMRb7o SaJleBv2bNRxWMNwMsMxnPGPuHzqQbdP6eSljbeDmRXwidLZbA/ZAQrk5vw059YZYJUp Pj9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XPmvIc+4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si7166609otj.198.2020.02.24.19.50.26; Mon, 24 Feb 2020 19:50:39 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XPmvIc+4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728866AbgBYDuT (ORCPT + 99 others); Mon, 24 Feb 2020 22:50:19 -0500 Received: from mail-db8eur05on2088.outbound.protection.outlook.com ([40.107.20.88]:39649 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728523AbgBYDuT (ORCPT ); Mon, 24 Feb 2020 22:50:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VdZgW+Vvn0lYIq9w6QIi7mbiuzrTXwamaHizNVXmgFT7jUNFU9oYq6XFFXhz5FXJDcJ8P7e8aQsDHEC+QxpPY+66nI2R05glERzmVxwSZikunQhOyjE7ppv+xDytncssl/pZG/YmYHGoXnO30ndmW+vTykqu64sgqg+MTPfhxbh5AaZm6Rxqe7otqfPHG06ec8D3AHW/TTQGm+hwFgACOnq4oN3XOhksXDuOvdrVUGuSSWK48PJG/iN7ofVVFXoV2d+mG40XoLd4mjbLV20fjoeWgEPtolJKr/mciRRuhlzJQ5aPL659Z6AhJJ4gscN4nueOOqE9X6g4xf09dunkMQ== 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=LqKBiafB2ZFKfJU2Li29OXgoWjlAbRLYU3W31h0Rw/g=; b=jjiAwqfplICSKSH3GVk8u9mdZ/8NWy4lS+dDbat9l9wmpmnCq/THbICj2ypbvRfgZFnevhnqBPDWY8l7wapQoGpCC1EO0MZbbgZhz2T0+kgIloxza0x0vyzuOlNO7KEJAQuljEkmnBj7mMniCnJF1TNrw/FIdqAxXH8LzSSrJHRPFB7NsbDJNEnFK4vtvKSVU9IQ4lAPSTllTp1XF+HOc3uGINjUtA789Y/te5DVQl/fapl7tj48+7s8Ex/NwYo9r20XwSTuFwW8CNZrmXkyeXRAFT5DuVXszt34cNBWSteqQn2FzdO+d+vjBigrKN+Xiaq3/H4DSLMi5DdolJ+zyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LqKBiafB2ZFKfJU2Li29OXgoWjlAbRLYU3W31h0Rw/g=; b=XPmvIc+4di7FYIMp+paZ5KBAm5c9p6uoaiAoN4DWDkm3mUTtxS08/pRptePAR2DxU499UDMz+5H0hravgQ+wY7yDDtFuTgwISRvXxuVGIRWXtanAIq1pNWnxj13bUIe0oRPHbrLf8/gT+6+lT1miP8cGc4jnhHAslcSfichEG8E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5955.eurprd04.prod.outlook.com (20.178.112.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Tue, 25 Feb 2020 03:50:13 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422%3]) with mapi id 15.20.2750.021; Tue, 25 Feb 2020 03:50:13 +0000 From: peng.fan@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anson.Huang@nxp.com, leonard.crestez@nxp.com, daniel.baluta@nxp.com, Peng Fan Subject: [PATCH] ARM64: dts: imx8m: fix aips dts node Date: Tue, 25 Feb 2020 11:44:02 +0800 Message-Id: <1582602242-28577-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-ClientProxiedBy: HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2750.18 via Frontend Transport; Tue, 25 Feb 2020 03:50:09 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 71b5a415-4a63-4768-48b7-08d7b9a5d175 X-MS-TrafficTypeDiagnostic: AM0PR04MB5955:|AM0PR04MB5955: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-Forefront-PRVS: 0324C2C0E2 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(396003)(366004)(136003)(376002)(39860400002)(199004)(189003)(9686003)(6506007)(2616005)(26005)(52116002)(6512007)(6666004)(86362001)(8936002)(81156014)(8676002)(81166006)(956004)(66556008)(16526019)(316002)(6486002)(5660300002)(69590400006)(66946007)(186003)(2906002)(66476007)(478600001)(36756003)(4326008)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5955;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E76lIq2/jSjWRApAnWDZRoymJqw67PPe0OM2ZAOl5rrAGccPeG3rTDCw30rS21uWmuvApc7PvuIXv8zXBUzY2m9jtCRd+azuxRGD2pIs5NMLWFnFYI5s170KX5EomKCXBU0yUYAGP5phvft683d8tE+ea+f4OLEu8f8J21tyBZHhe8WuFJ1ESNb5F/2t6WFWcvSi4qXMEBC68z0NGts/awdjE3S4qH42TDfSoD5H0cTK2pyYrv/yFyoM47SPRM/Tb6xSgvyjhbgHm7V0NxS15EcCoVW3FTR39CGv1tbefI0vJPXcMYIvFcKXQoRKBmHd+GXeJ9hyNlNmS5hg8/4+iBdeo0PyofhJk2fbvnNRif6elSmn6+J+p29RBvI+fK4Ol0i/wRv87/kJBJwy0vt+1QkSlTjQKNtubC7C8lpBjtpacVG9R97MUq9XN9oXUGIqVpRyqgcM1lkC78+KKakb+Wt6ykovlup1ICSb5Ig9aGH8OvfzQLKnsYTA9uR+1j4M8iXXfoVq3TLaa60nTeNzjO6fkkZiTff6Sd0SZFAiuTUdST0AHSl8gLE3wB1mdZaO X-MS-Exchange-AntiSpam-MessageData: lmeDO+5yPep9CYN0dUm5SoTBVWWI7Qjl6oC+cHql6n+SrJKuH0FnCjz/fE2+A+kS2WOQ5OdhPhm3jPA1EweZ39y8yaiJtNDEXNyW+kx7+BfLjV/hIM+tl3+G1lNRTZMsRX/I/X2otORTZbgcBxhA6g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71b5a415-4a63-4768-48b7-08d7b9a5d175 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2020 03:50:13.5129 (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: 9T3cuDapG7iKsyVUlguVJQb7H0k+YEV48oaLk2XnhUCmnDvpI/J0o2qJIOpfseCu1wOAlh7tsKfO20hmc8FexA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5955 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan Per binding doc fsl,aips-bus.yaml, compatible and reg is required. And for reg, the AIPS configuration space should be used, not all the AIPS bus space. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 12 ++++++++---- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 16 ++++++++-------- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 12 ++++++++---- 4 files changed, 30 insertions(+), 22 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index b3d0b29d7007..a4356d2047cd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -227,7 +227,8 @@ ranges = <0x0 0x0 0x0 0x3e000000>; aips1: bus@30000000 { - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x301f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30000000 0x30000000 0x400000>; @@ -496,7 +497,8 @@ }; aips2: bus@30400000 { - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x305f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30400000 0x30400000 0x400000>; @@ -555,7 +557,8 @@ }; aips3: bus@30800000 { - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x309f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30800000 0x30800000 0x400000>; @@ -800,7 +803,8 @@ }; aips4: bus@32c00000 { - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x32df0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x32c00000 0x32c00000 0x400000>; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index f2775724377f..4848ce82f083 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -203,8 +203,8 @@ ranges = <0x0 0x0 0x0 0x3e000000>; aips1: bus@30000000 { - compatible = "simple-bus"; - reg = <0x30000000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x301f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -401,8 +401,8 @@ }; aips2: bus@30400000 { - compatible = "simple-bus"; - reg = <0x30400000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x305f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -461,8 +461,8 @@ }; aips3: bus@30800000 { - compatible = "simple-bus"; - reg = <0x30800000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x309f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -707,8 +707,8 @@ }; aips4: bus@32c00000 { - compatible = "simple-bus"; - reg = <0x32c00000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x32df0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 71b0c8f23693..eb67f56cdfe2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -144,8 +144,8 @@ ranges = <0x0 0x0 0x0 0x3e000000>; aips1: bus@30000000 { - compatible = "simple-bus"; - reg = <0x30000000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x301f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -309,8 +309,8 @@ }; aips2: bus@30400000 { - compatible = "simple-bus"; - reg = <0x30400000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x305f0000 0x400000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -369,8 +369,8 @@ }; aips3: bus@30800000 { - compatible = "simple-bus"; - reg = <0x30800000 0x400000>; + compatible = "fsl,aips", "simple-bus"; + reg = <0x309f0000 0x400000>; #address-cells = <1>; #size-cells = <1>; ranges; diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 6a1e83922c71..07070464063d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -290,7 +290,8 @@ dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>; bus@30000000 { /* AIPS1 */ - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x301f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30000000 0x30000000 0x400000>; @@ -692,7 +693,8 @@ }; bus@30400000 { /* AIPS2 */ - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x305f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30400000 0x30400000 0x400000>; @@ -751,7 +753,8 @@ }; bus@30800000 { /* AIPS3 */ - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x309f0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x30800000 0x30800000 0x400000>, @@ -1023,7 +1026,8 @@ }; bus@32c00000 { /* AIPS4 */ - compatible = "simple-bus"; + compatible = "fsl,aips", "simple-bus"; + reg = <0x32df0000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x32c00000 0x32c00000 0x400000>; -- 2.16.4