From patchwork Wed Feb 21 07:35:21 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: 13565035 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 D26F8C48BC3 for ; Wed, 21 Feb 2024 07:36:17 +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=HGszybDShMhaNAGR4ySRJN3naBbuC1XXSNLMe7bzTxk=; b=wemUZbmYaF14hRvz3kSBiKCCmu rQl7K8ILC6LWfLL0nGPSuQsaMmkEUGw7LkeHOsuPxJ4fF+W2Wbl8a4hMYSwfdeJvcYHKZZj938GBm j2siX9gr/tqeAx6GxjPQjUQ6OQ3Kjgf4+ZSqqtjt1/bJWIvJQekx5OQ9nUi5MpOKtNh7CeHGRjn1d g3VUia1b42VuL/GRBeRu+GGvY46/AqivusjIFAVAnXc/iIvvXB76MCYTOeOvHFVSGFteE4AlDJCJb QGmtBFN5Z+pIrcaJvaEwQXOBhpVjXZgGVapWdYH92ZgqepiTO5ruO4GYDYsSxOIvtV6zKIGGomKQ2 /GcNo5mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9N-0000000HVhR-1fuf; Wed, 21 Feb 2024 07:36:17 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9D-0000000HVae-0fkt; Wed, 21 Feb 2024 07:36:08 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2d22fa5c822so46543151fa.2; Tue, 20 Feb 2024 23:36:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708500965; x=1709105765; 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=HGszybDShMhaNAGR4ySRJN3naBbuC1XXSNLMe7bzTxk=; b=KWCh6TtAFmocIzIZFWPrOIcJnClLVCTCKRA7SgsN/vxcsQ56HG9sr4Avw43og722Fy AraU4OMpDliRrFAr6C3iEzmu9ldbIseNN45I4A4aDt3EYibaU+q7yC7ZCsdtpQ1quQVC PeKzU/55JSJui3R5Yf3ZGTO6RRF34w6G8yQazQab0jOHB+fTh0foJb2cKOJsR696RkjF fN8+/3lag2JDIC8UPhjzv9Z5LICeXPjtzjLWNMwm9rHZT9NTJ43xRcqezxyOmvfa82HQ Q/6t5wu4G4/meE7LLBxansSngn7yqO/10qE3JP8iAHRd0kDzPYRo66tS99+nMOJwq+zW 050A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708500965; x=1709105765; 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=HGszybDShMhaNAGR4ySRJN3naBbuC1XXSNLMe7bzTxk=; b=p+925qgVtWjERVwOFSiARHdZ1YLOywCP8/AbYze9Z7YZ96TAm5egjhcMvXr/51KvFi J7YU+tMbYBDwzX/jpc6QqH1M80hXrjcpd8XszHaH3jjstEA7SqX0A9OgOVa0qoOw5um9 XDcrEwnH3Vyzrl8UNzcVt62tTgxCsBlSUNXfJr7KoBmOiBd6n5R8K2KVvIKbWPSmqItW Oj4oXxK/xWeIOJqqHd4fAnMr3fJspqocZ328tluoLSoo0SrDg6U1nwbYas/QlPb2CeBz Mnk1C+qsBI9RJG91vK0vLwpp7YlJrbbMKvnfvSWPNK4ZrjY2FDFgzZJkausfG/qJWOhy 8pUw== X-Forwarded-Encrypted: i=1; AJvYcCVC7nDRrjI9WQsRmkCsOJ/ur8QrHtSYqtjpxP41/V0qfs2tdR9WtdPpfHnaFdNDuqht1cEiFyVIUjfIhKr5tAqJQczENkcbb+wh10IGQH/JO6OYqBeunBapLE78lgDI3XuFZV8J1f+roBbMH/rnm//lWTD2aH95hJc= X-Gm-Message-State: AOJu0YxjIid/dWN+K3WRsnpW+QEyPtxfMYLcvaa/DL7qblOslvu2lWZD wR2da2av/5SBtK4rJFWGSX8+2ZObWeVso7/kixcVs+LHQ4HXx22+ X-Google-Smtp-Source: AGHT+IEpDpUFtOBVRxAziPmxL4BsaHXTCxebYbK1exwOUJPejgWUwRRCbEDLbdQydsLRZ1dJd1tQCQ== X-Received: by 2002:a05:651c:1a24:b0:2d2:396d:66f1 with SMTP id by36-20020a05651c1a2400b002d2396d66f1mr8456718ljb.47.1708500965056; Tue, 20 Feb 2024 23:36:05 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id z3-20020a2e7e03000000b002d0f99a7fc4sm1722330ljc.79.2024.02.20.23.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:36:04 -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 1/4] dt-bindings: vendor-prefixes: add Cudy Date: Wed, 21 Feb 2024 08:35:21 +0100 Message-Id: <20240221073524.20947-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240221073524.20947-1-zajec5@gmail.com> References: <20240221073524.20947-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_233607_224080_3A062135 X-CRM114-Status: GOOD ( 10.79 ) 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 --- 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 2dbcdc5f5d7d..cb4dd176bf41 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -332,6 +332,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 Wed Feb 21 07:35:22 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: 13565036 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 75C55C48BF6 for ; Wed, 21 Feb 2024 07:36:26 +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=2s5S7Rjd01NbU6qXT0lu7h6Sx5qHS9b3jLYRU5TvpOw=; b=0qxX2vC7kOoY0PtUWO8SZcwtT/ eu0SLImvUCssE9mIUoplcbjL4wsDiYLco3WCfX4y2crbPu5S959fxckpIIDIvS5Ye+thJxpro1nE/ L7rDt2QKKCdnap+OHuq1MorqpfVr+s1DHR0zzz0frS3tkXPqVTIVAXfzIGwmi/jN41l+/K6ebnnqM UUBWpB6reTkDeh9RcTmz1VXifGdPbPEzwn56QPZI7s9zo5PZbTmSdGjv8MbaToHpaMzyMZ8gvXKX4 Taoy01fsCUExWmTit4uyiYhT/ku9rsXcjWaUNJjkMupBIJ0qK8l/Uj1P6TVYJna1CXcS7WqxNu+r/ QYK+MD5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9W-0000000HVmr-09IQ; Wed, 21 Feb 2024 07:36:26 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9E-0000000HVbd-3XN6; Wed, 21 Feb 2024 07:36:10 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2d22b8801b9so4090841fa.0; Tue, 20 Feb 2024 23:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708500967; x=1709105767; 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=2s5S7Rjd01NbU6qXT0lu7h6Sx5qHS9b3jLYRU5TvpOw=; b=VtrhlJyy3ndiIpZay+3ltZFqYmXVDxTsvGtl8oVTP7IC1gSZ4R8SnNsOlOEZavLKf2 ONG3Y45GoQTQYl3JnDG9ut2ZXIAEO1OBrKCy0NlF3S67Xm0pWsp7iJPsz2rxkEbjoUwi 06bP4mi4H+OODMUVTtfKuSRPC8njFZQaYkq5ge6ubiK3TG0zXNabNlP9sTQIAL60cfxQ pvk2+ZsVMF4lPLXrgxkgxnrIBkK4Ib1GKLT5kezvlo2WCs+7juY7JbWlMLCmPTk63fsQ IuNpn/c1SsZg1N3CqFevXC+Buikk2VQbtT42/Mafbc5NW5Jtbl0GELHVztpQ98oFNtTl O67A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708500967; x=1709105767; 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=2s5S7Rjd01NbU6qXT0lu7h6Sx5qHS9b3jLYRU5TvpOw=; b=a7cJe/yNKYPSFeFECrLxNW0cPdcRbgd1nx3Hpo2Xug8FEDsvwOdBgx+rxsi25A3dcz oFhf1P0552qmMOiXxkN0ku/LW+QXPfT3Tf8RZczMPXLzWAoQTCsqubcyhHZptuPhOHet 7+stibGvqDTGUamrdThO6f46aKge4N+p0h58Deof3/ffOBMj+YEhp9OxmEmVwHLcOkit K2WE/pR8uI04gVKecl0tbzxUj/V/QnT6RKaRdoFIHjC430HmAlolaT3hTKLnxGuF0lcg UG60MgBV88C9znKqEsnIsDXvoKM1zTj3IQbutsb5etIAEqzZvO7sKotLYLjia+sZdkNb JBTQ== X-Forwarded-Encrypted: i=1; AJvYcCXr8w5rsl2VA5shuFn59X2d3TdhcNCxb0ZQvvUEpzNjjA/KjBaEVU19wP44ll3nd3opxOWv/hrJorO+O25i8LekT3/xxxS3W13c47j2NfzHp/IeZJCwuI9jehJUHr93LAxGiSWm6zWrRnYy6VRVxQY+So2mDMoGdMQ= X-Gm-Message-State: AOJu0YwtOCEtBs2e+oQ8j6KE9bdEkljW/d34XdET+U7P95+Wtr+R6GLB zDKxOGU42wDKLnWRgzA5RYCOKdUOoSrLPHPcaJzLUmOS+wzke0Jp X-Google-Smtp-Source: AGHT+IHf9ihh+ukC4DGvCnT6oFM/5FyFNb3aV2Gky6aCyQwGpqA8iWryapoTZDRWQfq2B9XpuPeQLQ== X-Received: by 2002:a05:651c:210d:b0:2d2:4c08:a865 with SMTP id a13-20020a05651c210d00b002d24c08a865mr2914185ljq.50.1708500966802; Tue, 20 Feb 2024 23:36:06 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id z3-20020a2e7e03000000b002d0f99a7fc4sm1722330ljc.79.2024.02.20.23.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:36:06 -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 2/4] dt-bindings: arm64: dts: mediatek: Add Cudy WR3000 V1 router Date: Wed, 21 Feb 2024 08:35:22 +0100 Message-Id: <20240221073524.20947-3-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240221073524.20947-1-zajec5@gmail.com> References: <20240221073524.20947-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_233608_982211_DB387D54 X-CRM114-Status: GOOD ( 10.93 ) 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 Wed Feb 21 07:35:23 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: 13565037 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 08315C48BF6 for ; Wed, 21 Feb 2024 07:36:35 +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=5K+LPUTpDWl7CTSQ7wwWQlCqZnBOjCKam3sPzq3LFCk=; b=hSriplBmqZLz4QrlRmr2algOvm JfjRJZl+LyGRdRat0QNQDgGJ4W0E8PEI4ptzQCsJ2Or7OcbXZm1bwEXw6vSwuAOJCnax2hVcLCjOx 50z1w96oHMySdwRx050UNzCDgBa0b9hZiMx2r72RCe+KDxlbOy2aeHihtOB0JG788vQ1Bf2lv8IFb 38yd4AQp1N3TK4a+Ar3aRdILRKcDI39LXLTByOU7fGD3QUYXkw8kywAlQMPgbdDO1LNYvIkiRxjdr NlY0t+6veejbkgKOXD7bPCyaAkFFCzmjfxk5cBrX+adNaPQYcpErCtaGbkuE3evRUwnWVcsdYVcZP Rrpc3eTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9e-0000000HVt0-2lYN; Wed, 21 Feb 2024 07:36:34 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9G-0000000HVd5-3mBK; Wed, 21 Feb 2024 07:36:12 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2d2305589a2so3456351fa.1; Tue, 20 Feb 2024 23:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708500969; x=1709105769; 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=5K+LPUTpDWl7CTSQ7wwWQlCqZnBOjCKam3sPzq3LFCk=; b=lOZbmmRYfjSpkTCqBp6qP7Hep4ocFWYGQF6Xgy17Qym/fcHUR8U8N1frXm/4Vnns3H tSoyNIGbFOYytPrQ+6ZAZIj/D8ka+4N/k/W+dVvJeqtV1+i9Y1LARWzqZzheGF0UvwZs Irf1+8UoMoHDyyPQNK4njV5TQPT+58h44pMUNaOWovDmoJhIEOJpkPeZsvLw8EFGmwRy fKYQFtj3fsMDavBJhu8sfuWqc6xuNALE7BLRwjcMyEtS8y8mFPXLXOyuLw1gex+mcyQR maKLRXWDS48t2p9dfNkKkd3ObZ7aXR6pAyEgNg6jsoeF0f2twhO3z92ETye5mYuJkzbm Z8Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708500969; x=1709105769; 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=5K+LPUTpDWl7CTSQ7wwWQlCqZnBOjCKam3sPzq3LFCk=; b=a6xFS+5uk8WPEfCoxOfu0CzDARyTbGDQpGRcntf4vdrsOzK1XlyQ0LJP2yU5wqbpGI x8GqTgBQp7VmdbClGqeeV35L6P5LYJ5lGPxANcDoqHWXvXnavRfLbjd7Y2hMHFYjJ2xX Mn6H/qFfusdZz7XMvccOtU0PNRlZy2zAeODIWnkzp4UI4pkRNe8EC03gscLAnb+fewoJ GHv8eQWZmYV0EvSaJJCf6HrfwcSvdeg2soTNAhUNm1L5CAB6utnSqPgfL/SxzccupRYv fb3ljmGVMb5dRcwvFflXD3xoaQLEXreZ+z6vPwZTu5o2NO14NdUkqUUVArCgFt44EoIN qD8A== X-Forwarded-Encrypted: i=1; AJvYcCUzp4zoxFLF0h6uC8+KwW4wU9Jt4EAASEyvC0uPxMc3P7KBoLaBHl11hdecyOpzS57XB5DFfRamS8gbefKXeyDnmBRDKj5wHvPaW+Gi1Yhn+ZSxZeoXTfe3PO4EUFc5V1+2988dm4/eSUM3Ul6gdeoPhBhR6V9G+Rk= X-Gm-Message-State: AOJu0YyOEL90LEAR8D3Jawg5u0ZfuQy+f42moUHBobqGVMFpTDG457rf n5rL8XGslJG95b+tQFeB8KaVqnKpTuIjl1a1p5N0pWjGO1yYXqQ0 X-Google-Smtp-Source: AGHT+IFCRIUB71wvbXRhTRzpy+rQD1aWwOBIh3hXm5/xx0yOSjW8vja0s/q45MUSdS0SGtkyDZ9S2A== X-Received: by 2002:a2e:854d:0:b0:2d2:3a2d:d2fa with SMTP id u13-20020a2e854d000000b002d23a2dd2famr4765275ljj.28.1708500968737; Tue, 20 Feb 2024 23:36:08 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id z3-20020a2e7e03000000b002d0f99a7fc4sm1722330ljc.79.2024.02.20.23.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:36:08 -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 3/4] arm64: dts: mediatek: mt7981: add pinctrl Date: Wed, 21 Feb 2024 08:35:23 +0100 Message-Id: <20240221073524.20947-4-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240221073524.20947-1-zajec5@gmail.com> References: <20240221073524.20947-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_233611_030728_006A9951 X-CRM114-Status: GOOD ( 12.16 ) 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 --- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi index 4feff3d1c5f4..fdd5c22cfc9c 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -86,6 +86,43 @@ 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>; + + mdio-pins { + mux { + function = "eth"; + groups = "smi_mdc_mdio"; + }; + }; + + spi0-pins { + mux { + function = "spi"; + groups = "spi0", "spi0_wp_hold"; + }; + }; + + }; + clock-controller@15000000 { compatible = "mediatek,mt7981-ethsys", "syscon"; reg = <0 0x15000000 0 0x1000>; From patchwork Wed Feb 21 07:35:24 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: 13565038 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 6D9B4C48BF6 for ; Wed, 21 Feb 2024 07:36:46 +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=NbLgMoZR4t08q5k+O843alwk/f3OePOmG2WLruO1CqU=; b=wm6dZACxr9quSV1DFr+BM2hHjt xcRBEkpbXqHn5uWPVmnAst25PiG9FaWVPMeTeCVDcFfkde+Ljwy7zSxYl9mDZ3O10LUWST9QtQUI8 MhG/9sl5R9QwFVcucO2zwHNRXYvCL/6P2NRMYfjUNQcvGC8nb8tPHgL9jiIN5XC7Zvqxg8ETMBHWE jqzEKBUYRd5/ORs/VWrjUFRLWAGrtgYBr8Mke/WnVnGdZusxtnX6I/mTQZeJVYM/I8DhIEQLtrlOW mzdN8rGBrMsgUnR1wu0dR5s/msFvfuE0GtQheAfwTffe3zgRG7QphJt5d3oiOUNqoQSW6On93iZHj EDgmVwkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9p-0000000HW1j-4Aa4; Wed, 21 Feb 2024 07:36:46 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rch9H-0000000HVeC-42rC; Wed, 21 Feb 2024 07:36:13 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2d228a132acso54348091fa.0; Tue, 20 Feb 2024 23:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708500970; x=1709105770; 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=NbLgMoZR4t08q5k+O843alwk/f3OePOmG2WLruO1CqU=; b=j4mDRYRQWAUH6W+hKt8K1dr8QNluvAV8lSS5dfvKp9Atj0m86SqfAhZi6kMIQ+dG0t 7nDAPVYUKX1jsy9ndNR4dtEVbCu3lQ0uYKV/3JEISfJSWezAOjA4PNDPkrBt+xKqUN5a nba6FaY35dVc3SAMz8Hy+caYqYBXYn2SYpDsYgtxPscLzQywBVte29NaT4MAhMEtcoUS l4JMUmxL2YtSQQGsbXDhPwgMB+V25rlPKhvc9kJLO/opEAU9RYcpfGDkQV/LNpNKVsWc hkgVQXUSlxlpXKB6VKUjd/QweFKlKndZd+yWh6vEZVRk5mq24n42J9RyTdYz5jkTLS46 luUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708500970; x=1709105770; 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=NbLgMoZR4t08q5k+O843alwk/f3OePOmG2WLruO1CqU=; b=b2U5SBc5F/sy7pRHgrtPJqL/1FCyEduNbLht3lWoIL6+kgdNjzTx/qUzR4MtZEkTTQ 2IP3Aum2oEdRgw9aa+EhBV2+0Bxbs3KFOVRVXAmRYq486/H2dy5oijeDlHs5hBpEoCl4 zT5/mPI8XoAsnDgHGhYbcRRQcA48VM9vhl6cxn2SNtqVSx6ZDkAn59NUlf7QJ+1vPWvy h7fpFPJUKHMiZaX4bqqeqgE6wMDD2/eaNfRfdGnmr8sN7KXR0E9M0dB24jdR8JpeOUpn glhURmLqksp0hrI3bPBcPMVVgPzy0qBZ7w/QAK8EUmCfk7kwKarTCG5D8SGHNfCiZBiV yJ1Q== X-Forwarded-Encrypted: i=1; AJvYcCWva0ht1tI0epdKlyiu3SS9hsCbl6s+RFoqLkorQbUKKixpupcgqGsOS7UZMPmFVr8zmDawa0pcQQe7HKg5c60XU+9UHKQXRBdECdOGc6ch8ay6JfWaUggvAWRJi4xeSRLpF6vx9qEIJx7MUSgpiD0QSAxo92zRRQY= X-Gm-Message-State: AOJu0Yx+WrkBR4d76/b7NQQ3g9PHItbZ7UmvAANElJEWgRXuR8E/4Hbs M58tgeL2FnfXYnqVh+wJyC2l1+Fb38vxwCB20nIIJEpzVOtD3n+j X-Google-Smtp-Source: AGHT+IGbhTXvfJwY454gP9jL76eAJGY29TsXCEdiPrgqL7hjr4TGYQ2YlFcD/47YCPPm1w0ctPzyyA== X-Received: by 2002:a2e:c49:0:b0:2d2:40cb:8182 with SMTP id o9-20020a2e0c49000000b002d240cb8182mr3976818ljd.49.1708500970465; Tue, 20 Feb 2024 23:36:10 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id z3-20020a2e7e03000000b002d0f99a7fc4sm1722330ljc.79.2024.02.20.23.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:36:10 -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 4/4] arm64: dts: mediatek: Add Cudy WR3000 V1 Date: Wed, 21 Feb 2024 08:35:24 +0100 Message-Id: <20240221073524.20947-5-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240221073524.20947-1-zajec5@gmail.com> References: <20240221073524.20947-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_233612_037979_F951E1D7 X-CRM114-Status: GOOD ( 15.38 ) 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. Signed-off-by: Rafał Miłecki --- 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..cb36a089518a --- /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 { + function = LED_FUNCTION_WAN; + color = ; + gpios = <&pio 5 GPIO_ACTIVE_LOW>; + }; + + led-1 { + function = LED_FUNCTION_WLAN_2GHZ; + color = ; + gpios = <&pio 6 GPIO_ACTIVE_LOW>; + }; + + led-2 { + function = LED_FUNCTION_WLAN_5GHZ; + color = ; + gpios = <&pio 7 GPIO_ACTIVE_LOW>; + }; + + led-3 { + function = LED_FUNCTION_LAN; + color = ; + gpios = <&pio 9 GPIO_ACTIVE_LOW>; + }; + + led-4 { + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&pio 10 GPIO_ACTIVE_LOW>; + }; + + led-5 { + function = "online"; + color = ; + gpios = <&pio 11 GPIO_ACTIVE_LOW>; + }; + }; +};