From patchwork Wed Feb 2 10:33:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Torsten Duwe X-Patchwork-Id: 1693495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.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=ix61DbEE; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MwJ784xwQz23kL for ; Sun, 23 Oct 2022 23:54:12 +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=JmS0lCIKiYmlENKFJCZ5EXTQPlE4yh+W9M3rXjf/bo0=; b=ix61DbEE6yf0me NpEfP5+0FUA0H2cTGCxlmftIxLR9EjjLOeSTWch6vZVAh7aBJMknHsfJDfuN6sylkwfNcXLby10fc 3sLyp4PgS2tBE81HzlzCVXmgw7p+A1Qmyh3E8DAvAHMi/mkvzv3ne4SElvKhqLHRrq8omGS0xSnTE 0i4m+TlWS2Vu3z/rSMnL3MgzZoNhh3R3WarJDl5zCzf3sFfkaGpY+ed850h2i9cfBBu0G8qRFlav0 W7pPyk9A1MW9ZkTctVqYVD1FYOwc9pz1d+0Cyz9zH50bLktFlW1uIFVaaiSxMrGSrvrtfeou5eSbI heCbxcurzcTQsuy9NMsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omaSw-00FD2e-1m; Sun, 23 Oct 2022 12:52:34 +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 1omaSD-00FCjL-W4 for openwrt-devel@lists.openwrt.org; Sun, 23 Oct 2022 12:51:51 +0000 Received: by verein.lst.de (Postfix, from userid 2005) id 67A4967373; Sun, 23 Oct 2022 14:51:47 +0200 (CEST) In-Reply-To: <20221023124738.8862E67373@verein.lst.de> References: <20221023124738.8862E67373@verein.lst.de> From: Torsten Duwe Date: Wed, 2 Feb 2022 11:33:51 +0100 Subject: [PATCH v2 5/7] lantiq: add DTS for Fritzbox 7490 To: openwrt-devel@lists.openwrt.org Cc: "Daniel Kestrel" Message-Id: <20221023125147.67A4967373@verein.lst.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221023_055150_196645_5985A125 X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.1 (++) 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_fritz7490.dts | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips [...] Content analysis details: (2.1 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 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 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_fritz7490.dts | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts new file mode 100644 index 0000000000..55d6b92523 --- /dev/null +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "vr9_avm_fritzx490.dtsi" + +#include +#include + +/ { + compatible = "avm,fritz7490", "avm,fritzx490", "lantiq,xway", "lantiq,vr9"; + model = "AVM FRITZ!Box 7490"; + + aliases { + led-boot = &led_power; + led-failsafe = &led_info_red; + led-running = &led_power; + led-upgrade = &led_info_red; + + led-dsl = &led_info_green; + led-internet = &led_internet; + led-wifi = &led_wlan; + }; + + leds { + compatible = "gpio-leds"; + + // led 5 "Power/DSL" + led_power: power { + label = "green:power"; + gpios = <&gpio 45 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + + // led 4 "Internet" + led_internet: internet { + label = "green:internet"; + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; + }; + + // led 3 "FixedLine" + led_fixedline: fixedline { + label = "green:fixedline"; + gpios = <&gpio 36 GPIO_ACTIVE_LOW>; + }; + + // led 2 "WLAN" + led_wlan: wlan { + label = "green:wlan"; + 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>; + }; + }; +};