From patchwork Fri Feb 23 10:17:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13568835 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 ED75FC5478C for ; Fri, 23 Feb 2024 10:18:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=85mVdfmieSyePN9kKLLWp/rml6afpBa0DNNt1hnWsOg=; b=juL35CV6Bg8/PIgvg2lj3iJUB8 M1G8/H93qLj8qDHw+1i19FxR02rD8bFQ/JBHJGx+zwdwum11+Lw0gemJTY0a2+FrnZCiv85Dzpgu9 uSssWyivJ+Y1SDq/ROOqsWIKau63c+Ktbf4hzgiV70Y/XZVB7Qrtq8OExQL9CemVcUWF+3scUuC5h uAgt2ukyFqqfUsTOu+yFu/YCjXP8BjG9L//vex4JGYnO1yAqMZa2qxzLFKP2NFVUxbaI+tJ4r4Oit mdpebFENRdUtSuKfvRS7fm2MHMpT9V/iiwPikaemTND0/tiajfenJcqPj5fkOYzWrwlc0vaW92XnQ BRVfnLHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSdG-00000008rwI-1Izo; Fri, 23 Feb 2024 10:18:18 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdScM-00000008rZL-36of; Fri, 23 Feb 2024 10:17:32 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5655c7dd3b1so367987a12.0; Fri, 23 Feb 2024 02:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708683437; x=1709288237; darn=lists.infradead.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; bh=85mVdfmieSyePN9kKLLWp/rml6afpBa0DNNt1hnWsOg=; b=Q2MFQLfW4gFZVbeEcaTgO4H4dkYbwSNmDeCgzt6UwH3DfD2y20hJcLuJX3y70zBnbZ RNLXtjY8F6g6xR/RAjDN2QIsyE6Mz96CoZhGaecrC0twJc24PzAF84/m81jjZHg9xPuC dYo9npCPcLu2LgqjB05Y6PHy2YDluXzzCQNmouQnYV5xcSWDR2S05PLNwIb5weyq+RLL EkNkWYrcwQoxyd131eNJ3sYXgMlcG8L543sL+f5DlFqag4AjogIuP8Yi8x+49BLL35q/ BEXB53+ZH+s3UaluABgmMoKKsRuU4O3lKi0lZYN4RgshzKvSIgxgeUd//HcnVBscf1Rd 6oBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708683437; x=1709288237; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=85mVdfmieSyePN9kKLLWp/rml6afpBa0DNNt1hnWsOg=; b=tSK6A3/eiIqhf5TQ0naWdx8mBsfLvhtdV5qoR/QoOT5gAPLvpNe4gnYq8yLaiUcG9Q GbeQ7Kv3llQpWZkHR7JLchwjXo3F3M2W/w1lsmsNHEPLaJaPZdgdISWsAEHqsMw6QhFF StuD922fl72HGkAT7VlWcyR1uL0d3V2x5c9jcajMTPoejE/ffIuAvuG9zoXuqA/9cRQz Y6JnJfG1LsKdWDpScViNErqMSaaONDcidI4LcSvasMSVdwRr7+u8awFeRjQrYW3GUCj4 NEA2EfWvXJNQWB80UNNxCnUX1L06gH7drDG1jU1mAtosApIUjRvaE2xr++FsMUn+28x5 g/0A== X-Forwarded-Encrypted: i=1; AJvYcCUN+Z1PRRzvpvfEWPCraIH2TEl5FFr2AZTAG3uV0r1ldwpxCERJmQjp3I4iZHrhReh+9x6O+I3MqMYhTpSF+yuQx/t8tHumvn3tjr4NFbDGo/r3YvU+heTzyV0073xwdUBg2Cns+lgmZuNjad1P4O5YZs9gYEZkAMg= X-Gm-Message-State: AOJu0YyqiI/s20yaJyafrj7NfNUBboZeYe1L7RvFv71sc5KA2zyoOPGs ++kGQu44ZmOdvX/5dFlZKlh15erTSlEZVv8TAzA8ywsmFv41QGPkBMyR1CbV X-Google-Smtp-Source: AGHT+IGPRSEDB/NYZrCr0iipCPdM8Mj0L6+q/X1kjeEbb5aISJQ4+uGlmTeluLm0fPU3TnORdwZqGg== X-Received: by 2002:a17:906:3b12:b0:a3e:53d9:c7d5 with SMTP id g18-20020a1709063b1200b00a3e53d9c7d5mr1075726ejf.36.1708683436768; Fri, 23 Feb 2024 02:17:16 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ti7-20020a170907c20700b00a3d99dc3f3asm6667250ejc.67.2024.02.23.02.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:17:16 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , Hsin-Yi Wang , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Krzysztof Kozlowski Subject: [PATCH V2 1/4] dt-bindings: vendor-prefixes: add Cudy Date: Fri, 23 Feb 2024 11:17:06 +0100 Message-Id: <20240223101709.30072-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240223101709.30072-1-zajec5@gmail.com> References: <20240223101709.30072-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_021723_052639_1A02ED5C X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Cudy is a Chinese company providing networking products. Signed-off-by: Rafał Miłecki Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 20ed04148092..57f91c83152e 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -334,6 +334,8 @@ patternProperties: description: Czech Technical University in Prague "^cubietech,.*": description: Cubietech, Ltd. + "^cudy,.*": + description: Shenzhen Cudy Technology Co., Ltd. "^cui,.*": description: CUI Devices "^cypress,.*": From patchwork Fri Feb 23 10:17:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13568833 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A517DC54E49 for ; Fri, 23 Feb 2024 10:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DcJb7bj0vF5Nl8yAX54/kA3qijtSrrqL2OLIzgs28DQ=; b=pZxqWCQtfD2RzWEVxctsPSQkfW ojZCAqb0B3arENqFfN0hGL5C3rExcBDHcbd+WROjW8ncHXvXMh33zc4nkJJCgsds50Of9AvV1ollJ zwzu/6dlo+rFvtKx2AUxqlm4Qs5015G6lderuJ/KAvr+fXS309i4DYRum+ScZZQTikBm4TnQeKJ2X NYTilwVPfGxndYNEUm6MZBCMouV7pmhAOEy+pnwWXb9oIpxqROLGqfWjNrK/IJfGwtFoz4KjDzNz0 o532wFiWDK0OWGf1Faj4phDvVySemRkVIoHCkwJhanwaDt5WoKs4QWPxAmfrrQ74QAU0kPEZITfmJ E6YJB59w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSdA-00000008rqH-3Q4m; Fri, 23 Feb 2024 10:18:12 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdScM-00000008rZV-37Fx; Fri, 23 Feb 2024 10:17:32 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a2a17f3217aso25378966b.2; Fri, 23 Feb 2024 02:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708683440; x=1709288240; darn=lists.infradead.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; bh=DcJb7bj0vF5Nl8yAX54/kA3qijtSrrqL2OLIzgs28DQ=; b=aJ7rCawlgOo7w0vQeWlUFOhmwoPCeVZSPU6sxSkU7N15QilhTCq5cpSB9fLKnOFGLG J4g4cEWc6W6c9uFwrn1d2wvMm59XuspSDDZYPSaZfa96+3x4qx/pHHqJ4gzQlSVYM97a sTM5EFPAgxef0NinOg2jFaUkkSCN+49QrNZ8ecP5gTjPf/p0P6mynKM2Yd+CD8zm/zlT ppVWYyPBQStngGCGzYU9MieZ3QEwHwRO1sk3CXtvdKrHIQUvT1Pk0zdgNd9cbeqwaDG1 rbOTFSf+JvxMRGrjvnmMCvoY0Qtbc9iYPyzw69gXUCmP106BI1TObpYA3pnXh/IIeGiI AvEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708683440; x=1709288240; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DcJb7bj0vF5Nl8yAX54/kA3qijtSrrqL2OLIzgs28DQ=; b=wm+rB0pnqZ5Yu9b+xvLL5CZeLuujy9uzmag44sC0q4MC29JaCPnlBkBPSkCI7xJajF U9FlXhV13q//WGAfG2QKal2K9TtvlPmNccOCHlEGincztz7qBVinYM45sMpePPFyf3Ic gFDeJSlT8ggwbyphseFWVKFiU3Q06G4RXu6vxlc0Mq/GIZXNUk5/HowIznti67EijeNW rr2eTJ42LDZKlPsbgzBOAINUJ2dUfdYqW6ddSj/+Jcup79j0Rz0+7XRfnTq43Am04ByB qRnrzVQvZo3ydibApFw98B80d50jnkI1vwc/nGEjJif0pInTwdfSowJtyQY59Rd0eQcW Nxng== X-Forwarded-Encrypted: i=1; AJvYcCXNGMi35SGRZUV3otbcbHlaADI/RM+mGrlol6FUMCFsYNg7JR4o5cRW6IRFoCWPMxk5joRv5zWkDlofCXw0iZfRFvbAa2PEXSs3EeU/fG+XUctqp43KEM+wNZNxs8R1jmX/g9E574fm2F4vaRn5cFLotXCZk6fPAsw= X-Gm-Message-State: AOJu0YzZhwtwsA4gEFbtfXblACmYvMioNiyLAVqj8Y+B9TC9TLEPkKFg bzQtyS4WoQrqM6etnaJO/DVpclNkG6p+PfD3Cl8J2sG7aIbbF+LI X-Google-Smtp-Source: AGHT+IHvc1n+NKsk0Q17ghSiWK9ZF9+++tMXf6cANj0kAxJYepzSwkzporeZs5WUL6Npv0oRXc/ejg== X-Received: by 2002:a17:906:b2d7:b0:a40:bff7:6e74 with SMTP id cf23-20020a170906b2d700b00a40bff76e74mr261771ejb.2.1708683439798; Fri, 23 Feb 2024 02:17:19 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ti7-20020a170907c20700b00a3d99dc3f3asm6667250ejc.67.2024.02.23.02.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:17:19 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , Hsin-Yi Wang , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Krzysztof Kozlowski Subject: [PATCH V2 2/4] dt-bindings: arm64: dts: mediatek: Add Cudy WR3000 V1 router Date: Fri, 23 Feb 2024 11:17:07 +0100 Message-Id: <20240223101709.30072-3-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240223101709.30072-1-zajec5@gmail.com> References: <20240223101709.30072-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_021723_033803_1BF53325 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Cudy WR3000 V1 is an MT7981B (AKA Filogic 820) based wireless router. Signed-off-by: Rafał Miłecki Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/arm/mediatek.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 09f9ffd3ff7b..1cf47db94c57 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -85,6 +85,7 @@ properties: - const: mediatek,mt7629 - items: - enum: + - cudy,wr3000-v1 - xiaomi,ax3000t - const: mediatek,mt7981b - items: From patchwork Fri Feb 23 10:17:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13568836 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0FEB3C54E4A for ; Fri, 23 Feb 2024 10:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y/O3ksA4hTWY+K92YS4jtl+yo4GjNFqWPajb0hU9Fy0=; b=fz8zRtM38+76XYTBA20z/lGeCR x8TbaE+VRxKwOytGNaX+4ly+x1jTJKhQQStAyNFMulP+T5HRnexnc4eogzviwcDoPrUzeUaCk1Cay UmfslPCDuZehbBl5XEHp0Kn/iAsd/blZDTtiA9BZtSnWY+Ctl+vPp9RV33iQjreAe7PflC4H2hKgA Tz6WFo846zEGY9RDNgxGqKAXficP8xUgL6OFec8SQM+QUpODXuIwcLyPsbuFJV8H9JNufQEcJLKCJ cb2bsjpI4luM6zhNbnLPWA88CEXQ+XYILniSY4zZjGqucKOcTZWIqxpIbdkuZKHYg/aPD2HF3MrlM wwI4pW7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSdH-00000008rx1-0kJI; Fri, 23 Feb 2024 10:18:19 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdScO-00000008raJ-1yGO; Fri, 23 Feb 2024 10:17:33 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a3e5d82ad86so87685466b.2; Fri, 23 Feb 2024 02:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708683442; x=1709288242; darn=lists.infradead.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; bh=y/O3ksA4hTWY+K92YS4jtl+yo4GjNFqWPajb0hU9Fy0=; b=l8ovIqwQmMV1bflaowB54xU3SNvFZExIJxZg8xjqE+uvJfH8jYkhJe1X0MdC9y+ve7 JFbVW85/LC8GwHiqgcUkPWHY4++PhIwmruxzmec6Rxdyc6S5S8ScXQ604tqlF7+BWMJ9 mhTsNL1DXzO9MICwPjCTJSI+NIIlq4e3xlW0Cj4Jcjv5kDmroJvKXs4dy5meX3Nipum+ PRW/7I7yDhkCcfel8cOQSeFsyyuno9OFbDpvhcfTDoBGtsZ9F3kIJnJpyfeCweZgK7Ew 9foLNd4mdzIVPJbq6pXOjCkUqFDfPwU72PXXJX0wxU8iLmSj3XjVW+lcI7iPqpEgxABK /rVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708683442; x=1709288242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y/O3ksA4hTWY+K92YS4jtl+yo4GjNFqWPajb0hU9Fy0=; b=t5HVhODxw98yeKGsyDKA+4Oq8NI0WF90z9pjtgccYiegLs4+pNEjbjDDSQPF62KtX1 Mirk/u2dQ9kclhdhjRcug+9wXLlNar35UhdJT5rDvufeCW3fIIYq1OjVW3jvvdfyaRnb R6v9Kms3BU5+RzXZA5K6qyjVgUQHml59htqIhYR3FnFPouPObF1S6zPosix9F/j+Y4fb EpIS1W1RtLZT9SNx014x4PYG8SjJndjUHPzVmx+ABzZ3iteOIJZVV3PfUWZMNBhEXpES qMEAUk5KD5q3U01slGqFhDVcVLVlTfrTOrFUMtenfuSazBNfOOcxsDphh/RKxt9TDleA IdFg== X-Forwarded-Encrypted: i=1; AJvYcCXk2aKe9iLuVwLDJGxcGXW9guREVues+Jnnct5hYS6h5/WNEwGAkingIKz5zlifsPZJYn0VIP049plg9Az8HFQ6Thxd1gcFrUzqyTK/UOolVtaEPmQZ6Qw93vzWw4MMGNJE2mpS2CuMAq4BU1xjx6lsq+PTb8oKQY4= X-Gm-Message-State: AOJu0Ywf4aFeUTCVRnW6TadN/1h9982L/m/hm4rfSX+NsocuQAVN8/4g Sjhwkk6dU7rxIwotmpOuYxcKZxTWh8qajHke+D9CPmGRZToKP/TB X-Google-Smtp-Source: AGHT+IG5VUmyyKRrQhInbKERyLXwLXU4+G+23MuclTDO4DirdFc5S4LWW/fcfGxF1T3ne/aCDoNwpg== X-Received: by 2002:a17:906:2297:b0:a3f:8968:78dd with SMTP id p23-20020a170906229700b00a3f896878ddmr925100eja.55.1708683442666; Fri, 23 Feb 2024 02:17:22 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ti7-20020a170907c20700b00a3d99dc3f3asm6667250ejc.67.2024.02.23.02.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:17:22 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , Hsin-Yi Wang , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH V2 3/4] arm64: dts: mediatek: mt7981: add pinctrl Date: Fri, 23 Feb 2024 11:17:08 +0100 Message-Id: <20240223101709.30072-4-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240223101709.30072-1-zajec5@gmail.com> References: <20240223101709.30072-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_021731_545187_34426843 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki MT7981 contains on-SoC PIN controller that is also a GPIO provider. Signed-off-by: Rafał Miłecki Reviewed-by: AngeloGioacchino Del Regno --- V2: Drop board specific code arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi index a187a34d12ee..5674ac81d1f8 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -94,6 +94,28 @@ pwm@10048000 { #pwm-cells = <2>; }; + pio: pinctrl@11d00000 { + compatible = "mediatek,mt7981-pinctrl"; + reg = <0 0x11d00000 0 0x1000>, + <0 0x11c00000 0 0x1000>, + <0 0x11c10000 0 0x1000>, + <0 0x11d20000 0 0x1000>, + <0 0x11e00000 0 0x1000>, + <0 0x11e20000 0 0x1000>, + <0 0x11f00000 0 0x1000>, + <0 0x11f10000 0 0x1000>, + <0 0x1000b000 0 0x1000>; + reg-names = "gpio", "iocfg_rt", "iocfg_rm", "iocfg_rb", "iocfg_lb", + "iocfg_bl", "iocfg_tm", "iocfg_tl", "eint"; + interrupt-controller; + interrupts = ; + interrupt-parent = <&gic>; + gpio-ranges = <&pio 0 0 56>; + gpio-controller; + #gpio-cells = <2>; + #interrupt-cells = <2>; + }; + clock-controller@15000000 { compatible = "mediatek,mt7981-ethsys", "syscon"; reg = <0 0x15000000 0 0x1000>; From patchwork Fri Feb 23 10:17:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13568834 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B193BC5478C for ; Fri, 23 Feb 2024 10:18:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SDnyKS3QNE5QbkDew8ZYn7NVYP9CWlivkQitTepgpqI=; b=S/4FGFWGJ6nU2MGj3muDoIKQPB E1MqT8I1mzv2iO+byC1MqRKyLlJNzy8kIzuYVWwe6xoHH/ANi65AAH1ja6ZDwVFfUvB2/PPayzx3v pMlXajrD1eBZ49+ONAAGOwIioxr+odobBdb+QDOnYeQQQm4KRCZvjAgSlYB5jzoZ0WlDfqo2HDr6R rkhAY/CLBSb3IIlh0tYjdsEUeA+6X9qTEHBxy5aeD+XaGgyY/HhalXocM7fZgVFT+qd/tFg40SNLj Ajo4m98w8GYfT3BnkmNymw9mppZjJ1hfEGZ5o/XCXkH2FdzE1kcFklgQl/h2RgLwv0LDHYhRoubKm pJ8c+Arg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSdB-00000008rrN-3w3x; Fri, 23 Feb 2024 10:18:13 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdScV-00000008raU-1Rpv; Fri, 23 Feb 2024 10:17:33 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a3e891b5e4eso74029266b.0; Fri, 23 Feb 2024 02:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708683445; x=1709288245; darn=lists.infradead.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; bh=SDnyKS3QNE5QbkDew8ZYn7NVYP9CWlivkQitTepgpqI=; b=LF+22XXOgHuW20nb1L6VKkf801IePq6jVylPb1J5bGwBp5yRgbwcoK5K0jYuOmMS6K ZfXEmod4quby7ptukzzyF0OVfpIEmqrSCazbJcVNk84p+P+jxs6F6KaCoGSiz6TlajgM MC+A/9YSz3vH1esf+zayaR9rrzdjSAkP/5o9Qn+7az568fMrp9w8CyR1oc9HqyYPY80R WBIkMtOuhxB4eHwIIMgiLcmHbxNPZ+PxaXywfC0VTrxWT+dLQM08LB6HwbQOssd/yjSn QPgiET+bSXqNQbkUVfl3Wlo0UxB7qsySTziBRF2IE5WkvGM+5sqJnPn1w8VcvvD3gdPH fVwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708683445; x=1709288245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SDnyKS3QNE5QbkDew8ZYn7NVYP9CWlivkQitTepgpqI=; b=Cur/xZ0P6MPB+w59+Q30zzIc9aW0MYhpv7bLl8TtLYJLUJeYMzOHm/9ZaV2X3A8oAh wmgJpqnoV13VSAfWyejkrRIfCXZZTIEuzHjX/ymCR24V78gO5FmrjWvG21bAuX3kBtU2 k5bRKZjMgbsWJghG/YBTEN6ipnZvNzQChntqysOVCGFbeDxckEPVNUsc2yivBTFCXlmy YcSkbv3ZeSuvKkexxGYnr0IbeDyif5UukeI5vu62jQFiDNGE89mc0EDDBVLOC/2d6C59 BdrGCoi9rLga8ZQiLd0XitYa3zt6j5NSLdFHlYmgu+lni2jr+oVbvi1BiaaPp04b7vqT 56sA== X-Forwarded-Encrypted: i=1; AJvYcCWrlOGN6Ed23dRZ8GflXdsofWESNUtgryQFXgiLfP4H4457HXyl56qqq89oejXy8UujSbhrh02XuYOqzUyMVwb47CvWgj02NVoWJvcePOrz1g+jHTf37PBqsxD8ZtGB3ccOgs4r+ZK5sLEHMzx3mOt+hZ/U/zbS+SY= X-Gm-Message-State: AOJu0Yz0etuWkDym0WE1veB6A5/HAMAWgNSp0MfuAlcVumCtWr8G7rkx vBKLENb90p0xH4xhwAnTJnwFcxLh64NKosJJ86yEJdR8xp8uz7kL X-Google-Smtp-Source: AGHT+IGLzGErmk49F6mmcrzLRayF6ZuwlDFpL6n1RrViLMs4HRmJNjhxukyy2BSZR9VhdOsfsPpDqw== X-Received: by 2002:a17:906:2844:b0:a3e:792f:3955 with SMTP id s4-20020a170906284400b00a3e792f3955mr972977ejc.62.1708683445424; Fri, 23 Feb 2024 02:17:25 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ti7-20020a170907c20700b00a3d99dc3f3asm6667250ejc.67.2024.02.23.02.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:17:25 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , Hsin-Yi Wang , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH V2 4/4] arm64: dts: mediatek: Add Cudy WR3000 V1 Date: Fri, 23 Feb 2024 11:17:09 +0100 Message-Id: <20240223101709.30072-5-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240223101709.30072-1-zajec5@gmail.com> References: <20240223101709.30072-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_021731_528132_D7BD5A33 X-CRM114-Status: GOOD ( 15.69 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Cudy WR3000 V1 is an MT7981B (AKA Filogic 820) based wireless router. It has 256 MiB of RAM, some LEDs & buttons and (not described yet) 4 Ethernet ports. There is one slightly uncommon LED with a label of globe icon described in the Quick Installation Guide as having 2 meanings: 1. "Not connected to the Internet" 2. "Connected to the Internet" Vendor designed it to light up when some Internet-accessible IP can be reached. This change will be follow by an attempt to define some predefined FUNCTION for it. Signed-off-by: Rafał Miłecki --- V2: Reorder properties Describe online LED arch/arm64/boot/dts/mediatek/Makefile | 1 + .../dts/mediatek/mt7981b-cudy-wr3000-v1.dts | 74 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 37b4ca3a87c9..96da4ad640aa 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-cudy-wr3000-v1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-xiaomi-ax3000t.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-acelink-ew-7886cax.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts b/arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts new file mode 100644 index 000000000000..2a988218039c --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT + +/dts-v1/; +#include +#include +#include + +#include "mt7981b.dtsi" + +/ { + compatible = "cudy,wr3000-v1", "mediatek,mt7981b"; + model = "Cudy WR3000 V1"; + + memory@40000000 { + reg = <0 0x40000000 0 0x10000000>; + device_type = "memory"; + }; + + keys { + compatible = "gpio-keys"; + + key-wps { + label = "WPS"; + gpios = <&pio 0 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + key-reset { + label = "RESET"; + gpios = <&pio 1 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + color = ; + function = LED_FUNCTION_WAN; + gpios = <&pio 5 GPIO_ACTIVE_LOW>; + }; + + led-1 { + color = ; + function = LED_FUNCTION_WLAN_2GHZ; + gpios = <&pio 6 GPIO_ACTIVE_LOW>; + }; + + led-2 { + color = ; + function = LED_FUNCTION_WLAN_5GHZ; + gpios = <&pio 7 GPIO_ACTIVE_LOW>; + }; + + led-3 { + color = ; + function = LED_FUNCTION_LAN; + gpios = <&pio 9 GPIO_ACTIVE_LOW>; + }; + + led-4 { + color = ; + function = LED_FUNCTION_STATUS; + gpios = <&pio 10 GPIO_ACTIVE_LOW>; + }; + + led-5 { + color = ; + function = "wan-online"; + gpios = <&pio 11 GPIO_ACTIVE_LOW>; + }; + }; +};