From patchwork Mon Jan 8 15:39:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760862 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2047.outbound.protection.outlook.com [40.107.243.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 968D451C51; Mon, 8 Jan 2024 15:39:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="4s4y82RU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RMjKv4mdB2m0tUAKuqiH49Xc4Maueo/d9QDFW4I5LUtQt5spPpa1zjmdHbh5U1ugdHwBwbdstN6Pd5iR6ClIFda9UuRiP0f7JnVC/tL3UubYwpouYsFSz73ygf06dCJSf7ZjjYPo8Od3m3RZue3zLgMri3lFtz10twe3gJ3oGl20MRcFYTQ+9/xViihc/j2roOg0lriKtZj4hI3p906Px3vIywfwyFN1CNDBHHV7uSidcJXMq2G76fq3GAFGhGsC3QBHcsjHm0fk2bFmcUUFLdzRL7elSKZfDiUkdkMFPkd/chFlFCBnsGKirTUyYowmFJsulNMOxLt9mEcvxQP1Iw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jZ0ohL+6IzxyMfWcDl5pYx1mrHNm3da736S74Xq2a8w=; b=W4/n1G608vg4slRlaovFubsiFbcp0k4Ls3sxBs1LzdEm+VaSqkc8/M45J/bjqSxYVIYEYwgeU4ZGBastD9yWdaxQQm7mQr8UPZqz7YOSl/XzuX8c6u9UtBK936X4tGIcvA8M4FkzTvOFACSO7tAamoOhhl5j+Sp2DUimL2U1plRhNMwp/cy/xRmRHpJypUv2sOtlbQRYhJLy3MCsZ9Eo5EMju0+wrBJ7O/aqE0RYqM5Bti5ANyMmjoGPzBDrBoDeoHIoAnyFcKv+BeAEZkkYoco7dG89Sk1kPuOZvMrjFNNGdnm2RqnSmEuR6fjFmztbe0g0YOgl13hu3NPcExjZGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jZ0ohL+6IzxyMfWcDl5pYx1mrHNm3da736S74Xq2a8w=; b=4s4y82RUeeSnI1kRaQeVk6jo62Ga978or9t1gVeGjJrFGoJIMPVknhAyTkUMJkdKb0p0+OUZBlt3uL4Nj9y9shcJPKpXTqWsdO+rSENDAh4B+LJ4+bHTZmkwyNECGXVX7TFFBb9cDGkvjQFn0CUQkmRp0KuIE1wc4J9z+Cn8x8I= Received: from BL0PR0102CA0018.prod.exchangelabs.com (2603:10b6:207:18::31) by BY5PR12MB4148.namprd12.prod.outlook.com (2603:10b6:a03:208::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Mon, 8 Jan 2024 15:39:34 +0000 Received: from BL6PEPF0001AB75.namprd02.prod.outlook.com (2603:10b6:207:18:cafe::30) by BL0PR0102CA0018.outlook.office365.com (2603:10b6:207:18::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23 via Frontend Transport; Mon, 8 Jan 2024 15:39:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB75.mail.protection.outlook.com (10.167.242.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:39:34 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:39:32 -0600 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 01/14] arm64: xilinx: Move address/size-cells to proper locations Date: Mon, 8 Jan 2024 16:39:12 +0100 Message-ID: <18339ffa3d8c3bf284d9c53ce950beea76516408.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=12487; i=michal.simek@amd.com; h=from:subject:message-id; bh=tHFdh5/5mGBHhdVT/x85Z1yspmyrtBHUATzqJapY3+M=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54qof9to2b060lbmmJVqz6Nuagw9KPO7cLth9t3Hbt +zd5+M+dMSyMAgyMciKKbJI21w5s7dyxhThi4flYOawMoEMYeDiFICJGK9lmB85gUHAs2Ud4wKJ Z7fL53Xd3OL51IFhnv4361f6md9vbStUyeIqlvffU5LTAwA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB75:EE_|BY5PR12MB4148:EE_ X-MS-Office365-Filtering-Correlation-Id: e4d8ee3a-2f31-4ea0-37ec-08dc106003a6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2JGczk8iB3AOO9gCVHd0DDvcl+tLdpKQeWYAxIuPyAKffwrPpv589Sr1Z+/rsYEHmZ+jagnPSFk+CCc+SY7ssjVxDIyssp+rKdAZAKoqeDq2dDzpyCROhPAwGFHk+7J3bGKtifubaTZg+sJs2PV3HzPAbZP4YqCvGsfPsdQL6MyQC0Ssmkd52I1tuwjlFqdE0g9fktVXQzZl1vMbwb2NE4dlPxWsGWVvUCKmgqVErYferxqohIQZLDU7VbqJge/MwpH4OXlfaFSL/AANlzwhC7pbsg3Xki60+JX59QUN2RI4YvViKVwpNvZT22cS/Bc2xhLcWScbJYTyyqYEkI3eZXs8eVQq2wBKVMWZWB9szVytdsgDIV/LjnCe5o2djgpK3c54YrgFBtCSu0RulgUrBgBBNaeLcBjC18PxlvRoGmOHAKAMp/23Si5nnqum7TnHofAnrHrxXonaoT+AqTTlNTmt6RcDceurJoa8A4dQxpooqlveuS1MGSc8IumpGVPFNL9M6exwFRzBvq4IFjYtAIpYpdFFICqs5hXIMs+f8Lz3vAUGW+7g7c6aBvNZdbgwdVfleFjduD1t08z2qSxojmWXxtnm8hhl+I3M2ML94N8ciJI9LupxR86sxgZb5YGrkgJ8PG9uC+t8enc8LmYJMLGaiahAk7hVK+1t4TT4fWMh+jyJSkoDXtI3nn39Qj/qv5Q/IHOng61836LktANJaXbfkSHp1izy7kNeqriDml7j0qgv1QfNKBFXBUWAR6wI+PdO2LW870+SwI1cy8iY3nkITk7hNwMajBBIS9oUqWY= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(136003)(39850400004)(376002)(396003)(346002)(230922051799003)(64100799003)(1800799012)(186009)(82310400011)(451199024)(46966006)(40470700004)(36840700001)(81166007)(41300700001)(30864003)(2906002)(5660300002)(82740400003)(54906003)(110136005)(44832011)(40460700003)(36756003)(86362001)(36860700001)(356005)(40480700001)(6666004)(316002)(8676002)(8936002)(4326008)(70206006)(47076005)(70586007)(83380400001)(26005)(478600001)(16526019)(426003)(336012)(2616005)(36900700001)(2101003); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:39:34.3428 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4d8ee3a-2f31-4ea0-37ec-08dc106003a6 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB75.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4148 Move cells to board dtsi files from generic zynqmp.dtsi. Changes are related to qspi, spi, nand, i2c and ethernet address cells make -j8 W=1 dtbs Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 6 ++++++ arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts | 2 ++ .../boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 4 ++++ .../boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 8 ++++++++ .../boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts | 2 ++ .../boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 6 ++++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 6 ++++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 6 ++++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 14 -------------- 15 files changed, 56 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 51622896b1b1..5442edede687 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -129,6 +129,8 @@ mux { }; &qspi { /* MIO 0-5 - U143 */ + #address-cells = <1>; + #size-cells = <0>; status = "okay"; spi_flash: flash@0 { /* MT25QU512A */ compatible = "jedec,spi-nor"; /* 64MB */ @@ -240,6 +242,8 @@ &sdhci0 { /* MIO13-23 - 16GB emmc MTFC16GAPALBH-IT - U133A */ }; &spi1 { /* MIO6, 9-11 */ + #address-cells = <1>; + #size-cells = <0>; status = "okay"; label = "TPM"; num-cs = <1>; @@ -251,6 +255,8 @@ tpm@0 { /* slm9670 - U144 */ }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; bootph-all; clock-frequency = <400000>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts index 04079d1704f1..cbaf6303a17c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts @@ -38,6 +38,8 @@ &dcc { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts index 3dec57cf18be..18187b6df3d8 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts @@ -39,6 +39,8 @@ &dcc { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts index 73491626e01e..986efae8847a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -118,6 +118,8 @@ &gpu { }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -353,6 +355,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* Micron MT25QU512ABB8ESF */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts index f767708fb50d..7599a12b64a5 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts @@ -109,6 +109,8 @@ &gpio { }; &i2c0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -132,6 +134,8 @@ rtc@68 { }; &nand0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_nand0_default>; @@ -444,6 +448,8 @@ &rtc { }; &spi0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; num-cs = <1>; pinctrl-names = "default"; @@ -464,6 +470,8 @@ partition@0 { }; &spi1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; num-cs = <1>; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts index f553b317e6b2..17e8a7c3701a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts @@ -103,6 +103,8 @@ &gpio { /* just eeprom here */ &i2c0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts index 6ec1d9813973..5ad533cf86ea 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts @@ -171,6 +171,8 @@ &i2c1 { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 52f998c22538..b4456e5b5058 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -176,6 +176,8 @@ &gpu { }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1_default>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 84952c14f021..55a8d3e9d44f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -228,6 +228,8 @@ &gpu { }; &i2c0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -492,6 +494,8 @@ max20751@73 { /* u96 */ }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -951,6 +955,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 5084ddcee00f..59a919368094 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -135,6 +135,8 @@ &gpu { }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -438,6 +440,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index b273bd1d920a..4fe60f22c852 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -140,6 +140,8 @@ &gpu { }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -450,6 +452,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 50c384aa253e..afc5571bf72b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -240,6 +240,8 @@ &gpu { }; &i2c0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -503,6 +505,8 @@ max20751@73 { /* u96 */ }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -958,6 +962,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 617cb0405a7d..e3e0377d543e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -200,6 +200,8 @@ &gpu { }; &i2c0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -380,6 +382,8 @@ i2c@3 { }; &i2c1 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; clock-frequency = <400000>; pinctrl-names = "default", "gpio"; @@ -788,6 +792,8 @@ &psgtr { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts index c406017b0348..7386ffb7daeb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts @@ -43,6 +43,8 @@ &gpio { }; &qspi { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; flash@0 { compatible = "m25p80", "jedec,spi-nor"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index ea1a9ba16246..a9a23cf50196 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -571,8 +571,6 @@ nand0: nand-controller@ff100000 { clock-names = "controller", "bus"; interrupt-parent = <&gic>; interrupts = ; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x872>; power-domains = <&zynqmp_firmware PD_NAND>; }; @@ -653,8 +651,6 @@ i2c0: i2c@ff020000 { interrupts = ; clock-frequency = <400000>; reg = <0x0 0xff020000 0x0 0x1000>; - #address-cells = <1>; - #size-cells = <0>; power-domains = <&zynqmp_firmware PD_I2C_0>; }; @@ -665,8 +661,6 @@ i2c1: i2c@ff030000 { interrupts = ; clock-frequency = <400000>; reg = <0x0 0xff030000 0x0 0x1000>; - #address-cells = <1>; - #size-cells = <0>; power-domains = <&zynqmp_firmware PD_I2C_1>; }; @@ -718,8 +712,6 @@ qspi: spi@ff0f0000 { num-cs = <1>; reg = <0x0 0xff0f0000 0x0 0x1000>, <0x0 0xc0000000 0x0 0x8000000>; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x873>; power-domains = <&zynqmp_firmware PD_QSPI>; }; @@ -819,8 +811,6 @@ spi0: spi@ff040000 { interrupts = ; reg = <0x0 0xff040000 0x0 0x1000>; clock-names = "ref_clk", "pclk"; - #address-cells = <1>; - #size-cells = <0>; power-domains = <&zynqmp_firmware PD_SPI_0>; }; @@ -831,8 +821,6 @@ spi1: spi@ff050000 { interrupts = ; reg = <0x0 0xff050000 0x0 0x1000>; clock-names = "ref_clk", "pclk"; - #address-cells = <1>; - #size-cells = <0>; power-domains = <&zynqmp_firmware PD_SPI_1>; }; @@ -1005,8 +993,6 @@ ams_pl: ams-pl@400 { compatible = "xlnx,zynqmp-ams-pl"; status = "disabled"; reg = <0x400 0x400>; - #address-cells = <1>; - #size-cells = <0>; }; }; From patchwork Mon Jan 8 15:39:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760861 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2048.outbound.protection.outlook.com [40.107.223.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE2D5524D9; Mon, 8 Jan 2024 15:39:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="0IR/qDxp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YhzxdoL3aY+SoWeyfo5N9Y20oCluZMjGOoxqBB4Ubr3UxQ2HzD+jxlthMpGiUpaE4t1Wbp5MIV29aD7rRzejQyyqyX1oGwfmjYWhGNtAQ7sd9QA/YKEwmcl+ngc12iAxhyY7w+vl1L5C2kELuSjO2TVsiSldFGcD/S8XerZsHGhLVUt51uJ0Qv0wwfiqE3oGWZVuY8jsIQMBPepIhCFXVOPQqCOetN17UDLoARM7AoJ+vYzIMmE7UimJd0Dyf8tdbnpSXbS6GnwVg+vqqyxKTqvWo2W/Cf/a542mtKgEILWENnYvnCWxhy4sKpCxVZkUetHcgVLGHc07Z19iQPNmNQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FsSJEqJj23hKZvDHAQf838Q5IhhZWlSfVijudDopMtg=; b=mTZhVwvf30BjuWAJ1zsab6OSR5RBJXvrgDwniwEOdMJb+4hKIbT0taVbXCfTpg/pghEgf4VyT/ZHCpbmCgSt5mwSWL/5Lq2sgshzbBsvIyCf4xJfsMQ9vCMW3aDDahXIMX0jeZdeNIsqLVgf8Q/8INFp3eSaZLhAU0BM9AtG2UB5t2xzNeUo2GSBzB6q2vUrwyUU8JujX+yM5Aei2IjZLR4ZKI/ElWi8yer24xfxkx0vdGtheSQ1jo63brnpqWQvlbA+TiaGBF3Bgk24YTqJXLrMSl0fEA9LnZG5S3lhuATNBVLARf14OjvZPDCtNGJMt4gmkofTF0VataxXwgUJnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FsSJEqJj23hKZvDHAQf838Q5IhhZWlSfVijudDopMtg=; b=0IR/qDxprpV1Ba/aF8KJoFri/p8QK3nBRRlzwKtTOLPtAb1tn/VeOwngylx76shMXNPHkuZKFWB57jKTLrrV/QBqyLQKvwCToeDBxiJWK4RhPqKDQ0vnz9PA3V8qYzddn0iTeICiDzOgpdYWUYyjrnkuNwc2Ch8Mql8CkOMhBPE= Received: from MN2PR15CA0028.namprd15.prod.outlook.com (2603:10b6:208:1b4::41) by SJ0PR12MB6807.namprd12.prod.outlook.com (2603:10b6:a03:479::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 15:39:42 +0000 Received: from BL6PEPF0001AB74.namprd02.prod.outlook.com (2603:10b6:208:1b4:cafe::5e) by MN2PR15CA0028.outlook.office365.com (2603:10b6:208:1b4::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21 via Frontend Transport; Mon, 8 Jan 2024 15:39:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB74.mail.protection.outlook.com (10.167.242.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:39:42 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:39:40 -0600 From: Michal Simek To: , , , CC: Ilias Apalodimas , Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 03/14] arm64: zynqmp: Add an OP-TEE node to the device tree Date: Mon, 8 Jan 2024 16:39:14 +0100 Message-ID: <9ee7e8c263c453a8c9e6bc3b91fad78b0f54edc0.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=863; i=michal.simek@amd.com; h=from:subject:message-id; bh=gWExqgkPLlFYJKtW0mMizkmM3/KP/YcnDXnIDtK0Rxw=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54mpOhzk0hZTq9E8ev9B4/OyTaG/H8vkTVO+vPq81+ VVTt3B+RywLgyATg6yYIou0zZUzeytnTBG+eFgOZg4rE8gQBi5OAZiIWiTD/HrLNzdaG2e/SHnu fd3xUN4x3mrrewxz+GddO8f067lM7FbB7S9lO/L3KjA8AAA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB74:EE_|SJ0PR12MB6807:EE_ X-MS-Office365-Filtering-Correlation-Id: f49d8aba-a1ac-4c8e-1ab2-08dc10600857 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eX0RFh2MSgvW8FFSV/tPD9AisD+UiX2KcHED/sxSoV0YjiqWYNJPtZaky89jAltgef77dodMfR5dBWLGKGTehp4xVucdBeb6WiHLy6Y3ey2/V14lp/Ct/3zYYhWO5c/7PLxiLkDEE1ng7Qrc9vyQFd0vFpcA1BiDDJ83u/o0Hb4PMi50LuDPIXCYevIdnEhAo+Og1RSduLRyAt/Q8kSImPBqcmrjGSbA1MLjEPNb1zk/UZmZTE0O01xG6B3dxjQgSJDRi21bhsmZ/y9pmS6aA2rs/vxdGsR39XtToHhxVBkxP3utroBOMdXPwqo6Kdt/DWtuwuwk79sHF/vl+x6vM3HeX+U37xXHF/VFybcV0NqU2KG5B4L5qXEKceHeSy9pOrEbogYFNwEkjmusSR8LDH09rVYjP7hBv2PCUzWGwo6pBmWNuK8EoJbBTbmBP8gP8GPlDYiySe5GC1rxH4AA8yifl0zKnoN+k978sU+2I7qXaWv8cQGIFbie+c5mgkENaw2W/av6/cItg+QFapnu+TQsATUULrvYaGearHoVn18raHKGVfwk29XvHP7vngnD5DhCIQmTGoANmiO9ARiJShYT9gHmdD6Ctd4KitnSeZHsjNRlOlFya0xUBmcTtxtoX3u4VDaiIKEx/RH0b0SUjWiJLwesZgQBpPHhbsM7PPciO6zElTbDVuR+FBFHKdpfVLHLA1U/kYb8tCEZe1TtvJlL+18ppC2JHB7YkwjTeVDYd+OBd9VWT/zGxldY7ZRHi5CHWwiKV2iDPI0JfOgHXNr9ODaO4DOqyV65rgODiuM= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(136003)(346002)(39860400002)(396003)(376002)(230922051799003)(186009)(82310400011)(1800799012)(451199024)(64100799003)(46966006)(36840700001)(40470700004)(36756003)(5660300002)(40460700003)(36860700001)(40480700001)(4744005)(82740400003)(6666004)(478600001)(2906002)(47076005)(44832011)(4326008)(81166007)(356005)(336012)(426003)(16526019)(2616005)(26005)(8676002)(8936002)(316002)(110136005)(54906003)(41300700001)(86362001)(70206006)(70586007)(36900700001)(2101003); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:39:42.2130 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f49d8aba-a1ac-4c8e-1ab2-08dc10600857 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB74.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6807 From: Ilias Apalodimas Since the zynqmp boards can run upstream OP-TEE, and having the DT node present doesn't cause any side effects add it in case someone tries to load OP-TEE. Signed-off-by: Ilias Apalodimas Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index a9a23cf50196..f72fb4ea3e11 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -180,6 +180,11 @@ psci { }; firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + zynqmp_firmware: zynqmp-firmware { compatible = "xlnx,zynqmp-firmware"; #power-domain-cells = <1>; From patchwork Mon Jan 8 15:39:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760860 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2065.outbound.protection.outlook.com [40.107.244.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2602451C2E; Mon, 8 Jan 2024 15:40:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="p4Jka70r" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FG1rQq2m87Z+b47C0yhCbgno5xAg3uPQNfZX9BHNxOmAq8t2fS02cAJ1U2vSkQ05my6yEyJLwGR5vNOD3zpHDTuEAFSYO0h8+0kkk7Zr2h4Lrka9ENvNYEPpIJ6sSpBMU2LJDIfQaovwT1j/kDFkVreZppDSsGcpDAajANchry9xWFKYrfk5e61Xoo/bRhlNbbETZ9zAzeMke1JN9lKTxn9R1cn3WQoYr8INbGLrEDANr/QQwaIAW0zYaDcvEg+OcR++tVWhCw/dISiRO82llj7vao8BhLX52sT1O+aUAy9qEOeoR7EKEBnHWUCaSQAOKHgDbDMN+245OC/frEjzmQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Nc9O8p3cMv5pqVdHECTESI1vEu/LJc58ptJghjFAQ8Q=; b=E2GorLhKIsloORvGR07mdbyALNKOp/Wto6S3vMgPNIV/rFBU3llIr+sdX8NVrq7a7rezg7Pnp+DE+L2kiqRxE6kueewEL/FwYN8+m63PrII4wHIW6xkTovy3qjYYhvhAN/Uh91Nj2x38EANQh851zNYdn0/c7u4VI27iF4RhbqOwr8Fp3wgCRZf1cUF8XkDGrGLOIk/uwsUblaKyxhS2nkNXOB2tCGyL/gGlWy2ElygYFOZSLDsLhMxEEjEXULTXY+IqClKBEQkm5Q2/BpwOMzVXED9mhhee9H8MgPoF6N/gvbagfyXD846v+hRKCiQGoVkNfaWHKdm2aaH4GGE1+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nc9O8p3cMv5pqVdHECTESI1vEu/LJc58ptJghjFAQ8Q=; b=p4Jka70rD2CQQcefJy+O1oWaMvxYmXjYaOgFpmCnLtiarWJM5VrfuCGY4uzJa3xMbey0+bvptPAYr5Klxye8zEnJDY8VtsswP1OHJJMqiYjg0CfHPLb+4JEgDhkELYNt+G8Za3+rF166ka8t8YglZnTElTEcxd7eh0kajsDITOg= Received: from BL1PR13CA0293.namprd13.prod.outlook.com (2603:10b6:208:2bc::28) by SA3PR12MB7951.namprd12.prod.outlook.com (2603:10b6:806:318::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Mon, 8 Jan 2024 15:40:18 +0000 Received: from BL6PEPF0001AB78.namprd02.prod.outlook.com (2603:10b6:208:2bc:cafe::93) by BL1PR13CA0293.outlook.office365.com (2603:10b6:208:2bc::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:40:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB78.mail.protection.outlook.com (10.167.242.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:40:17 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:40:12 -0600 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 05/14] arm64: zynqmp: Setup default si570 frequency to 156.25MHz Date: Mon, 8 Jan 2024 16:39:16 +0100 Message-ID: <65a53776cbc5e4586f58da57a4b99e4d5c6c26a7.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1784; i=michal.simek@amd.com; h=from:subject:message-id; bh=lmMa2YMYHaVedg3PyHU2y16J4g30BLTDhNIOobPXwf0=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54urZH5dfM3v48UCO/8WMN0VdTXv4MudsL7EU5qz+s I9T7C9PRywLgyATg6yYIou0zZUzeytnTBG+eFgOZg4rE8gQBi5OAZhI2h+GBdMfnGQJTM/e+vRf 4cUCybiUfwqzzBnmqQad/39liymTtPaVyKsXn3BdqZZuBwA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB78:EE_|SA3PR12MB7951:EE_ X-MS-Office365-Filtering-Correlation-Id: 617335ef-123b-4793-008b-08dc10601d7d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UvQVY/E7+ZcUCVmRWYEDeyg/Cx6siYR5W0/vnBrn1/GrNfS21ANSZi9QAOo7yRWqx5O8bUz4C6Rc8xVdsmnbHfQwk7DBQBQLXNRNUkq2TSLWTvSfGMeD0/LwfP5tv3uayiPIL6F77G2uIDryV7rIQtTAWcfPnO/SiVx1Aa2X67ICpKbV1HZUTR0E5ti2O2JIUAwQNhER3EEjlJgvM7u8Gw4WXoRayYkQBa04AEG2P8GpuWo35FOLDYEuCH4gCH3J3MJkthOEamdE6OHMHHIZ8PADw09xp47MwIjnDihLnQEJ1bEaX+2on6640U+mMlsHMAsBbqJ5RVJWFE2HNZYHJbYryJAICUqtWCtwRNGKqGneKH6z2gVPmKhDkjdgmdfcKYhbeTJ9TTkkoLswXmb6hA/RvzH/wIvGWchT6DqPs6G+RoSalm8Rm8IejMbkvg51FAmS8++VYp9QJRWCjDhEQLDHVbLSOwadM93bdDUhe6XpXVyrVVi9TQTHGBeoYmDNrPYUD2p6IVQqXTeB34UWUrrsdup3rfKihP2LYQ+5zaO0p0Ftg0bB/NV77nhNGc60zN+GKgcJfyyD10fAMc3vEahjFRDahZmtCeufoYH8GOoy9dtjZ2NGLAY1odVxdQPh3YdEnh8sPkOrHQeywCQiVTmBP+F8N6peM3hUDE+Ns6mIWbrh5zyMmm6grCqX7x5dGhM0iRsq+iT4QcUo1aim9VTbm0mO4j8/6dbgTLqhttpCGRsAToqpFNuTCt1nPMo49LDawQ17DIdokME9sRnBgq3XZqrO1enESF8H8fEipE8= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(136003)(39860400002)(346002)(376002)(396003)(230922051799003)(451199024)(64100799003)(1800799012)(82310400011)(186009)(40470700004)(46966006)(36840700001)(5660300002)(2906002)(41300700001)(82740400003)(26005)(36756003)(81166007)(356005)(86362001)(16526019)(2616005)(336012)(83380400001)(426003)(478600001)(36860700001)(47076005)(44832011)(70586007)(110136005)(54906003)(70206006)(316002)(8676002)(8936002)(4326008)(40460700003)(40480700001)(2101003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:40:17.6935 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 617335ef-123b-4793-008b-08dc10601d7d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB78.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7951 All si570 mgt chips have factory default 156.25MHz but DT changed it to 148.5MHz. After tracking it is pretty much c&p fault taken from Zynq zc702/zc706 boards where 148.5MHz was setup as default because it was requirement for AD7511 chip available on these boards. ZynqMP board don't contain this chip that's why factory default frequency can be used. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 55a8d3e9d44f..3b929c0eedcd 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -607,7 +607,7 @@ si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */ reg = <0x5d>; temperature-stability = <50>; /* copy from zc702 */ factory-fout = <156250000>; - clock-frequency = <148500000>; + clock-frequency = <156250000>; clock-output-names = "si570_mgt"; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index afc5571bf72b..03955aa708d4 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -609,7 +609,7 @@ si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */ reg = <0x5d>; temperature-stability = <50>; /* copy from zc702 */ factory-fout = <156250000>; - clock-frequency = <148500000>; + clock-frequency = <156250000>; clock-output-names = "si570_mgt"; }; }; From patchwork Mon Jan 8 15:39:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760859 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2073.outbound.protection.outlook.com [40.107.243.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2913452F6B; Mon, 8 Jan 2024 15:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="vX3Jwset" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mkuf1M3AYacMtxLTeLhNc7vwot0BAdeNY3F4kP0HMh91+TXUWbAer1PVTsB1ikYr6WC45Xlhe74XweamtT/gs9lKBvDDotaYX48mKfjLJGEMGqIqV1Mti7yjvnLlTQoVfJuXC3FGQ42R2xw1adwTwCuJhzxnRLyLt6C/1JhP41NhhNPgdBZoUR4q753xA6zPE/uV14i8b1VrkO0FdlbremDaGDPEP9JvmAVqPYsf+o/nPHueu15zu7axK+ayrz+SnSJothyoGK6Zgd2tP7YdhGdd0HfgIVP9GmcMG8/mS/5zATFZSGevU79StsexPB1AfxEmtssLvOiWICMN6qhAgA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tXuDDzcfqhO9fgQNp974TyiZJ+L1Yt7BETQ4vL2+mJI=; b=evpkLrKf9aJPcyKDxJenqaC+PBib4lotNVI0YBDMxactSPrRST6xi5KkeATaXfWS4/PoQ787mn7gYFtnieZ2+21oABvNCYAQl6GAZv+n25lSb0LY/gvl5wlko3Aqhiels0Z6opVVAoVxiNRre1UWQbniQlkgLinjLVPuhtFFGogEY/PWgZ7NWlxfED4/HYw+hRBdZxceiw7ALQ/MWu1PgeYB54lAYNuYWzTbWmeh3zl9UdBVnynW/SJCDcCzPiC7GPFOzyoFm0aMiJDRsfWyW8oQXSxBBXVGUDggOFycAC3UvjIr3/yQWxdglNPuhe5Ksg7rn0Be6E04CRbOQ0pxaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tXuDDzcfqhO9fgQNp974TyiZJ+L1Yt7BETQ4vL2+mJI=; b=vX3JwsetYjy4tiQs67HkFXj9DLue2CD4xpI24u9Q/AAIqfK7ojAhElYCRZm2jlXObfuDWZHXIINaXHJ7sK6riM6JykBRNBb6XcpeCtp8D9PfnIeCtV1x4+q81mTjNXcee9ULtz3dGNO0D0O44zCoqorW7I8mRFzZ8gCL/h9YQOg= Received: from MN2PR02CA0024.namprd02.prod.outlook.com (2603:10b6:208:fc::37) by IA0PR12MB8895.namprd12.prod.outlook.com (2603:10b6:208:491::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 15:40:22 +0000 Received: from BL6PEPF0001AB72.namprd02.prod.outlook.com (2603:10b6:208:fc:cafe::b8) by MN2PR02CA0024.outlook.office365.com (2603:10b6:208:fc::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21 via Frontend Transport; Mon, 8 Jan 2024 15:40:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB72.mail.protection.outlook.com (10.167.242.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.12 via Frontend Transport; Mon, 8 Jan 2024 15:40:22 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:40:20 -0600 From: Michal Simek To: , , , CC: Thippeswamy Havalige , Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 07/14] arm64: zynqmp: Update ECAM size to discover up to 256 buses Date: Mon, 8 Jan 2024 16:39:18 +0100 Message-ID: <4f7621a790f4aa35b3e7f74683d3ae4ffe820667.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1030; i=michal.simek@amd.com; h=from:subject:message-id; bh=kO6lW1upOOBH7LOITIBi6Aijv/ZvT+sNMH9PkpJmFkg=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54uqV5o7yoic+XcqY7skftpcvf8fc2BXuOTvvBsn8n V9vZpzZEcvCIMjEICumyCJtc+XM3soZU4QvHpaDmcPKBDKEgYtTACbC3MqwoD936uYjlsH2u2p3 qx35dSvx9q4eRob5LhMmeJhEJ37vyM5TlFjuM2eC8vSPAA== X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB72:EE_|IA0PR12MB8895:EE_ X-MS-Office365-Filtering-Correlation-Id: 8b3a0053-13ff-49ec-4a26-08dc10602024 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NJYI6otPhoXz5VjGpauFsJnLRUxdWGi3xEcDif3XVmM7LDu3sM4sTKII/s2CSOXACK8bglqgScPITcicRGKHwCJMrDB9hWuLJUheSH7IP7QqgJtd4TR8u07M8eoAJRS6YkfRUrduu9doIz3NOPH3O3yobcVbNTAeR8/arKct4ezgumpHboRlqPWje+3k1s61zlEyXMqi02BZHzA6R0Sg6LFbVHCLUUE1Cudx20IlynMfDgSb1yid3aBSZy4YhHjxMy5yGvuzrtntaFGsrp5PcPn9RuQFPhUAbxv5ldgfiz+8CGdqM9bfCIViw9VTm/gSFp5nfRonrtlFG5GRsr2Aiz39oeHV2zDClPhbZ4Cdc+rDZhfL1CGIPEd6czdxh2bH5HlpDHS7pK8gxfgv/RQRPo5XG/LWtBsPVKX7vno6nZb3P2pnEV3G3anUa1gYcTL2MAPZ4+lKkvNtJn2q1PUe20scXyOr89ba1HC9ov434KyRK9v7EF9DBpeSMrjJ3vsyh3Rc9In5T9HorgCmtpk8/rCM4mvWjquz0xzqoLn9048E40bQy4hhZsdoucvCqeZgk/m5cE8ag3VYBIrOKRLa3osoVNdD8d1uBUx3Zn5vLXxMWlHPiYehdNDIXWzgF+soQFRIfFM1oVyACs9SwIcjp4KEEc/NQICgQ7IeCLaYeE/ndJZIwCcQzJa9r6xFpRfoBc4u0oeX+znFUmG/3KLB2QrhNmkSzp4TyM9V88JlB1j5Ix2XTppY0Zm5rU1pYRs0kJ6DoWOWWgLb1dCUPsxoKB1qfHH5LfZJ9seVHkv+5I8= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(136003)(376002)(346002)(39860400002)(396003)(230922051799003)(451199024)(82310400011)(1800799012)(186009)(64100799003)(40470700004)(46966006)(36840700001)(36860700001)(2906002)(47076005)(2616005)(70206006)(26005)(70586007)(41300700001)(40480700001)(86362001)(40460700003)(356005)(81166007)(36756003)(82740400003)(54906003)(5660300002)(4326008)(15650500001)(316002)(110136005)(16526019)(336012)(426003)(44832011)(83380400001)(478600001)(8936002)(8676002)(36900700001)(2101003); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:40:22.1453 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b3a0053-13ff-49ec-4a26-08dc10602024 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB72.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8895 From: Thippeswamy Havalige Update ECAM size to discover up to 256 buses. Signed-off-by: Thippeswamy Havalige Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index c41c935f92b1..f1b0d4a15e76 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -690,7 +690,7 @@ pcie: pcie@fd0e0000 { msi-parent = <&pcie>; reg = <0x0 0xfd0e0000 0x0 0x1000>, <0x0 0xfd480000 0x0 0x1000>, - <0x80 0x00000000 0x0 0x1000000>; + <0x80 0x00000000 0x0 0x10000000>; reg-names = "breg", "pcireg", "cfg"; ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */ <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ From patchwork Mon Jan 8 15:39:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760858 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2061.outbound.protection.outlook.com [40.107.243.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DF314C624; Mon, 8 Jan 2024 15:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="i663QEYn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gxrmKi1iv9XfYIVS7xbvhvk6Wx4LftkUcVHfoyQpgrd4EJOOgQBgEnMeTuyTS4GpmilY0xAO59SUJscIIiNDQNCIiA2UsQ2CngEIq4WglnTTwWmqA0TFyw62Jx0fNP5I5vVuXD5PHrsWQMiDAqEIdKbqigtiWSi2fG96o5HM+FMr0xlaeFOMt1P8/OKhSci+UN4czpbF0gZXvzkNzn5mRfcT+5CMwOtJ2F85bO8+JViRFDfQR7vsuoJVtfgNja5kXkj9I0RMuNwbstMaYVYDJm3ZulF+pffbgKBMOXS1OxiO1WsGEx/FgIHRuCHxZ4SwGTrW28p5y1kUDnya3zUwTQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v9weKmW2zn68UmmUn3ktLlUy8sLS84EO2BYfDK1WWC4=; b=X4o2vae1YO4zb2hkN5mO65j/CmylF37VLjGL3clibwHY4c39FJjeDmFiawV3GoGb43aGtP2rceU+5gsXB8AStmltAAgiwhexT2PlRZ9mRbffzlHj5dX6mhgD3zI+6CIFjxpjvTpRG0zATrUW+x4sqhs3fuokbr/CjBSCxxBBiRFCRK2zKaapSTx+Knk9PhudxowM7+WMuqOTU+JevrB9c5uIBJixZxWYG3j6f/sLN/0DWJMg433aPW66xspWQOhpMZWC2ccbP1/p1bEf2PNZkr3PTCO5HIKh5nPfi4okenlN4TzHEnoCp/4DeMNt6VHWYhBqr6ciDlabW9wgwrEQLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v9weKmW2zn68UmmUn3ktLlUy8sLS84EO2BYfDK1WWC4=; b=i663QEYng1XM6O5wQ/UhCOpyn5fyHS1Oz319lm8HV/SM29q0Yop+m/bYBVsX1d/vop4cO7WoEODFGiVaza0aiQ//XqR8igZz2DuosxRr1kNaPWd65KpXg5tpFuYsRjGPStIUVGFdfqsoYgLM4m4UAmFCp+O6Ggt+swYzN116LZw= Received: from BL1PR13CA0279.namprd13.prod.outlook.com (2603:10b6:208:2bc::14) by DM4PR12MB5149.namprd12.prod.outlook.com (2603:10b6:5:390::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Mon, 8 Jan 2024 15:40:52 +0000 Received: from BL6PEPF0001AB78.namprd02.prod.outlook.com (2603:10b6:208:2bc:cafe::d4) by BL1PR13CA0279.outlook.office365.com (2603:10b6:208:2bc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:40:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB78.mail.protection.outlook.com (10.167.242.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:40:52 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:40:49 -0600 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 09/14] arm64: zynqmp: Introduce u-boot options node with bootscr-address Date: Mon, 8 Jan 2024 16:39:20 +0100 Message-ID: <4f5978d5a26fe0cd0cc6e54a97da1517bb925c01.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1281; i=michal.simek@amd.com; h=from:subject:message-id; bh=jscuwK+ebr2Wzh+zNIl0ZcvuTuhnM0wf55WwuaHeZ3E=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54hrz0vk5OlpnCQYwfDz91W2t2lGzxczb7N9+nXxO9 Wc2V714RywLgyATg6yYIou0zZUzeytnTBG+eFgOZg4rE8gQBi5OAZhI3nOGBf0MLxvyfxxbG+Nc yJY4Yf+iF7/sQhjmp2kx3vsx9aD0bv3oR73c+1j1/804AQA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB78:EE_|DM4PR12MB5149:EE_ X-MS-Office365-Filtering-Correlation-Id: e1834570-3d69-4376-69aa-08dc1060324b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1Xehp9IYq04MNxp2/ati2ZDYuyF+Py29VIbwpwPE4/i8mcaC7a68kpAkme7X2ZmziLLYjuGYomUU5drIKsHL+OEgRkWtcKS7UR1g9Lm1OliPzR7xs/Z1CdpqfRE/WTMz8Tr0T/CucusIkBvCQTyMie5fsV8OhsivECUtHzmFiavfmaFhhA0vk6Mh2e/3861zMQ7K79D5HbNhi6fA2GQoVsW/BwRloKHjZ8UrhszdkpDGqG873V4GrooEHqSVgbsG6eGPS9Z4OzGc7zZsokS9DWRzxKgmP32i139633KdpIXDBSB3vxraOPJQeOTjNLJkRyh5AhLR4d7EYMkdkZmbtC8YGNogtpjDLYsS/RsjiBdZlcRuXsnx8Dno/NU78DNDlXHj+bjfxpbCzHXDrFqCwjJR0dapwuIUjppkUcWePIxL/n0z9yX6c76q/VHPYnBDuj+/ITpK5mwLDiQLE7CH8IHSl8Wf3SSNpJ2YN9fWnu7Q925q0KdSPQ8sBCKk6PpE13OXvTx+KVOsZe4sV4hq38zo5g6IsjoS9KFOd/UuJzI0xNvaoDPmRgng9QYVXGL1kZpqhioMrFtMbbicVuRBYfeFiWZrsaSj77HEwg46Xkv1DBI86pq6WkJWLYtpEo80zB8sr5QQBTwFYpLzjDmzT67zMmurE/VUT7LQQmuzxkl+Vi9XdZizV8JvOSNn75YXZ/Y569RM7tnxBK8TlWKMD6B+o/qjmmwlzsXvmFSNv4NvEwGOu4ggPm5GFAgPEjb054FNil4wUm9NJBV26tWbKqkM7ghpYCnatOGmEt30akM= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(396003)(346002)(39860400002)(376002)(136003)(230922051799003)(451199024)(64100799003)(1800799012)(186009)(82310400011)(40470700004)(46966006)(36840700001)(2906002)(82740400003)(5660300002)(86362001)(81166007)(41300700001)(356005)(16526019)(36860700001)(316002)(54906003)(110136005)(426003)(336012)(8676002)(36756003)(8936002)(47076005)(2616005)(26005)(40460700003)(70586007)(70206006)(40480700001)(478600001)(6666004)(4326008)(44832011)(2101003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:40:52.5694 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1834570-3d69-4376-69aa-08dc1060324b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB78.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5149 Add u-boot options node with details about bootscr-address. c&p description from dtschema/schemas/options/u-boot.yaml: "Holds the full address of the boot script file. It helps in making automated flow easier by fetching the 64bit address directly from DT. Value should be automatically copied to the U-Boot 'scriptaddr' variable. When it is defined, bootscr-ram-offset property should be ignored. Actually only one of them should be present in the DT." Address is generic for all zynqmp boards because all of them have DDR starting from 0. Custom boards should revisit the location and aligned it based on their needs. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index f1b0d4a15e76..a1a9c8fd6038 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -24,6 +24,13 @@ / { #address-cells = <2>; #size-cells = <2>; + options { + u-boot { + compatible = "u-boot,config"; + bootscr-address = /bits/ 64 <0x20000000>; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; From patchwork Mon Jan 8 15:39:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760857 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2049.outbound.protection.outlook.com [40.107.223.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C485252F7C; Mon, 8 Jan 2024 15:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="2b6LypeX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DaLoPf34ft2nOI+Xyen+R0XRzfYCl0cVjlaml/puTAlJ33+Dj0/j3U1pT6Oza3ioOeePutGgl3kwz8miMnS5TGdpfum6wkOTUSmsTpuNqF0Dioe7xKInY89FBCBXGzjZs4vZSNdPTWqxjd0vNXHuiLkXGlFgSH7EfvWBAcSAf07mj9JxfMeV1AxGBnJW18IN+0K8f87qN0xUfnyRXxQX61MGSttIaw3jrJUm1Li++vQbhtW42nWlWi+gQGKamNtJtf+qcFucgTOPiUD55ESGFp23AAwmeBy1ZHAS0zXbsZsi1cob7+5q52q5r6kOz+wXgL1ubin94RjA+DMiXPpd1w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=saMye7E6RX1JxSucCbivbQymZ5PgCCESf9IwueLxGfE=; b=lb67u64gGrPYviLDSwFlT2q7ZmSPeqwHSUhUT7Mp4XGZgib0Ai9c77rRNgN2Ki9EKK0j/KCtucM8Z5+aAyCQQ+08BmuFzA10O8bEP9744d5AIz7mOIF4kjp4teOiFckw6YgL6eAPY66D/P+scaUY92eRH/0CweZ5MZno0tCGIpMCBw6t1b0d9muBU86q5wJI2cmKOK0W1w/nMujrItk5LsUjYMZn9ArOYYXje36VUWPRcKXXXBUa1nR8B1H2Kch5eVd7Ewpav66PXfXgbA4+5ZDeNqDn8O/hGTsWRk25daMVq5c00hf7MbNWyFL5kQKhed+OE6GCreWWbXxsU+vE3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=saMye7E6RX1JxSucCbivbQymZ5PgCCESf9IwueLxGfE=; b=2b6LypeXib+TivYlHDCYiLk1wkhfh47LvGDdBCp7S5MT57XDC3Ylvt8yGbEuSP4DPFA/krNDx9Oi0qlr6EkLaoQ4lFveXuXbTo2etY78yE+blGiYXnV4TXX8lASiTcyVxvLvHKjr8eIL2QQmHc5Fhkmhh0GtSW5EORDRYJxnEls= Received: from MN2PR13CA0027.namprd13.prod.outlook.com (2603:10b6:208:160::40) by MN0PR12MB5809.namprd12.prod.outlook.com (2603:10b6:208:375::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 15:41:48 +0000 Received: from BL6PEPF0001AB73.namprd02.prod.outlook.com (2603:10b6:208:160:cafe::8) by MN2PR13CA0027.outlook.office365.com (2603:10b6:208:160::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Mon, 8 Jan 2024 15:41:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB73.mail.protection.outlook.com (10.167.242.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:41:48 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:41:17 -0600 From: Michal Simek To: , , , CC: Tejas Bhumkar , Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 11/14] arm64: zynqmp: Disable Tri-state for MIO38 Pin Date: Mon, 8 Jan 2024 16:39:22 +0100 Message-ID: <9f8a0687be407a8ffad610087074e94ebc4f5982.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2951; i=michal.simek@amd.com; h=from:subject:message-id; bh=NAm3bgwC4tjFVVxRsOzvkT6TFE+17ZLOoBpu26K7LlA=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54po3RX4WfJKYceim7neB/MyZG6+f6zrm/oh/wg8nJ Y70Fz0fOmJZGASZGGTFFFmkba6c2Vs5Y4rwxcNyMHNYmUCGMHBxCsBEXtQyLJgzV2fZYesnwSd3 aZ7U3mF8rS3jySuGOZxmU3dPvGRW9yzDznmGiE56TeW6pQA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB73:EE_|MN0PR12MB5809:EE_ X-MS-Office365-Filtering-Correlation-Id: c849cb13-e993-4691-e257-08dc106053b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XS5Yhh1iTiyvTxZMWvUxrUT3CBDjwoHsycK/MQzXkhjS9nttUV5IEN0XFYcgZt6v0eaWF1PzqVER4ZYCrJqFNhBOlOsDorSAmKaKVzXmLOY7xgwwn9+yTQt5nkuEEGscWV+MrdIZSDL8PEk09TGv3ByoNfp83sO9hPtho8K0ES3MWGh6ed8/qBW/VxeUO9IZuwJDgBX7jTA7pLNZSNYTT2krODpOZhkvbwu5cKtQVVIh9cFzlTz+CKw1jXeBQzEd5pJyqZQxhJXARoIWO5dqu1SFPkAaN1QyfcHRQyMVMySDNFOb6n3yDO83WP17G31SJq2R02iWF63xdnoNV6KVbnH9PggTXCWh3CqFEsBwTEqlv3acWBe+G0wbPFlcblZ/K7Yetgkm/MpPos5DOvWurJZMNO8Sv6J/lEClakLd4dWtjIV2gYRr9Iu0USr9clvgHmiabnP8IRpTy5sGHj0VVQCd4Ra8WSlAY6qLvnoN6Pv0v16xD0kS1FFe7AX1LCtmer3GplkKNWkhSHHTvGM6VJvZn7fOUMm+dT0wkozqJYq5ktjFCcjeH9bvV2rXFnmFaxKFtCCzuZIb8zirLfvwoeu47nlEhS8DQu3Wvb78LxRnL6NHq/hvQ8RvNwnV/E1CDQF5LL4Yk57oqYSp/Nm1dDZJXVY8dbKuhddb+tDfgTZ8p0nNIS6/BqsMVKsND8laPcKl5IJWv5ICpFEJdpsETyGar39+sqLV4RDbFSW7+TOZoqjoJZDgmqcRpMpSzaRRoZ5asYqpeb0cYXHbQ00SW/jSep56n9MSyPHy5ZewNKY= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(1800799012)(186009)(82310400011)(451199024)(46966006)(36840700001)(40470700004)(81166007)(41300700001)(4326008)(2906002)(5660300002)(82740400003)(54906003)(110136005)(44832011)(40460700003)(36756003)(86362001)(36860700001)(356005)(40480700001)(6666004)(316002)(8676002)(8936002)(70206006)(47076005)(70586007)(83380400001)(26005)(478600001)(426003)(336012)(16526019)(2616005)(36900700001)(2101003); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:41:48.6985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c849cb13-e993-4691-e257-08dc106053b8 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB73.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5809 From: Tejas Bhumkar gpio38 is used in SOM's kv260 to reset the Ethernet PHY. At present, HW reset is not working properly as Tri-stateĀ  is enabled for MIO38, causing inappropriate PHY register reads. Disabled Tri-state for MIO38 to make HW reset work. Tri-state disable : ZynqMP> md 0xFF180208 2 ff180208: 00bfe7a3 00000540 Tri-state enable : ZynqMP> md 0xFF180208 2 ff180208: 00bfe7e3 00000540 Signed-off-by: Tejas Bhumkar Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 25 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index b7b94254cc09..585b5845a1f4 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -169,6 +169,25 @@ phy0: ethernet-phy@1 { &pinctrl0 { status = "okay"; + pinctrl_gpio0_default: gpio0-default { + conf { + groups = "gpio0_38_grp"; + bias-pull-up; + power-source = ; + }; + + mux { + groups = "gpio0_38_grp"; + function = "gpio0"; + }; + + conf-tx { + pins = "MIO38"; + bias-disable; + output-enable; + }; + }; + pinctrl_uart1_default: uart1-default { conf { groups = "uart1_9_grp"; @@ -324,6 +343,12 @@ mux { }; }; +&gpio { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio0_default>; +}; + &uart1 { status = "okay"; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 1446c2b19de7..037f0941ba0b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -152,6 +152,25 @@ phy0: ethernet-phy@1 { &pinctrl0 { status = "okay"; + pinctrl_gpio0_default: gpio0-default { + conf { + groups = "gpio0_38_grp"; + bias-pull-up; + power-source = ; + }; + + mux { + groups = "gpio0_38_grp"; + function = "gpio0"; + }; + + conf-tx { + pins = "MIO38"; + bias-disable; + output-enable; + }; + }; + pinctrl_uart1_default: uart1-default { conf { groups = "uart1_9_grp"; @@ -307,6 +326,12 @@ mux { }; }; +&gpio { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio0_default>; +}; + &uart1 { status = "okay"; pinctrl-names = "default"; From patchwork Mon Jan 8 15:39:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760856 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2073.outbound.protection.outlook.com [40.107.93.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46AF253E1E; Mon, 8 Jan 2024 15:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="dNo7Grmj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H74KBlR/86gwwVz9puoT/NMVLAYc1W3iF4CXByekRt08k4fnSQrPsll5qbZdU12OKMm058Zu+qvtyb6xKvveBjBLhFCS5VSzOtVMZefTD/t3E/DtuJB6b67ExY7e+v2zw/zTN/IPScye/75ZD6+B4lgj5uuXWzn+leXuuIZyNGMyV0hUSiNHjBUTLREKgpeIU7Wuwljo8sFJliHM+mKL53VjrD4QuX7Kx437csS3uJEkL76FjMBqgVr6fNWS1tnBwfNN2NjkEu4pCtPAoj5bvWVA3xOhF9Sn6O4yKt0xW/hve2/lKbsTQ66IME3AThpSFDe4ehcFpkaaDWERQWUbsQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=akhVudABiMCB5LjYEVjVgQ0lVhWK7fmtR/r1FxIueoI=; b=Poa/dEPz/AntOQuAyi+fMHal5ZkGEZLWffPKLT1A+Y9ha4HohI0FPizNp+8RJMiYj4PgtK584CpEtZh6RCu7RHiawq6dVZf40tyRrGwmmsNeNwj1h9kMGdl5M7XsoKf8dJsC4e/6tdKwSIspwNLXYyX8SvM/R4MmXwZ9bFe42T9JBZLVj27L9kto0cvixdg63EVUcyjuhuPdfbm9pc0cBNU/Hy78PJRaA0t/OqCWXScZlddK3PxESRdqmUy4CAHdivfP2QXYV0M5Df1sl8lVtkRufiPzRSmCI7d/Ej2S+w1NZKCNpdbQ50yt3i1M7WonbEqMv3HYln4Aa77Gr5mogg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=akhVudABiMCB5LjYEVjVgQ0lVhWK7fmtR/r1FxIueoI=; b=dNo7GrmjjSPXPQoRcyhPdiaDpZN1CAfwdUNyq2xXlUW6S2/YcZ+bnJXxvLsdxN5lJesDxQHp/quhzusKkiSSI3rHSkZBbvBYFbXKmwa/GrRj/eP3DYXzyp1adbSlLJWFRzX19N7wOZUfmC7+l7i/VuVkgA3uioR9/B+mn6t4IRM= Received: from MN2PR13CA0013.namprd13.prod.outlook.com (2603:10b6:208:160::26) by BY5PR12MB4323.namprd12.prod.outlook.com (2603:10b6:a03:211::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Mon, 8 Jan 2024 15:41:52 +0000 Received: from BL6PEPF0001AB73.namprd02.prod.outlook.com (2603:10b6:208:160:cafe::f4) by MN2PR13CA0013.outlook.office365.com (2603:10b6:208:160::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Mon, 8 Jan 2024 15:41:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB73.mail.protection.outlook.com (10.167.242.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:41:51 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:41:48 -0600 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 12/14] arm64: zynqmp: Rename i2c?-gpio to i2c?-gpio-grp Date: Mon, 8 Jan 2024 16:39:23 +0100 Message-ID: <94f633e26b7b16cabddb8c7210c2e79208c364da.1704728353.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=7090; i=michal.simek@amd.com; h=from:subject:message-id; bh=fpglwb94TL6ZJTEFt8izxzzpDii9uQoouIkOQV+actY=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54pqtdlqiWq8F65/OPHe1V0p3zsM/VudjVjJ90ZHa2 2FdFyXeEcvCIMjEICumyCJtc+XM3soZU4QvHpaDmcPKBDKEgYtTACZyn4lhftyV5btjjrP3pP3l cYzP7by6h0ftN8N8Hy4lXcXnC45fE1rQ6sIQ2fF2/ebFAA== X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB73:EE_|BY5PR12MB4323:EE_ X-MS-Office365-Filtering-Correlation-Id: 881c272a-acd9-48b2-91ec-08dc1060558e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5RUS4mjX+H7nU/iJtx8sPswJlSVQvWk3uXprNXxfRNmHcsEHwHC2I8PPQ33MpL7XpBD6eic13b4JuB5mJcZFzl9MRs6rVUGopxT+wQGCFLKUxeFdLHvBQ2uXdlpdjnuUIyC9Nr3E/9sKjXTlQtN0osRFw3UNi31gEPJqwUA9kqq99q52ypZwMHuKGjfkLtMQ/3tHO5MiJN7ybs095GObWZng7hY0wh1nLn1SHvwU/r+wgXTXixHJnKYgy5r96IbzAi2a6Pigedl5z7yX2amz2iqyWJFlfB6+avab/ybgGzhVZddZNU60EMBrjcMNCnliZIjN3rPyZ4A/rLc5OUklsFbpFn9v/OcZzl0SmWiFaqoXVx+nrMkBnbsaaBYJ6Bmyb4C799CYBruDAUOLbyo2G4dto51eHBbMxPVNVvxqlX+jbaE1fanEXf2nBMpAZcXStGahDhcH8LO53BYWpN8QZeqAGMMgvHBvY7w9++Sn10jKZyCtGTX5wKNIDRKVKxeQCl7lAZWK8ugAnET4OFP/YotHVmb7TSUpXfFC5eOQjamBFVmk6nJ15IQpskB1Oou0Jy3d42MsawEz9aTCkTKt6ObaZyHoGkD/8wgWc/6ZkCgKoab7LzkVm2bcBVEtjDFZg7YK19hZAkhGSrXtj9ldcVgT0+T5e9h8Bqc1BBdn8qkTUXohloAafp9m2g7qMnEmyhyVdGk7l0Kjcb3jkispS0Cwa4LyfpYLs6Hhmo/wblcuaXo8PP/exmJqK/a94l6KZB/cJ2s+k4VqSyPoWPPFRVVCi3PosHR+wRtWQPxbqh0= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(136003)(376002)(39860400002)(396003)(346002)(230922051799003)(186009)(82310400011)(451199024)(1800799012)(64100799003)(46966006)(36840700001)(40470700004)(316002)(36860700001)(426003)(54906003)(110136005)(336012)(16526019)(8936002)(47076005)(8676002)(36756003)(6666004)(83380400001)(44832011)(4326008)(40460700003)(40480700001)(70206006)(70586007)(2616005)(478600001)(26005)(2906002)(82740400003)(5660300002)(41300700001)(81166007)(86362001)(356005)(2101003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:41:51.7610 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 881c272a-acd9-48b2-91ec-08dc1060558e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB73.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4323 Anything ending with gpio/gpios is taken as gpio phande/description which is reported as the issue coming from gpio-consumer.yaml schema. That's why rename the gpio suffix to gpio-grp to avoid name collision. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts | 4 ++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 4 ++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 4 ++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 4 ++-- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index 585b5845a1f4..d7535a77b45e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -227,7 +227,7 @@ mux { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { conf { groups = "gpio0_24_grp", "gpio0_25_grp"; slew-rate = ; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 037f0941ba0b..9e5853206eeb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -210,7 +210,7 @@ mux { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { conf { groups = "gpio0_24_grp", "gpio0_25_grp"; slew-rate = ; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts index 986efae8847a..2a671816015d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -150,7 +150,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_36_grp", "gpio0_37_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts index 7599a12b64a5..54a32a705390 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts @@ -223,7 +223,7 @@ conf { }; }; - pinctrl_i2c0_gpio: i2c0-gpio { + pinctrl_i2c0_gpio: i2c0-gpio-grp { mux { groups = "gpio0_6_grp", "gpio0_7_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts index b1857e17ab7e..53aa3dca1dca 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts @@ -125,7 +125,7 @@ conf { }; }; - pinctrl_i2c0_gpio: i2c0-gpio { + pinctrl_i2c0_gpio: i2c0-gpio-grp { mux { groups = "gpio0_74_grp", "gpio0_75_grp"; function = "gpio0"; @@ -152,7 +152,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_76_grp", "gpio0_77_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index b4456e5b5058..528b5beb4dee 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -277,7 +277,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_4_grp", "gpio0_5_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 3b929c0eedcd..2ec0e2d1c869 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -693,7 +693,7 @@ conf { }; }; - pinctrl_i2c0_gpio: i2c0-gpio { + pinctrl_i2c0_gpio: i2c0-gpio-grp { mux { groups = "gpio0_14_grp", "gpio0_15_grp"; function = "gpio0"; @@ -720,7 +720,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_16_grp", "gpio0_17_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 59a919368094..a3d9f1b2713c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -274,7 +274,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_16_grp", "gpio0_17_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index 4fe60f22c852..ba8708b88e67 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -286,7 +286,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_16_grp", "gpio0_17_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 03955aa708d4..700f5b5f171e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -704,7 +704,7 @@ conf { }; }; - pinctrl_i2c0_gpio: i2c0-gpio { + pinctrl_i2c0_gpio: i2c0-gpio-grp { mux { groups = "gpio0_14_grp", "gpio0_15_grp"; function = "gpio0"; @@ -731,7 +731,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_16_grp", "gpio0_17_grp"; function = "gpio0"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index e3e0377d543e..920eb16cebf2 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -593,7 +593,7 @@ conf { }; }; - pinctrl_i2c0_gpio: i2c0-gpio { + pinctrl_i2c0_gpio: i2c0-gpio-grp { mux { groups = "gpio0_14_grp", "gpio0_15_grp"; function = "gpio0"; @@ -620,7 +620,7 @@ conf { }; }; - pinctrl_i2c1_gpio: i2c1-gpio { + pinctrl_i2c1_gpio: i2c1-gpio-grp { mux { groups = "gpio0_16_grp", "gpio0_17_grp"; function = "gpio0"; From patchwork Mon Jan 8 15:39:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 760855 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2084.outbound.protection.outlook.com [40.107.102.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD16E54FA2; Mon, 8 Jan 2024 15:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="GWSROCh8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XiPIO8Klk8XXsl/Q5JgXKh8TYKx6sAGcYEsV/g3u2CwHQqERvLQwj4ASsKqmEnHEyOJ9nJAmujBLBiEGXXl/ZzLFncS4dmjkP2a8goBdwKCyjO1YWVwFsAyqU58WlgdiwboNVpBhx32ioRaBDx06fuS5cUBOqD5rMpcMdGccU/gkGU7LOqn+MtN1Xur0SXK0ejRbUitGv4kpJaq8dgP69NR6puTh/1nPEN5KbCtW5HRChFXapFqtKkTmvQ9aeQASHbAnme47KKMYkN9QvvbxZE5qlzx16Ub4NTYPx04+d8HvCdI6wj0c7L464QJ7Gq4qfC5k9NfgDROM1/XyCnmSlw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FFKhffKYIB+jzCN1TLMcaQ1ZvGPHbvedyMz6xHJXIvQ=; b=ZsubeguDwRhMsxss9gXKVZAgm1g+P3/qhydvmG8XLa0/dVuQSi8LgDwdQNN35x7x2D3L8Vj7kGDKm2Nc3Huvkivt82PgFVKJEWrR33aQtgt9rrW6CUIqLC87rGnkR4Xk2SDF3RZlLnbS5ayyIsltfrgGLmMRhAk2m9Qh82crOMiG28ThAXkeOjZntmTPzLHa1y4vO/yZDMUCKQtp3zFyRy5zJqqK2C3/CEhemrlzMExR7qwzkuAZRys8Xp5pa5q7Qydppxm6BdkUlzN9oCd7NaRqOx+Mo9JUKYkkRlJEFxjy2+6qwn0hRcWNaQiUmESuypI9udUQ8/MfJVFci+9EsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FFKhffKYIB+jzCN1TLMcaQ1ZvGPHbvedyMz6xHJXIvQ=; b=GWSROCh8GJSE8clMUdkKMSwPWglEGzSD4gTAAw4lUJxJ5/a9va15rMVodyX+nAAMY52n/YkpbruUtjZC5IqJUjFzTdtLbZu3Q+SsxvGFoEAwTxbYFg1xVwVsI2Jded0+DZRNsj8l+JjBit4xMkCISYeeaTeYLjjFf5Ib9FIGXp0= Received: from MN2PR13CA0001.namprd13.prod.outlook.com (2603:10b6:208:160::14) by DM8PR12MB5463.namprd12.prod.outlook.com (2603:10b6:8:27::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Mon, 8 Jan 2024 15:41:59 +0000 Received: from BL6PEPF0001AB73.namprd02.prod.outlook.com (2603:10b6:208:160:cafe::4a) by MN2PR13CA0001.outlook.office365.com (2603:10b6:208:160::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Mon, 8 Jan 2024 15:41:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB73.mail.protection.outlook.com (10.167.242.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Mon, 8 Jan 2024 15:41:58 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 8 Jan 2024 09:41:56 -0600 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: [PATCH 14/14] arm64: zynqmp: Align usb clock nodes with binding Date: Mon, 8 Jan 2024 16:39:25 +0100 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4029; i=michal.simek@amd.com; h=from:subject:message-id; bh=axs4l9O6YJQEk5Iy903xSlO+KwBZsGUulUfNiut9MLk=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtQ54lqcIrUdXZ07efSqRX7d/5K0eNbEc4/uuPbMf3WwR mb66zdCHbEsDIJMDLJiiizSNlfO7K2cMUX44mE5mDmsTCBDGLg4BWAiFXkM8wvmvAy5auN5uuN7 QRtz4DXmoobLrQzzDJdsvjLDS4H39n1JJv77u1d+Ld8vDQA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB73:EE_|DM8PR12MB5463:EE_ X-MS-Office365-Filtering-Correlation-Id: a65a7c36-2296-4fe1-1110-08dc106059dc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0Km38g7gLIuFZ7lwjpXDaEKH1wCZ6vB1/ddKAUjjEEfccD6oeklCZEjtFUZyXK0fWxYH1acSRsp2TnqgInmPEUjXIWgo3f4Y6JfxVFZT44OaLcQumT2iW4s4jCmiDxxjhWE9uCDZNITSO1KaKsJgB88jeF4V+p7EyBeanaFPbNuUaLArKn1wg6VBpz2ue6PGiPhhpMpzICifn/1XE7WUZ5risVNcw+ibKp3BgbS4GgpT1g38nCUHyJgUUdA/uQZ+kmifCLnFIvyaH95HlaWHpLjfM0V20y/wc+GD/PygWVTTNjhv8x4aOiPPCjkC0ZW4nvX8IOkicGXIzL4hxhzCU9I+2GbLOMsjKbhPRmVk0JkimEgkuMAsDmijJSx0hRt7fXUkZ963SitcxoixUfqI1C49oMHyd7EoJ2ZCNu0oH/8Y/0jrZ+kKnhlnIPT7X7sM9eJNXwyS1OZeeFY9NNyH8MwWz6kzBs6ijs/Rb0zOr1kWs0b8JZEFsj0I5VKR0wE28X85mJ2zPqC24HbVB4DqBVZCm8klMbZVcv5pJExtPae1Edf3LKkJ8x0PmnQCmJGS9nLpqaAsEze12S5niHFo8YovwCF+jKKaaRL0HLv646Xe1t3hPWDW1I0K8trMZVqk4Ns9VitRq9c2iUbuN+EwRXnJzwyXb+hiAjcWgg1lnb5BUT/seO5q248aHNVQbph/T5ny/e83BHx1BObif/nmu/BP4CLCno35s2//say9KvSDqyjJIg/kzOVi8+ryWWs0gmollyn/iJsmXmAfjxatMpDo631XoNxTxPxGFj1dnFI= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(376002)(346002)(136003)(39860400002)(396003)(230922051799003)(186009)(451199024)(82310400011)(64100799003)(1800799012)(36840700001)(40470700004)(46966006)(70206006)(70586007)(47076005)(316002)(8936002)(8676002)(26005)(478600001)(336012)(16526019)(426003)(2616005)(83380400001)(2906002)(5660300002)(82740400003)(41300700001)(81166007)(4326008)(356005)(40480700001)(86362001)(36860700001)(6666004)(110136005)(54906003)(36756003)(40460700003)(44832011)(2101003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 15:41:58.9798 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a65a7c36-2296-4fe1-1110-08dc106059dc X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB73.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5463 dwc3-xilinx.yaml defines 2 clocks which are not defined that's why define them (bus_early clock is moved to bus_clk in glue logic). With also describing kv260 assigned clock rates with assigned clocks. Also add missing status property to standard dwc3 core. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 14 ++++++++++++-- .../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 1 + arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 8 ++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index ca1248784f59..dd4569e7bd95 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -238,12 +238,22 @@ &uart1 { assigned-clocks = <&zynqmp_clk UART1_REF>; }; -&dwc3_0 { +&usb0 { clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>; + assigned-clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>; }; -&dwc3_1 { +&dwc3_0 { + clocks = <&zynqmp_clk USB3_DUAL_REF>; +}; + +&usb1 { clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>; + assigned-clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>; +}; + +&dwc3_1 { + clocks = <&zynqmp_clk USB3_DUAL_REF>; }; &watchdog0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 9e5853206eeb..a7b8fffad499 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -94,6 +94,7 @@ &usb0 { pinctrl-0 = <&pinctrl_usb0_default>; phy-names = "usb3-phy"; phys = <&psgtr 2 PHY_TYPE_USB3 0 1>; + assigned-clock-rates = <250000000>, <20000000>; }; &dwc3_0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 631484e17ab0..133b464baa9a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -913,6 +913,7 @@ usb0: usb@ff9d0000 { status = "disabled"; compatible = "xlnx,zynqmp-dwc3"; reg = <0x0 0xff9d0000 0x0 0x100>; + clock-names = "bus_clk", "ref_clk"; power-domains = <&zynqmp_firmware PD_USB_0>; resets = <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>, <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>, @@ -923,13 +924,14 @@ usb0: usb@ff9d0000 { dwc3_0: usb@fe200000 { compatible = "snps,dwc3"; + status = "disabled"; reg = <0x0 0xfe200000 0x0 0x40000>; interrupt-parent = <&gic>; interrupt-names = "host", "peripheral", "otg"; interrupts = , , ; - clock-names = "bus_early", "ref"; + clock-names = "ref"; /* iommus = <&smmu 0x860>; */ snps,quirk-frame-length-adjustment = <0x20>; snps,resume-hs-terminations; @@ -943,6 +945,7 @@ usb1: usb@ff9e0000 { status = "disabled"; compatible = "xlnx,zynqmp-dwc3"; reg = <0x0 0xff9e0000 0x0 0x100>; + clock-names = "bus_clk", "ref_clk"; power-domains = <&zynqmp_firmware PD_USB_1>; resets = <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>, <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>, @@ -952,13 +955,14 @@ usb1: usb@ff9e0000 { dwc3_1: usb@fe300000 { compatible = "snps,dwc3"; + status = "disabled"; reg = <0x0 0xfe300000 0x0 0x40000>; interrupt-parent = <&gic>; interrupt-names = "host", "peripheral", "otg"; interrupts = , , ; - clock-names = "bus_early", "ref"; + clock-names = "ref"; /* iommus = <&smmu 0x861>; */ snps,quirk-frame-length-adjustment = <0x20>; snps,resume-hs-terminations;