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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 12426CA9EBB for ; Fri, 9 Oct 2026 22:12:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D3847608F7; Fri, 9 Oct 2026 22:12:29 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YI5KKoJC9LDR; Fri, 9 Oct 2026 22:12:27 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org BAE5C608B4 Authentication-Results: smtp3.osuosl.org; arc=pass header.oldest-pass=0 smtp.remote-ip=140.211.166.142 ARC-Seal: i=2; d=osuosl.org; s=arc; a=rsa-sha256; cv=pass; t=1791583945; b=TFEA+gMvoAR8HAKfmi/ByXFDlMdmd3SFxw2A7AkCPgTPYByTBjpj4UuS2SWHyXeGQF5a HVrDSMGnY93sDu60Ntk1i2F4N8L3jGAbV12Ctj6vRvWVcTW5zawWQHxK4VxmR18zYv+JI Hc1rejZ35FnuoauwugbDrqHGqQB0+YdcQvzAXeqKhfwtXN9Kfox5jpvF8zhCcKrZ766uh v6Hh1Zlt++K8Y9wIgrNi+TzA9iFXxB7pxKN5kPAbwvjcfYgvtoVBx1VNew4WxSnpI2Xrz sMnecGmMWOzNUwgFYrRQbLdsfgGuNEeqj4YzU9cQ4ir2+ktZL76lrL6aDDaN9/vIkUg== ARC-Message-Signature: i=2; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1791583945; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received: DKIM-Signature:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Mailman-Approved-At:X-BeenThere: X-Mailman-Version:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Errors-To; bh=BmzijSSEiiwygALZOKTyV4GIv0IEhpsJWA1+Q23GPKo=; b=LpLL8cx0Hm/a+VwZsqRCBfEWxTOMiW7qIK841sz6XSEksqt0Lt79+lzHeUFDus++qXhs +MnOEO6LNJ0QVC5LNyiRzB/1ynHu8vIjs8ZrjxUkprQljV92Po2TvBgF+GM/W0ZC/mzpo 2y0FoKemRRuqZ/mQBZ2hAQJEJPp29wppDmowSoDV/E8LcHmvOtvYpbnKlSbMX+jEQQ0s/ 97YnIGMigTqI71MxIWdqgkOOLDxrp4aImerTtObXdK/9DbBsRFWYv3EG1Yi32pUhhFpJQ tSyM4dMBQeCpj/PDH85vnPRkWq3CPp4F7d4gRBQusumS+xSVb8HNYM//7FFQVFQV1mA== ARC-Authentication-Results: i=2; smtp3.osuosl.org; arc=pass header.oldest-pass=0 smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1791583945; bh=BmzijSSEiiwygALZOKTyV4GIv0IEhpsJWA1+Q23GPKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=0Tyl/5n2KllCw+u9JnO7jVhYlzxZhSkjO5bqSLV7FtNSSkf7sLCLw22xZh3+oHGUz NR5PLShpLa3aTp1EEx6GcdRGkeEG63+3TWdlT0aXQ7paRz6RD7e7bsV6el5i8sOo8l C7cVF/eyj5g1I+cmeYK8vbcPwIkMFDK3i/mXjr/jEHtykWbGwcclAEMTGS9XNYQPWZ AP2VffYe++sKmQGunCexETWqJKEwYMuSe1gxH8zBwGqbc1xmY9Jksxz1zF2cxH7GjE 0HnY1mqyPd2OT1+bhtzmdcUk14b/QnFGiHj/5U4dYAaKJwl9lTx8hfbO4YIgI4LvXY uUHFLNmYkjyrA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id BAE5C608B4; Fri, 9 Oct 2026 22:12:25 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with UTF8SMTP id 98E35380 for ; Fri, 9 Oct 2026 22:10:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with UTF8SMTP id 7E709813A9 for ; Fri, 9 Oct 2026 22:10:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with UTF8SMTP id rtTsOo_NlS60 for ; Fri, 9 Oct 2026 22:10:30 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 5DAD08123E Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=5.75.144.95 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1791583830; b=SOrr0sCDUDx2QXGMV8+22C3OPAtX9ND5pN3+56Pe690pudBnMY8Enrr7NAcnYRJJSwTS UELWJ6nWGKjpCOe1X/C/dsZcav/aUEBeYwVu/LCZInvB4RIRN+3gHusXPIrAV/1tQNlHl kXpeuAJEAzPc5CU8irsjcgBFyH44khcdvSzaAIzCfrb/1pe9ldY5ZpmdC2+y0XFZxIfSm hYVcSJvlfApRi2OWcUdJz74aeHjSnS1ZVRJD9Q6fFgXr9s8PnKZbzSmTpXimSMfM5QXT9 FpV1qAIfkHpVPVkzS9F562iILDGF6dpsH++JRJX2ODj6IOYXUWfMj1Ga3CpWydaqk1A== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1791583830; h=Received-SPF:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=BmzijSSEiiwygALZOKTyV4GIv0IEhpsJWA1+Q23GPKo=; b=Rr++X5kOuIjAC9ffhYhEhSpDO2NEFO8dRlcjIwDR7UKDwpBC043Ksp5SjQP1MEhmhkcM PVsIje2htlYmdUqzYprqJni8Cflh4SopOPAJSflkroVihJsXPVyPlcO2ar+AE3QMkUO0A dCS3OoZLl/AyCWvSnIUdHt1cUjzh/z+63/eti25ir/zaQiDJi9LKhEcQwVH+RATCO+l6i H36c12ELSBuON0x2nMBAn2viP5v0qB+J+cC5twnLyZGytRBOsrrbZ448FwyCq9F1y75V/ J0ferI3T6IhlJSP+SdvY7W2NhJ23c9IAJ0uc0KNB+FhvEHAWXZMe0z8L5POa378Q8eQ== ARC-Authentication-Results: i=1; smtp1.osuosl.org; dmarc=pass header.from=mainlining.org; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=rsa-sha256 header.s=202507r header.b=CV3YqWXT; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=ed25519-sha256 header.s=202507e header.b=ku6ZewbF; arc=none smtp.remote-ip=5.75.144.95 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=5.75.144.95; helo=mail.mainlining.org; envelope-from=brads@mainlining.org; receiver= Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.a=rsa-sha256 header.s=202507r header.b=CV3YqWXT; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=ed25519-sha256 header.s=202507e header.b=ku6ZewbF Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) by smtp1.osuosl.org (Postfix) with UTF8SMTPS id 5DAD08123E for ; Fri, 9 Oct 2026 22:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=Message-ID:Date:Subject:To:From; t=1791583828; bh=BmzijSSEiiwygALZOKTyV4G Iv0IEhpsJWA1+Q23GPKo=; b=CV3YqWXT+hinNgosnE9x5XbtxYWAaUrKSZFQ9fIydDEuhZvxKw ZyddjLkx732al5SiaCS1E6CVrc7UKlABCTPbux6I5QXpc1SrT4jKN0KL17eztQZpaySdlfRFHhp kzCphJVX7XVsWtgHyt4Ij+izTtJWBnFawt5i+FQf/V/Rpz7Qi2CTcHUdjBenmneUqwkKO1ch73z nGN+y2i8Ft2OCUVB0Ysg07yHQxczw85ACthIb0/+Nx4KJVLZInp/0ZXmfLo8ku7ui4cwDIsPPOM 3x4S0G+4qzuDc2fafX/HGWqTcQ2u8udaA1oF84GxDMeNai29Y/yut7CvUOOTDH6pJYQ==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=Message-ID:Date:Subject:To:From; t=1791583828; bh=BmzijSSEiiwygALZOKTyV4G Iv0IEhpsJWA1+Q23GPKo=; b=ku6ZewbFnnmnJOLeovSrxr7eiDaXAFcOECFoJiG28FSBOuwA/4 +DgyELMaUDLsrGLfvEiSExz93tO2GXSibBDA==; From: Bradley Morgan To: Tom Rini , u-boot@lists.u-boot-project.org Cc: Bradley Morgan , Mario Six Subject: [PATCH v2 24/26] powerpc: mpc83xx: Remove MPC8309 support Date: Fri, 9 Oct 2026 22:10:14 +0000 Message-ID: <20261009221017.20385-25-brads@mainlining.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261009221017.20385-1-brads@mainlining.org> References: <20261009221017.20385-1-brads@mainlining.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 09 Oct 2026 22:11:54 +0000 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.u-boot-project.org No board selects ARCH_MPC8309, and the SoC is unmaintained. The CPU, clock and GPIO match tables still accepted it. Remove those stale entries. Signed-off-by: Bradley Morgan --- arch/powerpc/cpu/mpc83xx/cpu.c | 1 - arch/powerpc/include/asm/arch-mpc83xx/soc.h | 7 ++----- doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt | 1 - doc/device-tree-bindings/cpu/fsl,mpc83xx.txt | 1 - doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt | 4 ++-- drivers/clk/mpc83xx_clk.c | 7 +++---- drivers/cpu/mpc83xx_cpu.c | 4 ---- drivers/cpu/mpc83xx_cpu.h | 3 --- drivers/gpio/mpc83xx_spisel_boot.c | 1 - drivers/qe/qe.c | 1 - include/mpc83xx.h | 1 - 11 files changed, 7 insertions(+), 24 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index 7583121eb12..4117f3aa6af 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -47,7 +47,6 @@ int checkcpu(void) u32 partid; } cpu_type_list [] = { CPU_TYPE_ENTRY(8308), - CPU_TYPE_ENTRY(8309), CPU_TYPE_ENTRY(8321), CPU_TYPE_ENTRY(8323), CPU_TYPE_ENTRY(8358_TBGA_), diff --git a/arch/powerpc/include/asm/arch-mpc83xx/soc.h b/arch/powerpc/include/asm/arch-mpc83xx/soc.h index 0473389bc7d..eb82bb9e810 100644 --- a/arch/powerpc/include/asm/arch-mpc83xx/soc.h +++ b/arch/powerpc/include/asm/arch-mpc83xx/soc.h @@ -9,15 +9,13 @@ enum soc_type { SOC_MPC8308, - SOC_MPC8309, SOC_MPC832X, SOC_MPC8360, }; static inline bool mpc83xx_has_sdhc(int type) { - return (type == SOC_MPC8308) || - (type == SOC_MPC8309); + return type == SOC_MPC8308; } static inline bool mpc83xx_has_tsec(int type) @@ -42,8 +40,7 @@ static inline bool mpc83xx_has_second_i2c(int type) static inline bool mpc83xx_has_quicc_engine(int type) { - return (type == SOC_MPC8309) || - (type == SOC_MPC832X) || + return (type == SOC_MPC832X) || (type == SOC_MPC8360); } diff --git a/doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt b/doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt index 213123dbab4..6c38a3254e8 100644 --- a/doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt +++ b/doc/device-tree-bindings/clock/fsl,mpc83xx-clk.txt @@ -5,7 +5,6 @@ system. Required properties: - compatible: must be one of "fsl,mpc8308-clk", - "fsl,mpc8309-clk", "fsl,mpc832x-clk", "fsl,mpc8360-clk" depending on which SoC is employed diff --git a/doc/device-tree-bindings/cpu/fsl,mpc83xx.txt b/doc/device-tree-bindings/cpu/fsl,mpc83xx.txt index 5acb2c403c9..6e0052869d3 100644 --- a/doc/device-tree-bindings/cpu/fsl,mpc83xx.txt +++ b/doc/device-tree-bindings/cpu/fsl,mpc83xx.txt @@ -5,7 +5,6 @@ MPC83xx SoCs contain a e300 core as their main processor. Required properties: - compatible: must be one of "fsl,mpc83xx", "fsl,mpc8308", - "fsl,mpc8309", "fsl,mpc832x", "fsl,mpc8360" - clocks: has to have two entries, which must be the core clock at index 0 and diff --git a/doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt b/doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt index 52d8bb0a5cb..bdec12d1035 100644 --- a/doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt +++ b/doc/device-tree-bindings/gpio/fsl,mpc83xx-spisel-boot.txt @@ -7,14 +7,14 @@ The SPISEL_BOOT signal is always an output. Required properties: -- compatible: must be "fsl,mpc83xx-spisel-boot" or "fsl,mpc8309-spisel-boot". +- compatible: must be "fsl,mpc83xx-spisel-boot". - reg: must point to the SPI_CS register in the SoC register map. - ngpios: number of gpios provided by driver, normally 1. Example: spisel_boot: spisel_boot@14c { - compatible = "fsl,mpc8309-spisel-boot"; + compatible = "fsl,mpc83xx-spisel-boot"; reg = <0x14c 0x04>; #gpio-cells = <2>; device_type = "gpio"; diff --git a/drivers/clk/mpc83xx_clk.c b/drivers/clk/mpc83xx_clk.c index 4b2f1705b64..924c0d452a3 100644 --- a/drivers/clk/mpc83xx_clk.c +++ b/drivers/clk/mpc83xx_clk.c @@ -47,7 +47,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id) case MPC83XX_CLK_MEM_SEC: return type == SOC_MPC8360; case MPC83XX_CLK_ENC: - return (type == SOC_MPC8308) || (type == SOC_MPC8309); + return type == SOC_MPC8308; case MPC83XX_CLK_I2C1: return true; case MPC83XX_CLK_TDM: @@ -66,7 +66,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id) case MPC83XX_CLK_SATA: return false; case MPC83XX_CLK_DMAC: - return (type == SOC_MPC8308) || (type == SOC_MPC8309); + return type == SOC_MPC8308; case MPC83XX_CLK_PCI: /* * FIXME: implement proper support for this. @@ -78,7 +78,7 @@ static inline bool is_clk_valid(struct udevice *clk, int id) return mpc83xx_has_second_i2c(type); case MPC83XX_CLK_QE: case MPC83XX_CLK_BRG: - return mpc83xx_has_quicc_engine(type) && (type != SOC_MPC8309); + return mpc83xx_has_quicc_engine(type); case MPC83XX_CLK_LCLK: case MPC83XX_CLK_LBIU: case MPC83XX_CLK_CORE: @@ -318,7 +318,6 @@ const struct clk_ops mpc83xx_clk_ops = { static const struct udevice_id mpc83xx_clk_match[] = { { .compatible = "fsl,mpc8308-clk", .data = SOC_MPC8308 }, - { .compatible = "fsl,mpc8309-clk", .data = SOC_MPC8309 }, { .compatible = "fsl,mpc832x-clk", .data = SOC_MPC832X }, { .compatible = "fsl,mpc8360-clk", .data = SOC_MPC8360 }, { /* sentinel */ } diff --git a/drivers/cpu/mpc83xx_cpu.c b/drivers/cpu/mpc83xx_cpu.c index 56b192ca153..5d5611bd0e4 100644 --- a/drivers/cpu/mpc83xx_cpu.c +++ b/drivers/cpu/mpc83xx_cpu.c @@ -99,9 +99,6 @@ static inline void determine_type(const struct udevice *dev) case 0x8100: priv->type = TYPE_8308; break; - case 0x8110: - priv->type = TYPE_8309; - break; case 0x8066: priv->type = TYPE_8321; break; @@ -284,7 +281,6 @@ static int mpc83xx_cpu_probe(struct udevice *dev) static const struct udevice_id mpc83xx_cpu_ids[] = { { .compatible = "fsl,mpc83xx", }, { .compatible = "fsl,mpc8308", }, - { .compatible = "fsl,mpc8309", }, { .compatible = "fsl,mpc832x", }, { .compatible = "fsl,mpc8360", }, { /* sentinel */ } diff --git a/drivers/cpu/mpc83xx_cpu.h b/drivers/cpu/mpc83xx_cpu.h index f86b36114ab..002e753734f 100644 --- a/drivers/cpu/mpc83xx_cpu.h +++ b/drivers/cpu/mpc83xx_cpu.h @@ -49,7 +49,6 @@ enum mpc83xx_cpu_family { /** * enum mpc83xx_cpu_type - Identifiers for MPC83xx CPU types * @TYPE_8308: Identifier for the MPC8308 CPU type - * @TYPE_8309: Identifier for the MPC8309 CPU type * @TYPE_8321: Identifier for the MPC8321 CPU type * @TYPE_8323: Identifier for the MPC8323 CPU type * @TYPE_8358_TBGA: Identifier for the MPC8358 CPU type (Tape Ball Grid Array @@ -61,7 +60,6 @@ enum mpc83xx_cpu_family { */ enum mpc83xx_cpu_type { TYPE_8308, - TYPE_8309, TYPE_8321, TYPE_8323, TYPE_8358_TBGA, @@ -73,7 +71,6 @@ enum mpc83xx_cpu_type { /* Array mapping the MCP83xx CPUs to their human-readable names */ static const char * const cpu_type_names[] = { [TYPE_8308] = "8308", - [TYPE_8309] = "8309", [TYPE_8321] = "8321", [TYPE_8323] = "8323", [TYPE_8358_TBGA] = "8358_TBGA", diff --git a/drivers/gpio/mpc83xx_spisel_boot.c b/drivers/gpio/mpc83xx_spisel_boot.c index 2be8c73ae3d..220e04218e0 100644 --- a/drivers/gpio/mpc83xx_spisel_boot.c +++ b/drivers/gpio/mpc83xx_spisel_boot.c @@ -129,7 +129,6 @@ static const struct dm_gpio_ops mpc83xx_spisel_boot_ops = { }; static const struct udevice_id mpc83xx_spisel_boot_ids[] = { - { .compatible = "fsl,mpc8309-spisel-boot" }, { .compatible = "fsl,mpc83xx-spisel-boot" }, { /* sentinel */ } }; diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 25880db37cf..107a3e78f99 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -120,7 +120,6 @@ static void qe_sdma_init(void) * we just need to know what the SNUMs are for the threads. */ static u8 thread_snum[] = { -/* Evthreads 16-29 are not supported in MPC8309 */ 0x04, 0x05, 0x0c, 0x0d, 0x14, 0x15, 0x1c, 0x1d, 0x24, 0x25, 0x2c, 0x2d, diff --git a/include/mpc83xx.h b/include/mpc83xx.h index d570ba61b7f..b46c038f16e 100644 --- a/include/mpc83xx.h +++ b/include/mpc83xx.h @@ -51,7 +51,6 @@ #define SPR_FAMILY(spridr) ((spridr & 0xFFF00000) >> 20) #define SPR_8308 0x8100 -#define SPR_8309 0x8110 #define SPR_832X_FAMILY 0x806 #define SPR_8321 0x8066 #define SPR_8323 0x8062 -- 2.47.3