From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795911070; b=p1fhDm6EJN/dXQVY55TjSVkdMrhJnO73ZdL1meBzmV8BgWkTNJ5cu2uAcY771dkhdqSS di7LNp7cg0YWpZntuPOZlVES3sRN09JmJB6NmfqJUhrM6TTWGlVf/UHKUtyXaZNwt2qz9 /73CfE4XaJkfaCB3Bdzd98YfIU6e4ZGCihFarvx3modmf5MrYprMCuzsZuxI8+NS1tCMJ xmoPIEd26w0ytBK/SFUlFrG5gl7vXrYqTNNy2444IHdx+15k68HIyu6nmNJZwjYFjUTbK llu+qA34IuwlDrUKXf7g3bBCUmapmNCgHYrdgSQmft4AJwWVciqZ52qrPp0jy79qPWg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795911070; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=4yn69xPfLSBurGbM9uWKKWTJkme1JH4fVXSZG3Zi/gM=; b=SXH/b00ukQysf9sYGVvMjpgGBAQYCfcsz4SFyE+DGrQfLQypOLNkLOGUtIEtx4BB6OQQ PJYpsRjR8BFg9OhB1c9SfKBWX3OAm4fyRk19vE7dqLt6bkfYSYn1KVByTloQChFUAcDcl /5hGHcaQXMpg20QdHgs83YWn/+7UPATbKFModIFMiCXP97fP7gYQ/2AvflokTYpucbPNW PH009QsFUV1fMVCgYoiT1KdlJmkDduHmJy4Z7GxNkqIf2FrHM/cDP0Sq9lSRTgf3sCe8+ EPugiitXOLGyuIHpDV2j1chIVatvhnpOyXFee2qDI89iQhuWqGLlLL+xO5Y38h4EhkA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=rfeu6hef; arc=none smtp.remote-ip=209.85.128.45 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26D51606A321 for ; Sun, 29 Nov 2026 00:11:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 26D51606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=rfeu6hef Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4bba5e17cbeso37010545e9.1 for ; Sat, 28 Nov 2026 16:11:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795911068; x=1796515868; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=4yn69xPfLSBurGbM9uWKKWTJkme1JH4fVXSZG3Zi/gM=; b=rfeu6hefFUoqlo7gPmeGty/xDnian1awCv2YCbXcJWmp5ASjk4kgt3zycwYCkKBXYQ GYdOshlK5+fJEJR3lPyGbBoJlm3dQAnqrOrhk/VdsPIKdX306cbmIHEya+/qS/BPOBNs VNfDS5t5GR6kvWPYUeyilWFFGWU9t+pYXyxeuxPS/gviSs7UXKMnTAWOyxvZFFOpdEDG 8QGBOjxGYpZ3S1qkj82wLPX2JWOGE3pDehQgL5GMuia3hB2trp+bweCyCjf/vgxwmYR8 GYrsIAkmK1t5KQt4LzipK3oYpjPEytmLghRao5OVuTEFslbv/AEVq72Ys8qjH2z9p+0x iiOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795911068; x=1796515868; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=4yn69xPfLSBurGbM9uWKKWTJkme1JH4fVXSZG3Zi/gM=; b=ClW8x9z2Kh3khDD8PMvsYO3+HmZ/fGkviTSwrFP2dwRkt3dKVit51VjWqS7CNJCjw4 IK06J8HzdcAgAI/5gyZDr4oB58Xdc2yfjwbVto3GSxP19xXYcnv3Pw8jJ3FZwPrRe8iR HNnh9VKXPp7W9W267YHwYfynS2GE3DvrYIbDkuZbmn4eLtbtanQNwsxKXkCEueDUatvK do93vL7GoZbDsy7G2A3+WV/gPtoEsPQB5JIkf2XAYkbPm3jd2Nyf9xHn6wwjx/fWK5zY u9BeoNU3vhfoPbsRN7TBNrgLJV8jDBmrw3mSXGW5r4wDq6Elh+NknVe2yfZI7uLg25oE OH1A== X-Forwarded-Encrypted: i=1; AL+hErHohuJCTxSzBqwG8RcWR1lPpfW2TADwep0wvclZWeaLMOCdRM8AEF0YdgUoQrRGyo5Hb/g7MafL3srWrHE=@vger.kernel.org X-Gm-Message-State: APuU4Z9QWsm/zT7UNxdBcRE+a+hdpSq+e4rcsHRoKZWDsl1t9uRGcx2w MMFFFAyMuOI2ff/9rCm+6fUJzV3O4u4ZDF8UxZg6UOSYYWtT7uAAF97/ X-Gm-Gg: AZFdTZc6PufFGSajlcBCpdac06H3S0QiTLRjXyquOlbwhxPoEeHD+P3GQZVePFWRF+V t7yGF/ZIsrMC1h+ZF2ofMeN+MpcwnX43P3DNWBENWoDBUlX+rIv10zwgECRkOktTGsE+RSFKXFB lMpk4jaflVRBu1oAArlrExOPIf2HYrEHwbzQbknGPu5vekEoGPFpuQ9zSQo4WCtNbp1AooNaPs9 3kaLXGex2cF1I5OEFpVNQF99pxYlg1wXmo1SbYO429RXfffDIyY6G4rw1W2MNWjUhiR2F03/JQx bIn1tqi9lcW7toVek/X7+bsDWSb23Jcb7rhtnyYcs7BFC47o7tQacX5x/45ZLTB6X9TxMD7FJJn UkU/2v8q1Rz8vnl+7LNd6hbKLXvH98uVaQB3cfCIzko4Hmpc0yKkVLs3X9g8zLQ8ik4rkxqvVrY RnqcA+RMoOuzo8E+UH3SersyUbiZMBmJXub+glD5M1amzsfFVXUd95b++OaqzbY+kTCoV/vOU7N mScau9kj3d0FqFd3I5q/Wb17cePx+IhkLkEab9nw2A5eUPJovK/2loTFvlV6BajLI2pEb2MkdTM 7JagvLr3RZ0vBan2/1NykHbjxENkpn2GG6NkqxEVVgsgbNmWqU0XWQDGbodrgW2R9AxgH4qMtaH RDbE8VhjpGO3abJItHdSAg5UjPJmwtKIX6iVOy+hkWZ/018xvK9DKPlEkDKM6UcqWlEEn2wIbKl g1chy4vmy9BbexHeutGqPGI/CWfg== X-Received: by 2002:a05:600c:1548:b0:4a3:59c9:a756 with SMTP id 5b1f17b1804b1-4bb88800013mr613871085e9.6.1795911068159; Sat, 28 Nov 2026 16:11:08 -0800 (PST) Received: from kali (adsl-94.46.190.7.tellas.gr. [46.190.7.94]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb853b216esm874384555e9.12.2026.11.28.16.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 16:11:07 -0800 (PST) From: Lefteris Koutrakis To: linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: robh@kernel.org, krzk@kernel.org, conor+dt@kernel.org, mpe@ellerman.id.au, npiggin@gmail.com, chleroy@kernel.org, ritesh.list@gmail.com, sshegde@linux.ibm.com, maddy@linux.ibm.com, sashiko-bot@kernel.org, Lefteris Koutrakis Subject: [PATCH v10 2/2] powerpc: dts: fsl: Add support for WatchGuard Firebox T30 Date: Sat, 28 Nov 2026 19:10:54 -0500 Message-ID: <20261129001054.1546828-2-lefteris.koutrakis@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261129001054.1546828-1-lefteris.koutrakis@gmail.com> References: <20261129001054.1546828-1-lefteris.koutrakis@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add initial device tree support for the WatchGuard Firebox T30 board and enable building firebox-t30.dtb under CONFIG_MPC85xx_RDB in arch/powerpc/boot/dts/fsl/Makefile. Signed-off-by: Lefteris Koutrakis --- Changes in v10: - The LED on GPIO 4 is the front-panel "Mode" LED, which shows the WAN connection state. There is no USB LED on this board, so use LED_FUNCTION_WAN_ONLINE instead of LED_FUNCTION_USB. - Collect Acked-by from Krzysztof on patch 1/2. arch/powerpc/boot/dts/fsl/Makefile | 1 + arch/powerpc/boot/dts/fsl/firebox-t30.dts | 386 ++++++++++++++++++++++ 2 files changed, 387 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/firebox-t30.dts diff --git a/arch/powerpc/boot/dts/fsl/Makefile b/arch/powerpc/boot/dts/fsl/Makefile index d2cc8e1f007e..8b5d0ac0ebad 100644 --- a/arch/powerpc/boot/dts/fsl/Makefile +++ b/arch/powerpc/boot/dts/fsl/Makefile @@ -44,3 +44,4 @@ dtb-$(CONFIG_GEF_SBC310) += gef_sbc310.dtb dtb-$(CONFIG_GEF_SBC610) += gef_sbc610.dtb dtb-$(CONFIG_GEF_PPC9A) += gef_ppc9a.dtb dtb-$(CONFIG_MVME7100) += mvme7100.dtb +dtb-$(CONFIG_MPC85xx_RDB) += firebox-t30.dtb diff --git a/arch/powerpc/boot/dts/fsl/firebox-t30.dts b/arch/powerpc/boot/dts/fsl/firebox-t30.dts new file mode 100644 index 000000000000..1dd692cf4a1e --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/firebox-t30.dts @@ -0,0 +1,386 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree for WatchGuard Firebox T30 + * Author: Lefteris Koutrakis + */ + +#include +#include +#include + +/include/ "p1020si-pre.dtsi" + +/ { + model = "Watchguard Firebox T30"; + compatible = "watchguard,firebox-t30", "fsl,P1020RDB"; + + memory { + device_type = "memory"; + }; + + cpus { + /delete-node/ PowerPC,P1020@1; + }; + + lbc: localbus@ffe05000 { + reg = <0 0xffe05000 0 0x1000>; + ranges = <0x0 0x0 0x0 0xefc00000 0x400000>; + + nor@0 { + compatible = "cfi-flash"; + reg = <0x0 0x0 0x400000>; + bank-width = <2>; + device-width = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x0 0x20000>; + label = "nor-cfg0"; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_nor_cfg0_1830: mac-address@1830 { + compatible = "mac-base"; + reg = <0x1830 0x11>; + #nvmem-cell-cells = <1>; + }; + + macaddr_nor_cfg0_1844: mac-address@1844 { + compatible = "mac-base"; + reg = <0x1844 0x11>; + #nvmem-cell-cells = <1>; + }; + + macaddr_nor_cfg0_1858: mac-address@1858 { + compatible = "mac-base"; + reg = <0x1858 0x11>; + #nvmem-cell-cells = <1>; + }; + + macaddr_nor_cfg0_186c: mac-address@186c { + compatible = "mac-base"; + reg = <0x186c 0x11>; + #nvmem-cell-cells = <1>; + }; + + macaddr_nor_cfg0_1880: mac-address@1880 { + compatible = "mac-base"; + reg = <0x1880 0x11>; + #nvmem-cell-cells = <1>; + }; + + macaddr_nor_cfg0_1894: mac-address@1894 { + compatible = "mac-base"; + reg = <0x1894 0x11>; + #nvmem-cell-cells = <1>; + }; + }; + }; + + partition@20000 { + reg = <0x20000 0x10000>; + label = "nor-cfg1"; + }; + + partition@30000 { + reg = <0x30000 0x20000>; + label = "nor-mfg"; + }; + + partition@50000 { + reg = <0x50000 0xc0000>; + label = "nor-bootopt"; + }; + + partition@110000 { + reg = <0x110000 0xc0000>; + label = "nor-extra1"; + }; + + partition@1d0000 { + reg = <0x1d0000 0xc0000>; + label = "nor-extra2"; + }; + + partition@290000 { + reg = <0x290000 0xe0000>; + label = "nor-backup"; + }; + + partition@370000 { + reg = <0x370000 0x10000>; + label = "nor-ubootenv"; + }; + + partition@380000 { + reg = <0x380000 0x80000>; + label = "nor-uboot"; + }; + }; + }; + }; + + soc: soc@ffe00000 { + ranges = <0x0 0x0 0xffe00000 0x100000>; + + gpio0: gpio-controller@fc00 { + #gpio-cells = <2>; + compatible = "fsl,pq3-gpio"; + reg = <0xfc00 0x100>; + interrupts = <47 0x2 0 0>; + gpio-controller; + }; + + i2c@3000 { + rtc@30 { + compatible = "sii,s35390a"; + reg = <0x30>; + }; + }; + + i2c@3100 { + tpm@29 { + compatible = "atmel,at97sc3204t"; + reg = <0x29>; + }; + }; + + spi0: spi@7000 { + flash@0 { + compatible = "everspin,mr25h256", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + m25p,fast-read; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x0 0x8000>; + label = "spi_mtd_0"; + }; + }; + }; + + slic@1 { + compatible = "zarlink,le88266"; + reg = <1>; + spi-max-frequency = <500000>; + }; + }; + + usb@22000 { + phy_type = "ulpi"; + dr_mode = "host"; + }; + + mdio@24000 { + switch0: switch@10 { + compatible = "marvell,mv88e6085"; + reg = <0x10>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + switch0phy0: ethernet-phy@0 { + reg = <0>; + }; + + switch0phy1: ethernet-phy@1 { + reg = <1>; + }; + + switch0phy2: ethernet-phy@2 { + reg = <2>; + }; + + switch0phy3: ethernet-phy@3 { + reg = <3>; + }; + + switch0phy4: ethernet-phy@4 { + reg = <4>; + }; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + label = "wan"; + phy-handle = <&switch0phy0>; + nvmem-cells = <&macaddr_nor_cfg0_1830 0>; + nvmem-cell-names = "mac-address"; + }; + + port@1 { + reg = <1>; + label = "lan1"; + phy-handle = <&switch0phy1>; + nvmem-cells = <&macaddr_nor_cfg0_1844 0>; + nvmem-cell-names = "mac-address"; + }; + + port@2 { + reg = <2>; + label = "lan2"; + phy-handle = <&switch0phy2>; + nvmem-cells = <&macaddr_nor_cfg0_1858 0>; + nvmem-cell-names = "mac-address"; + }; + + port@3 { + reg = <3>; + label = "lan3"; + phy-handle = <&switch0phy3>; + nvmem-cells = <&macaddr_nor_cfg0_186c 0>; + nvmem-cell-names = "mac-address"; + }; + + port@4 { + reg = <4>; + label = "lan4"; + phy-handle = <&switch0phy4>; + nvmem-cells = <&macaddr_nor_cfg0_1880 0>; + nvmem-cell-names = "mac-address"; + }; + + port@6 { + reg = <6>; + label = "cpu"; + ethernet = <&enet0>; + phy-mode = "rgmii-id"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; + }; + }; + + mdio@25000 { + status = "disabled"; + }; + + mdio@26000 { + status = "disabled"; + }; + + enet0: ethernet@b0000 { + phy-connection-type = "rgmii-id"; + nvmem-cells = <&macaddr_nor_cfg0_1830 0>; + nvmem-cell-names = "mac-address"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + enet1: ethernet@b1000 { + status = "disabled"; + }; + + enet2: ethernet@b2000 { + status = "disabled"; + }; + }; + + leds { + compatible = "gpio-leds"; + + led0: led-0 { + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; + color = ; + function = LED_FUNCTION_STATUS; + }; + + led1: led-1 { + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + color = ; + function = LED_FUNCTION_STATUS; + }; + + led2: led-2 { + gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; + color = ; + function = LED_FUNCTION_WAN_ONLINE; + }; + + led3: led-3 { + gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + color = ; + function = LED_FUNCTION_WLAN_5GHZ; + default-state = "keep"; + }; + + led4: led-4 { + gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; + color = ; + function = LED_FUNCTION_WLAN_2GHZ; + default-state = "keep"; + }; + + led5: led-5 { + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + color = ; + function = LED_FUNCTION_POWER; + default-state = "on"; + }; + }; + + pci0: pcie@ffe09000 { + reg = <0 0xffe09000 0 0x1000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 + 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + status = "disabled"; + + pcie@0 { + ranges = <0x2000000 0x0 0xa0000000 + 0x2000000 0x0 0xa0000000 + 0x0 0x20000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + }; + }; + + pci1: pcie@ffe0a000 { + reg = <0 0xffe0a000 0 0x1000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 + 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + + pcie@0 { + ranges = <0x2000000 0x0 0x80000000 + 0x2000000 0x0 0x80000000 + 0x0 0x20000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + + ath10k: wifi@0,0 { + reg = <0x0000 0 0 0 0>; + nvmem-cells = <&macaddr_nor_cfg0_1894 0>; + nvmem-cell-names = "mac-address"; + }; + }; + }; +}; + +/include/ "p1020si-post.dtsi" -- 2.53.0