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: 1587604 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=I26/ObD8; 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 4JphXn5BjMz9sCD for ; Wed, 2 Feb 2022 23:52:41 +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=D2Z/PL5fZIsSu1feyauUZ4GioDOooN557L1N3wSrV4g=; b=I26/ObD8DQZ2uc 4qRfEJOaT2ff+lOmIMdhY5ZJopT6iCfRKMk8m9+8RozcJft5Eq9tfpNWtSZjR5/5f4hQwQ+CeDCTr UxU0CKqsQ6GF0tzvENPz2xxWa3+r7x8IZleqkiJuKiDrdu4y7zf14aWkuX8s3NYtUaQNlPnovVYCZ HkjKXv1esCBpmzFalTXdHIgc6X0Bhf2iAFd+1ZTmy+6V8i3NeflJW4+SDR4nPFY3xhkCiYlFVE3Ic VXaX9jXs7Im9gcLKxrTX4OQlOnLv9Dv9jn7BmpNUDxjIMJ7rEAAth1gEdVnN1ucZ9RC7tCC53QwaX EnMNZefNfXuYNh0OZBdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFF62-00FEg7-Ao; Wed, 02 Feb 2022 12:50:50 +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 1nFF5F-00FEPe-Hm for openwrt-devel@lists.openwrt.org; Wed, 02 Feb 2022 12:50:03 +0000 Received: by verein.lst.de (Postfix, from userid 2005) id DB07D68AFE; Wed, 2 Feb 2022 13:49:58 +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:51 +0100 Subject: [PATCH 5/7] lantiq: add DTS for Fritzbox 7490 To: openwrt-devel@lists.openwrt.org Cc: "Daniel Kestrel" Message-Id: <20220202124958.DB07D68AFE@verein.lst.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_045001_769940_8A98FC04 X-CRM114-Status: UNSURE ( 9.29 ) 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_fritz7490.dts | 61 +++++++++++++++++++ 1 file changed, 61 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_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>; + }; + }; +};