From patchwork Thu Apr 21 17:56:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12822152 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 3C771C433FE for ; Thu, 21 Apr 2022 18:00:06 +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=qo4CMgv8iSNBMesLPNnJNF1qdAa7vbmdGCM9fSSNc2c=; b=YkKpOFgylCG6/+ ePdpjz+tiMrhnivVaMNxwBRsCyFaWRxW+upy4Ns6XieHNVb6guZSMGrq6yPe4G1xuw++zRTQY9Amc xQhUHp60I+BnSt5M+NyiaKjRiKB7CcmHP6gReNR6u1WWqW5+R7gRl56piliPI/OsbWQkq4uQB643M NaxPWF1o6PrwblSWHdCmuT2e22rStegpzFzfybVx15OvtjYNYL5Tsl3ZLh92zCY/Q3vRHCZV4AuC2 xUe9ap+8/75k9C99HhctilhJqlWH7gzmbSrTfewMq3oSOH9bwLhD7SUgJK4C/43401X5+cX920Ae0 omXuMORCF6wKVbqFQtaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb4w-00EX5n-DG; Thu, 21 Apr 2022 17:58:54 +0000 Received: from mail-db8eur05on20607.outbound.protection.outlook.com ([2a01:111:f400:7e1a::607] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb3V-00EWWi-91 for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 17:57:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cP7mqrfUn7QZ8xkg8yGb9FsdDw/Cn1R41Z5WBUBQqVkbUyoaoQwOeIOA2g9a8Tyy/Z5aCWWZXzRjv4i7Fkj7QS1NHJTei/00CXC0HnqU0mACgT7bnHC2wObKs7a9BqMlSVadDZaAujzCjM5SDduwSZoqqwafnNKCjyuc0aCR0z/HTKHHssw2DFfzro68QpWLLlP0QJheAFdhKyBWxKJY4dkP7x/0fTv+vxE7h9WAidMZWkgzR4eV3j1ZrpCP8W77h0Sf9JTMOYUqSETXlwKRE7Rl/QgqSd4oJYb99Iw7WuCCdWJQjoVhqI2zYfOchUNpOQpSEycopyk+eqUGG7CE6A== 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=RFMY/ds85xOOoEB/ah67D9VphN8wcvzYwGsERQQjhNs=; b=P4NAHJHWQq7LZuwdYQCeFZ/tYUNnWEJywCXeqGam1miQv/V1iU8xCkNwvzF0Ry3dC7kx+8LNAcM9v4peLYG5esBF5PbYdpwoc0wQkQtF82ufGrumKsneKEuPTk4QC7IBg8OVFqlL4dcxNOIfSs3izoUKivq4g3TGZ9PVNt503RMC9+TmXB9KH95NMa14ZdEKnsXGMNhnodUVsdcgq/0uk9QRkipkdVRUtTktF35o/agwV0iDaCczrD7JFsG2fxNPt4jgTkPW/m9O8atMXg95Vi8ySjrrIlxaohjrY/JSsl2NiFvSr1F8cYeupV2NyqZAMSLQh1F97z9F48OwBObKFg== 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=RFMY/ds85xOOoEB/ah67D9VphN8wcvzYwGsERQQjhNs=; b=NM/wsdbvdP6FAR7xU8YrvZmcug01mIgZf6AevPNuPkFO8NcsEj3Ia7umNOJCqJBO49sNErzAJrfTlDcVo8NTGmTUOU9UkYhz5eOUrJAoxJriOi+tE4HMVoEfftcq+K308ECpjL8o3MJ0vpuCASGYPzsxMUbqTT7iuzf2Px0wTRikHEjJWfD6kK6aPtaA/RuYOC5KU8THEYJxM0r9tEx1KBQ03OOHzt3NA0XAfXpMTSDNWmMaxMETBs3S+Ri+vqSacrfGHVhcTWKOEXS/j+MM/C2or114mE+ZlalQjoEDpdm0r5jc6K4TIXQjcjXeKqmRzJLMP7w2Ifj1//d67Qz5sQ== 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 AS8PR03MB8101.eurprd03.prod.outlook.com (2603:10a6:20b:444::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Thu, 21 Apr 2022 17:57:18 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::714d:2b6:a995:51bd]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::714d:2b6:a995:51bd%4]) with mapi id 15.20.5186.015; Thu, 21 Apr 2022 17:57:18 +0000 From: Sean Anderson To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Shawn Guo , Rob Herring , Michael Walle , Krzysztof Kozlowski , Li Yang , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Sean Anderson Subject: [PATCH 6/8] ARM: dts: layerscape: Add SFP binding for TA 2.1 devices Date: Thu, 21 Apr 2022 13:56:55 -0400 Message-Id: <20220421175657.1259024-7-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220421175657.1259024-1-sean.anderson@seco.com> References: <20220421175657.1259024-1-sean.anderson@seco.com> X-ClientProxiedBy: BLAPR03CA0125.namprd03.prod.outlook.com (2603:10b6:208:32e::10) 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: e88bda90-bfec-411a-0ea4-08da23c06074 X-MS-TrafficTypeDiagnostic: AS8PR03MB8101: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: SU2ty/Y0yWfA77zJbKgoXlygc6bUYcBneTyULN2ZXHFWa7nvu7ya3AtbBhF4NToCZEosPBSLE9oD0//2hKrGxyqYgTdgMoNRYzz48wCimxDrvP7gIUoshoyUFsuHVT8iEm3MrOgAC8HmpGFemtPf/NA4KGr9w1FWStRRWw/EZcO8HSTdOYCriVsP63ZUS57XuXmKDEkWOmS8am3CdXxhPSUP+2UI+q7Pn8a2mybefUV+h28xdhsH44bJ/WCrF25h40m9BLg6Bq87MSrqfx8qUFOU7ZB2fub6B9i46JPxtwqEfT/D6or3wEKade7Pt7zFBnxPMCvpHezaqT51KPSUovrwH63b+pZUB7gp2Tx5r3ogD7iU6ssQjTwTAEIj/U78ctjaglJdGGM/DKigA1FhOiYBdA6fe54dBvRUw25RVSO46OvHpHPdVkwxS/+m9ucC+Z1gszLqe8GZJpnwFiLOc8oa7LEiLlvqIOTC6cMXrQW2PrUi6fuhvKZ5zyHEDhjimNHtIl1vxXeKeAfipSgkcad2SduZrWVL/52eAAjxKf9cSi05tJhiR5ZL0Oi47MF166utAkcgghay1A+025sewTLWom2fqKFnJT368FWnJ5lsGwWpO+e1FYZgErxkwSp7fK4NrQIIt3t3KL74zESp9uBG8Bb4cGQ3eeKvcBtx0XbmDt2y4Vdn9+/abVBhoJ/rKwExPggfNbkPIwy+n6ND8g== 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)(6506007)(52116002)(86362001)(6512007)(2616005)(5660300002)(44832011)(6666004)(2906002)(26005)(1076003)(107886003)(8936002)(54906003)(186003)(38100700002)(38350700002)(508600001)(36756003)(6486002)(316002)(8676002)(4326008)(66476007)(66946007)(66556008)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iwt2ClzkffOguryxwklpDSqi0Pm/AaHTQLPLAnVzIBuw6Ky79w2LVPksKgTtl3rHhaKa1XMHNXFgF5oQ2I38bin3m3Hsocwra3yAJmz6nTH/E3LOStM6GjQWG4HOmxhPMz7AqBOvAf7S3l6B5U2tkkcPMBHYDbs4rCF4ZrCMmF+DU4sTSMn7gq5KjsWHgntqjJZ+0oE/8frQgNWRmoZAJr/bBeYEqBWB6z3lRp2oTSVd+tYHM4YU6IPD5NwlWZTBhafqwZ5KvQFGHJ5SLFJ/GBqAIeMyFSRZtfdTG5v9xu/vqOk1WV9C81NZUTj2U4HN8SvXyrPHUGQi3db9r+Dpwzl55cRmFAPryqg2NfYVa6zpPZ1pCLTbdMp+979fnJH7lmAUnX+2BXPQcpVbPfuLFIFXOQXEGmcbf7ktONW6V2HYQIlOCFpAAJGGeRHPKXVIzbFDf80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HRsQwtS2DSc1HbJpKJHYY4U03xg4S0+cfMYam3RkvwBMzFpWP/JWmo9+8Lq7wtbjQHs59nHf4FwdJ/e0XVvTQ+XrvIIR/KudkgO27Fs8ekYAy4UHu7Z06iGgacDavsTk4vupMcF6MNAAVwKPv0CkjNQqoDSq4EbPKxprefJRzmNvOd984dyJrEwo9IEdpRKIJC67gSEwYJI9Ntp0CjNNL5L3VnMuLJxcElvWqMsYLpkM3gQkP/U= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: e88bda90-bfec-411a-0ea4-08da23c06074 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2022 17:57:18.6508 (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: PTxRNJY4cBPXr3BHigma+TN71KKI0hEuO8pBnOhqHJAhbP9nEOCjDc5jUHHxdxealKFHeLLMHJ2m4eJ2AzZyLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB8101 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_105725_343336_26703CE8 X-CRM114-Status: UNSURE ( 9.22 ) 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 --- 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>;