From patchwork Thu Apr 28 18:17:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12831093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D25AFC433EF for ; Thu, 28 Apr 2022 18:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q+vr9rPWahg7YtTFiyd5SasEZ9JraLfjEcpoI+yXYEM=; b=jhy463x785vtLp pp9BZL5FbEhjqSNflapYC63qAVPhdu9PcRIkjRo2gD8gZWCT3RBBOI5B5KWXtHjWEJ74pyzx2pfIQ wbe2r9TYZQF5B0q8mDbC5jy94bnZ9B7e23sVgw8xSvNWOHepo3oHS1grqRaCW2FOLav46wY0pXZwA 59WJukkpdYbCt/uxCnzWjnrgi59RmXDiGsXfjXcEDDG67tSMwamxdAvtFB7rV3fIXpN3aqWx3OXg8 QEGVZea/80WGLQMQzl1Y8oqKEAZuaX0GWjiq/vFXpKejp+hgJ3hV65qEwo+OoOz5s2l9L85ShIB20 kt4wqaq+8mY8Gkr98gfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk8jS-008807-C4; Thu, 28 Apr 2022 18:19:15 +0000 Received: from mail-am6eur05on20629.outbound.protection.outlook.com ([2a01:111:f400:7e1b::629] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk8hm-0087LK-9O for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2022 18:17:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gj0RO8GTbW78MNsvyAsPfnLGN+jCYXcZhqVRB5b/oxXzvRwkq7+2kt6/wIDa7JS0D6slQecLVm2oI1rzEwmGemocP4oDa0i+FdNIhZjVUTDCEld0n9OByrATo8ngrcuDybMBP/DqoA+/SzkZi2eRXJ2S9jP+rbh+3UkngPYv3qxecYKE0z2xDfMNL2nNDUd9Y6L4SFKKghuAf3uytIfifUtTv372kv0/MuSf1M03Liez49UTj8j2AABeSiYY0U7ckTG8Ut2JxMDIEVYWEdrqvFxNf3AgsWoPRjGDz95HI/qROIhFs4CwnegdiB6yMLvdfj2iL8yvWOQAqJ9lZfuhUA== 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=P/G4FbVJy1vmb58t9jLsF4M1WH+VulB0OMt29R0ndkc=; b=MIjwE+rIjzMN6nNEM8u8hn9H+kgKO+IjD4Ql4AXe0XNJqcFwF3s8f5FMj1R/VIwW8QLb9aKd/CTuRCrhcv3zRuSX0Qpjzxd0RK+kN4GfNgGhOhH8mGTEWeTaeXwfxQUiHiU0Ar/hO/3qeP37R1Kfcz4HMTBzolicCRv+Vjtw+OPh2syXzNjVmC4WlVtVpANoau/4wLuzruTSRBxYVR5BWXbKISku63Rjsos3Fj6YdI5RsNS36yg7qQPfwebiYc/hAtJb2pO4o5tNYspuThCP/CjnFRUtCYuuuVAEyRZfkWw7NWXHL3iTJAuJWpiUB6ZZysJjRijFIDSLM5Zpd/Bvag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/G4FbVJy1vmb58t9jLsF4M1WH+VulB0OMt29R0ndkc=; b=r64pHFnUCZWGRgrYzQ9eKRl4xf1gKES2Hlyglta14VSnD692EbnV/OnEDwKXxE/LntIUo393JsHblN4q5YopQP2a8G4Ca3/bhpzZhN/fOmwq0nvjPZO0qfItCK+wmH1AucGyn0nRcH7ygjDD9E7Xd4DRxabxzizqFZn0VNHctXB7dpA5jN/3DrH7jB9SUfxtOM2xEgOTlBPvZGqz74kcPRKLqEBmJJca5Ed5WXk3+67M2k+fiN4Fl4n2rVjpIHBnZIqGWUhtOsi/lv22gv1bxfc07WSOORQ5qpLZQPexVmCUwViejUqc+0aNlLtzknukcbP0sPs0flmgUuZg8ckkOA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by AS8PR03MB6775.eurprd03.prod.outlook.com (2603:10a6:20b:29d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14; Thu, 28 Apr 2022 18:17:24 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::a9d3:8abd:3f5e:a0c]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::a9d3:8abd:3f5e:a0c%5]) with mapi id 15.20.5206.013; Thu, 28 Apr 2022 18:17:24 +0000 From: Sean Anderson To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Li Yang , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Rob Herring , Shawn Guo , Krzysztof Kozlowski , Michael Walle , Andrew Lunn , Sean Anderson Subject: [PATCH v3 6/9] ARM: dts: layerscape: Add SFP binding for TA 2.1 devices Date: Thu, 28 Apr 2022 14:17:00 -0400 Message-Id: <20220428181703.2194171-7-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220428181703.2194171-1-sean.anderson@seco.com> References: <20220428181703.2194171-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1PR13CA0117.namprd13.prod.outlook.com (2603:10b6:208:2b9::32) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3944ff9-a2e7-48b2-479d-08da29435819 X-MS-TrafficTypeDiagnostic: AS8PR03MB6775:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C293wkdUwS+tPFggnThHaDa8p/uETbpJ8v4j3gb9R58qrsAIHoNl/g7HYmpFFo/xd0TOhfsYrMzNw/cjzERjwBW7MH/Pk2Yj3J4VKmnQoabkwMdru5QhpEfzjW6byBl08fTu4iLlgxGO+8fk49lLT/sITtJYB+8B6gZpoQJmXiMgFgl9I2vSnBT7szi5Kr9ec081GndYfIOMr9DaoSyroSXn7C9ACIxCNlON+Gq6n621kPZ9oDuvpTUegreuzPI6ts4lVNjpjfbiuySy9vLzkr5giemyVN+ELsfm6ldkpVXaCFfnUQxH5Pxxs9nMGwrjzW4n4NIdekr64i61sisvpTsPrI8voykgcFXCJ/omOLyONcXj63CDiJpYwO5m0qEAeuQ90ORRu6AYmV00KO4wkjHvuh9HboYKucIPtKtD3BClyDBhatqF4smqtub2MeddO/FKSb5hIfbzox9thMpov/Y1TrvrgSAZQvYvNTlzSxb3JCjG97Y4IoHD9TASU2KaBNH+YmAo9ZtNg7uz5UfkPgymNChuZM7NNpRz/VtYhhdMnaVV/52cGMpA9AOBaTYy9K17+JjEfmGcfhx6vp/lzhrlDr5fuRV7TFXGikyMkF5msYyqBUyCSKReFtIL11HPpJIAPz64UHfZVh3oOw52XM9TuU26ABwLAzJEUTQ9k3I6t8NCMLNAyrSpMDcUSIiBTIyF5atnW6a3e2tJwhAung== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4972.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(5660300002)(8936002)(6486002)(86362001)(6666004)(2906002)(44832011)(1076003)(38350700002)(508600001)(7416002)(83380400001)(38100700002)(316002)(66946007)(186003)(66476007)(8676002)(66556008)(4326008)(36756003)(6506007)(54906003)(2616005)(107886003)(6512007)(26005)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bfHAmhl6G8UZdun4JL3ysP0zBsgupDNtMccay5ZYdZyAMWz5bQ8klBpFu0yqK3zv/yl2mplhs05IPCLXkNTikOzGJX9rVR53m5XM9wlaP2B3fzrAe4rMCSoOUmDrA/VaHpfM8nFDeVGIng90pxJTgfrMQ2jaT8NlAmpiQJlj5+xT+GL3c8pEYmp8oakXEHVPBdCbOUvNzPUqAdGRElDjp3Zhpwo4VWyURPSA7sPEIrQT68ToiWuIu7aaHpUSB2G3I+qymjGiD7BWjGnXkun18mCq66IUWCzS4pUpyQVOX2iveydQdNwhBv4+OzsmWmO9ZyFjNN3+9vP9F8pRTdP3rm8TUdL83FZZQumDFk/UTELD+yNA82UKsMv1+htvg/OLn8LOGNSVYV57+clCevBnrC+tiwwYJs2tP/TBpF01u4iEizcdwmhecx0N28bZ1XxQ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SyS4sZqNw8yQo8bJ/HgsIPs/zs0zJCk8KqenmkjNNSk/P4Or+qxGjqpvaN+mR0a98/Wd05hdUhH7tpp03O1LW50qXBRcQ4TeZAFpcHCQ8HRXsswta4/FMKPueVUF3fdb3eva2mEHEJ092CQ/dhEZijz1bxz8p+q3FwTWZxp7FFKQgOFcKgbq+AvHQRL8XwiVsAxD8tAJ5awuLhuAKMv1e3xJYyIQpSM3DBMqsRYqveM238aH4XVuAp2E= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3944ff9-a2e7-48b2-479d-08da29435819 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 18:17:24.5664 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JxtfJ+A+IKsFVRP3vE9M1tAPkbljp/bCAdOrvreIxYbiuDgqBSg5wYTvRsGipk3kAXx2Zxz8J71Lpqomq2X06A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB6775 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_111730_363508_0BD54A96 X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds an appropriate SFP binding for Trust Architecture 2.1 devices. Signed-off-by: Sean Anderson --- (no changes since v1) arch/arm/boot/dts/ls1021a.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++++++ 4 files changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 2e69d6eab4d1..c1e94a317cba 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -129,6 +129,13 @@ ifc: ifc@1530000 { status = "disabled"; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen 4 3>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1021a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x1000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 50a72cda4727..47ce525e0a72 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -271,6 +271,14 @@ rtic_d: rtic-d@60 { }; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + sec_mon: sec_mon@1e90000 { compatible = "fsl,sec-v5.4-mon", "fsl,sec-v5.0-mon", "fsl,sec-v4.0-mon"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 35d1939e690b..b0ab0b19de7e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -383,6 +383,14 @@ sec_jr3: jr@40000 { }; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1043a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x10000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 4e7bd04d9798..c30056afc02a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -413,6 +413,14 @@ bportals: bman-portals@508000000 { ranges = <0x0 0x5 0x08000000 0x8000000>; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1046a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x1000>;