From patchwork Wed Feb 2 10:33:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Torsten Duwe X-Patchwork-Id: 1587602 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bIZTAXgb; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JphWr25Ypz9sCD for ; Wed, 2 Feb 2022 23:51:52 +1100 (AEDT) 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Cc:To:Subject:Date :From:References:In-Reply-To:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o+ZSORE92fB5PIXgkQTorenGWFBSnBwGbzw3Ezq9KHA=; b=bIZTAXgbFpy9go 1K0+e/17LlPdgX1T50RM/J8QPoIeDtHHr7Tx4JQ0wzcYS6NeeT2FwPG+RPWd01HU8YM4b+uz+AYPb JtP0Q8DmHjDrr1Y/0C8ZKz7fOmukpbcl0D22B6u7rqMU1u8blzWrUzrQvkxpWvYksKP1RiZz3sVbc WetTsi80azVwVx+wvcGYHO/inQJ5t5m4SDV1w4uL1R7c2gcBJF4O+NHM8eL57OQwxFWI14unRLzoz hWVkx+OFUB71fitV/5PTbcMHXjNIE2Lfb9ia4s3iZy5y0P9ifJPE1Y9z5lYIyB6p8r6nQ9/klezHE RImnNmBgzC0Rkkd1mgzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFF5N-00FESP-No; Wed, 02 Feb 2022 12:50:09 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFF51-00FELx-Jw for openwrt-devel@lists.openwrt.org; Wed, 02 Feb 2022 12:49:48 +0000 Received: by verein.lst.de (Postfix, from userid 2005) id ECE7A68AFE; Wed, 2 Feb 2022 13:49:44 +0100 (CET) In-Reply-To: <20220202124421.9E1FB68AFE@verein.lst.de> References: <20220202124421.9E1FB68AFE@verein.lst.de> From: Torsten Duwe Date: Wed, 2 Feb 2022 11:33:33 +0100 Subject: [PATCH 3/7] lantiq: add DTS for Fritzbox 3490 To: openwrt-devel@lists.openwrt.org Cc: "Daniel Kestrel" Message-Id: <20220202124944.ECE7A68AFE@verein.lst.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_044947_838089_2D62971B X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Torsten Duwe --- .../boot/dts/lantiq/vr9_avm_fritz3490.dts | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Torsten Duwe --- .../boot/dts/lantiq/vr9_avm_fritz3490.dts | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts new file mode 100644 index 0000000000..3e140a59cc --- /dev/null +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "vr9_avm_fritzx490.dtsi" + +/ { + compatible = "avm,fritz3490", "avm,fritzx490", "lantiq,xway", "lantiq,vr9"; + model = "AVM FRITZ!Box 3490"; + + aliases { + led-boot = &led_power; + led-failsafe = &led_info_red; + led-running = &led_power; + led-upgrade = &led_info_red; + + led-dsl = &led_dsl; + led-internet = &led_lan; + led-wifi = &led_wlan; + }; + + leds { + compatible = "gpio-leds"; + + // led 5 "Power" + led_power: power { + label = "green:power"; + gpios = <&gpio 45 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + + // led 4 "LAN" + led_lan: lan { + label = "green:lan"; + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; + }; + + // led 3 "WLAN" + led_wlan: wlan { + label = "green:wlan"; + gpios = <&gpio 36 GPIO_ACTIVE_LOW>; + }; + + // led 2 "DSL" + led_dsl: dsl { + label = "green:dsl"; + gpios = <&gpio 35 GPIO_ACTIVE_LOW>; + }; + + // led 1 "Info" + led_info_green: info_green { + label = "green:info"; + gpios = <&gpio 33 GPIO_ACTIVE_LOW>; + }; + led_info_red: info_red { + label = "red:info"; + gpios = <&gpio 46 GPIO_ACTIVE_LOW>; + }; + }; +};