From patchwork Sun Mar 17 22:32:03 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: 13594890 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 BBDC9C54E68 for ; Sun, 17 Mar 2024 22:32:39 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=HIMIvQX9XVAeY4CRIcdMFz3rOXv7kDOEnTH7BK1B+sM=; b=xMynEOD994s4cc VNg6bHcDYM4FDLygk6u3VdcyelWCftxmO8zKE77gwG3IZITW1ZYxr7om5j4bw1lUDT71+Nkd6gOxc uXLF7NyM0XR6N5VjUpOE8gqzJkkdO4Qh9LKDlgbJ46meJYpnRIHKc27AurHHsW4iBBnxrcRvn76AE /vkI6PHWM2VkXxONStzXcMu/H7EZTsGUNK5f1ItlxwfWWvttfBeiWEDR0lTKviTxs16LVEiDb8BmN +156C65Yd71ov9X9i2qo1vYEn0yTpUQJUpUWlKIjGSZWC4fTs2sucm9ecMjXUXSc7lOzMrz365djw 8ZYbtzpm4XUaIQJ94yiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3H-00000006eUv-0Tjx; Sun, 17 Mar 2024 22:32:23 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3D-00000006eSm-0l9i; Sun, 17 Mar 2024 22:32:20 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-513e10a4083so1383402e87.1; Sun, 17 Mar 2024 15:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710714736; x=1711319536; 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=dmdm3dIttaltfYgNn91n9oleuQB7czhKG4DCjwg6DSs=; b=jYSUJdC6NEdYRiMxPI51g17/DSOkQ4m6E6C/WNLbkOFUiyAnAVSJr9WUvIDOGPH2Vw xKe9TW5qZCjoXjY8C1O7r8f/fNlGBsDVgrdizw+7RE2AqwAOnAdpN0XKsQ3i0aWqNvWE qlpA6tl7hOB6OWGWY9nmmnrMmSfWN1JbUe++nPaPMWvACEeJWlJlJhAFbadNrVm3wHkZ cpzZ2++Wi103Ikd1gO73tyIzRZghQVuQ7THKYeHDFCAMB/VIBm8io5SBE96Ftlvn+Uyj 0WiB1H4IH+5dyL7Pcej5TR7tBGD8mEeqx2tDYt0Job5FV9n5r2I0JqjGr9D7qKHOcFE7 YUOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710714736; x=1711319536; 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=dmdm3dIttaltfYgNn91n9oleuQB7czhKG4DCjwg6DSs=; b=m7/H6Jqu5xEBc4KVX3JIIl8ULmy8GmfE0i4i2G8w5obXmlwE4zrp5k1I7BJHF6l7iC hWtmfotG7ioGTMStgKYQvITS45ilJE0SAA7N2XZ1hUdDxSyjI3GBU5QNYuvAz6+xSw4e L3pLJCCbEgnNjG1+XMfTBSI8oP5MxtA0RBTGTMQTxDcgqleDGTCbrD++Rv35WM4jFo39 stNGkHQweLdv3bSgalopviY63B++1raafT38EBo7WbyhnLLqAu/JpJNvS6zClmKBGxXq amFjAv0gA5IQ54TqeRYLgi2q79u6I0ToBpLN4Ett6gPDIFfiPrspRpsfcelWCXM+RbUh dZDA== X-Forwarded-Encrypted: i=1; AJvYcCX8GyjXyFk76JzjsmW9g8DNh+Gwiyc0gXU+NHZFT7kYwbP2cM1kLiTtUR3LLXgbEx88s473vDxtNhmNkvhO7rS0g6QYGtlQttMk6e9Xor6hEpE7ZZbL4OkRR5VOTxXruvtEXI4kgTkXX7ocsktdoHZWwZagwgosQBM= X-Gm-Message-State: AOJu0YzgeWKBI5OhO7Qc5t6uwYvqrZjo7CD2JSNfodqmW/QQZvmKm+12 kJkXyrNVcspGNKC18nqtckveyZXIWCp6l2B60e3rppeuTn90KqYM X-Google-Smtp-Source: AGHT+IFMwanalas0xcU0GCo7+jbgNY41telHFIVcpw8xKYTtxzTPzgyobaq1C/yYMMQnklPjIHsVBw== X-Received: by 2002:a19:3850:0:b0:513:bea3:7f60 with SMTP id d16-20020a193850000000b00513bea37f60mr6493783lfj.44.1710714736199; Sun, 17 Mar 2024 15:32:16 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id x5-20020ac259c5000000b0051322c11100sm1366981lfn.221.2024.03.17.15.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 15:32:15 -0700 (PDT) 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 V3 1/4] dt-bindings: vendor-prefixes: add Cudy Date: Sun, 17 Mar 2024 23:32:03 +0100 Message-Id: <20240317223206.22033-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240317223206.22033-1-zajec5@gmail.com> References: <20240317223206.22033-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_153219_245337_B87ED19A X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 b97d298b3eb6..8e0dc4a138b1 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 Sun Mar 17 22:32:04 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: 13594891 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 4351FC54E60 for ; Sun, 17 Mar 2024 22:32:41 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=CvgmRXHa/XpmdxnWeHV5vg2iH2qPWpMlLNdhH9+0EgI=; b=15GVpm4RHVkNrt RH2L6O3J0i8rliFqDOex8fWCXvVD8pOQM4KTtzqWfMiSHFNcMjjo+kv6vszilADVOqOfEioRuCzCl RCulJEanDnQAxgnVjGvpI5ZOa5pvikn+jLY0JQ7KTYEI8tnreROhR+T+OXOIZkV2SgcJZa7Z763e6 0r7orGhmJyrg0/Nb86RNFgxfBiZrrICHY1PHZApnC5t9aBv47l+yh58WAJwAMpPKKosytvYiB/5Ik gvTcGveyzYfIni/5g3wCd2PckIPXWGjgcKXWEkLwWpqtQO68Xnsk0rzKCeNED2CAtbMejmun6COLe oKjbBzw0HxAkFjbkngOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3L-00000006eXI-2uVD; Sun, 17 Mar 2024 22:32:27 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3E-00000006eT8-37NY; Sun, 17 Mar 2024 22:32:22 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-513e4dd6ca4so737094e87.0; Sun, 17 Mar 2024 15:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710714738; x=1711319538; 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=mFKPV3jlb9Slyz/YlhBCVEZm8HobIppdLuPPUEa9UlCusi+rOUGMUUZ11E6YVrghcm JsjOeJjLOT4+yYshwu/kTRCO6eF2BWU9FHy8WaUh0j2oIzh3W4KG8rtmj1OA8KfEL5sL Tb+oMh3jdqOsZZibaEgz+y6dY0XLLKBUVUHq0GPy3hbVbhsBZTI+Ew1lnh1L/Z91lMIa xtDFrvOoxCFNP+a0Gyl7W8uvO868zkrKRVrvAvN9ddim3O0j1botl3yfvmIuNGkOyMwN UR/XNURRlzhD+wjk7jpjofmtSiP404/X3Yf9MrvE7zrgpRoBLHHOzE30T60TPBKlh1ph RPeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710714738; x=1711319538; 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=CP0lPZRhz6w45U8mH0lp0NkM+0bcimdnM2w1y6LhB/VfSO6JtSvCjsV/bbR4MBQRsR NLlhKenqY9vevkD29iYJ0zraIhzyMr4yzdEJrL/TjR/K5WsB9rQPrBuvppioXnZSUThS EAsDxu/DMHuYuZAObeY+nwWTfAGkb3PZGe9klwkGHHpuvFQm9Kfy41yfJJ0ulxfyM5Q+ xeiwZOyAc8EAja8WG1Tc8qKGOQ2wPCGToxQIRtz73pT+DnWW0yrpjNpefPGnpDxrd22o 7u97abYKtJJJpsqTc8zKmOAlETsn5DYR2/lE7e2VzSUZ0ztilptjXmxuq+ya/FvsC3+f I+zw== X-Forwarded-Encrypted: i=1; AJvYcCUN6FP8dME/NFNo4j5TGtSXBq/4gjGqznJSGsWh/EJR7QdT+rL1QNWt8+OimrouXyhNHS+3c3VMALDSsQ4VF5MmmaH9VfESlzfzxTDpvgIhEMMB4Y1+P5/3e32WqU/RBheYiia2wnPcV8VgBRINuxASQoHUmYJKFEU= X-Gm-Message-State: AOJu0YyTVwZBIkHSrF0nX9VXB7j8FmH+MrgGowEOuZJQ6pKPoFv0WC75 MEoA+R/ZEvApt3V6F3Klin6oSerz7GIdoP7GbKyv5tvNEBzRkaJp X-Google-Smtp-Source: AGHT+IEEH1HCri2jgaEj2lmkHvpY4OJN9Rt4WUseuSkpkZzIe0tbV3kDqycBsohBoHJp9rcz/JDoMA== X-Received: by 2002:a05:6512:3134:b0:513:d1d9:9eda with SMTP id p20-20020a056512313400b00513d1d99edamr3571987lfd.27.1710714737896; Sun, 17 Mar 2024 15:32:17 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id x5-20020ac259c5000000b0051322c11100sm1366981lfn.221.2024.03.17.15.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 15:32:17 -0700 (PDT) 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 V3 2/4] dt-bindings: arm64: dts: mediatek: Add Cudy WR3000 V1 router Date: Sun, 17 Mar 2024 23:32:04 +0100 Message-Id: <20240317223206.22033-3-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240317223206.22033-1-zajec5@gmail.com> References: <20240317223206.22033-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_153220_817508_3559C23E X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Sun Mar 17 22:32:05 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: 13594892 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 A4CE6C54E68 for ; Sun, 17 Mar 2024 22:32:51 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=laJpCgdkrYPvsOFRDltECoA3prZC1yIITlUJE6I/UUs=; b=b/DALZUo3tTEMi UJR/ZV6rWTL8k8T7/ZL/sF0MeR8Y/1IN2ESMrnS3YnM9K+s2U2s9UaBu1QyhxFCibkhVhODLQo1dO rfkosCDK9F65qtceIeWsZdSFjZ9t+fdNQoWYBHJYXdvsr2cpbbkWVIi/HdH5jzT/3LGYu8dENCK1a y37uXo8HJtBqDlU1x01bZcIlAQxKxnSlj80ieswU/eIYZBt2lyC5ED89besoChQdHDgVnqDs/HJl2 wF4dAnryDbsfQe3IoOW0A680HMrFmDljtJkCzYkp63LNikp/jbfA1ZCOncmDLRpOophzvAtnpI5AJ rsvfer3jFKKb8A6J2Xsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3W-00000006eep-0mQu; Sun, 17 Mar 2024 22:32:38 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3F-00000006eTd-2L37; Sun, 17 Mar 2024 22:32:23 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-513e134f73aso978827e87.2; Sun, 17 Mar 2024 15:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710714740; x=1711319540; 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=GavwCOAQVbhDQ+vdRdLwuJP4i+t3za5/lzx/uEHUH9I=; b=CpM4//yGm13t6v3HRl/OxIhHct5Sto8K0/rnmjEmrCNQd9qygog1Vd0QVoIa4QRrgp vaL/om5qwL3MuIs4lnRYGgCP1hdTpMtszAbzoufbbh9ku3p3GD9guxNq7NMT8RA3aCf6 0gPFZp/O9auykV2+Y8e+Pi8MI1ImpcdONWCAQ3TghxapquDk/5roRAK6ICJhga+BsGCo JF/i6W14Woy2sXti631XkYcKj4yEJl1XlPavXxgburWOfAqffH6TW930lYiAkSKTTW1+ VY+n937lhI3fsfnGT0auyozMWhsTJDntuywNeSvMuNMjTDt9fextXDhg+DTIlDDIQb8Y kJGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710714740; x=1711319540; 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=GavwCOAQVbhDQ+vdRdLwuJP4i+t3za5/lzx/uEHUH9I=; b=fu6dIcn5nW7eVZkIs4ULLYe2j+vGEZDaL/G7fjK83/Mq4uQyX79sBUTC00J7KAoJcU oq/r7Y40UCRSPTe9pHYnjqa3qU0ZdehpUGWLQHJEdWeCsPvPxkhb75rxAi2eY75gx13u xyPNtdMjn9pN7bl1046YcThZy7lG+5q3NFY4LSxEMQR9AwN2EF2XU9SxjYeHgW/8XU+1 uYiOLj8pVyROlCXG9xZQRgIVv7OMmBePxXvkKT0QtstKF3C6YOj/xmci4JaWJEoarnbT 1YEwtsgRTvD4bEg4M4LHEPm5K+MJ85O6b4AQBiBYKPpgSZY/4cUocaVA3ocK2QSAAh8A j9LA== X-Forwarded-Encrypted: i=1; AJvYcCWdGoSdA5pw8liGJMHe5O1WnadxFzfsLnS54MmsEOj0OSOgxhXlSZqCjVZ/sBk8I86G1IT6f6zK4E16tjNoZJE63RTlgfs+v1AdbpNE+a7gLiWTNsMHBo3mWok+2UjxuWq4eW0a2YpqoaUCKgugXlC7KaJff6FVLko= X-Gm-Message-State: AOJu0Yze++1GxDkNDakRFVqCXdYkJoXSafnJ3l0y/ZngAar+O+AQ/i9D wuhFA4rFCTfyumR8bCHjA1sfNg24QH3RUJthkNbd+YqC9HgnBoYC X-Google-Smtp-Source: AGHT+IH2QUUdKpCb2MBt9QJkoYk74bgy89kZwcAUoxzCuORsr4QlNkeeYPDyLt6hR7T3gwPPeGpP8A== X-Received: by 2002:ac2:48b5:0:b0:513:5971:10c9 with SMTP id u21-20020ac248b5000000b00513597110c9mr6728299lfg.56.1710714739667; Sun, 17 Mar 2024 15:32:19 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id x5-20020ac259c5000000b0051322c11100sm1366981lfn.221.2024.03.17.15.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 15:32:19 -0700 (PDT) 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 V3 3/4] arm64: dts: mediatek: mt7981: add pinctrl Date: Sun, 17 Mar 2024 23:32:05 +0100 Message-Id: <20240317223206.22033-4-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240317223206.22033-1-zajec5@gmail.com> References: <20240317223206.22033-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_153221_627669_0FD89FB6 X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Sun Mar 17 22:32: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: 13594893 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 34FD6C54E60 for ; Sun, 17 Mar 2024 22:32:53 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=UBGeqHY/UHoVyDBzVXLTM+hHjxHAJUKNbL6MDuO6eRI=; b=pkGEfZ5r9kOXGg n3XaRKhFDvfFnSQmDrIOqs4ANGQnPKqL4crvokE7Fz1QTqTejpQqyLdp5FSMvf8rqdhEBDND6aCFx yS24WeFnoI4+2x6c/q5QyGCa/a68nfy1kJm6I4klndIcUWFsiu0c9J7ubScy/+IvFLOHtw73ddX10 yPT/cIxoKlFoYc1ghLGKK1W/k3YeF67R3CVUqd2fEf/2oHRkeeemXThyYcwZLdoXoVeFI2unhxx3g Hg1N3256UZxzKGcjWAU/SyBrWA0O8YwR07dt963uCXLjxRU/Ix2tiqu5zRfGagr7EF13hnzYAH3QE BtvYBexz8/aPU0j6xUyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3a-00000006eiL-0vFI; Sun, 17 Mar 2024 22:32:42 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlz3I-00000006eUg-43gF; Sun, 17 Mar 2024 22:32:26 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-513e4dd6ca4so737123e87.0; Sun, 17 Mar 2024 15:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710714742; x=1711319542; 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=XQKJEwfEplP6JjgBfQ2Wo7rsgECn3udsg3gjV1fc2yY=; b=a2B8oVD+T9JEWs8JQvlncb5YIibHlHPvnZ+IAyxPGNiQdCyj6RA5j0Tjr+lQzLTYk8 f0owasGDuzwA+QMREw7qKQOw2h1M++hWLrwx9ZPRKpcQAsWsCVB7QEG93EXGWOHuu0fa AvpEDCsoMCtMuZ/CrDSFrJ7axHYulNNEp5xlqCwgv+kRJNO2Z4dbZBi4xvQMY6YzK8If W/Q+YDKvI8xfsKmr5CaAjixLHIRPSNAEAy13cB/6pvFkEQ2p9SM+MLWguTkNZevp+QHY ROfPQnq8bgAinTd8v+koVEeBG817uJHQDDOYps+rWKmRA6u/qS8ghM0JYMODopLD1prz T7iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710714742; x=1711319542; 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=XQKJEwfEplP6JjgBfQ2Wo7rsgECn3udsg3gjV1fc2yY=; b=ZU0WDSSS/EbvMqU7/QBji+u0jAKWjKVSB0uXQ37DxxRPhiL0+I80QqfCaGXDSF48FR S2TPI7FfW7peMmkgzM9gsZ0SAbVbHhw1MpEKaMC4l4qv4Ev0zCl1QwA3yeJ6sRvX1h69 ztvI1GZlAF7qRw4UD7zTECU0ho2YbYKLpVQV1Bn0Vnqhxf4LKuKeoY3pOFu9IM2u32rC GMDpM5mqauXIae3nRqrFT9EjThM5TpvGmwfvaENxQO34GeBsUiLhw0tNOdUjF1Rr+a6t DOlLBnAEjnnWSZmN9Iw9qBw7qgEgWaVRGQltGlmD6RCTIq9lgJWh26Fw/OaFWSDwNPUd rQpg== X-Forwarded-Encrypted: i=1; AJvYcCWnWpJHMbMT1fKpPrExC1wZq8Nk+XbFeyROt91gsE+w3PRPmBUAab+z6lL/hzXCMtRSHVBDX69vf1O+Y66SxlTfjLIdD+MUR0WW3PkBFaLcXCXaQp1cYghsjZtVbvmkgPxPuP+D0YIKG9phZIETT0pTd/Zz2suzZ5w= X-Gm-Message-State: AOJu0Yz3WO9MVQzii7m0NCSpq1vZSRqI1hMy3CrE9MQjivyunPmChAD6 Bsw6RImQO1SNInwN6WPd/3lqQXMFk+SG20j39HmdVra/c4uKg0cr X-Google-Smtp-Source: AGHT+IEwNc4ima+GSWJaUtWXJEWy0YYhhPyRNlX/kRbMLWlU4kdKjBgpLrJ6aPAuwYLXcwpcIHprDQ== X-Received: by 2002:ac2:4992:0:b0:513:d827:89e1 with SMTP id f18-20020ac24992000000b00513d82789e1mr3167796lfl.26.1710714742102; Sun, 17 Mar 2024 15:32:22 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id x5-20020ac259c5000000b0051322c11100sm1366981lfn.221.2024.03.17.15.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 15:32:21 -0700 (PDT) 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 V3 4/4] arm64: dts: mediatek: Add Cudy WR3000 V1 Date: Sun, 17 Mar 2024 23:32:06 +0100 Message-Id: <20240317223206.22033-5-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240317223206.22033-1-zajec5@gmail.com> References: <20240317223206.22033-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_153225_093374_30D44634 X-CRM114-Status: GOOD ( 13.60 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Reviewed-by: AngeloGioacchino Del Regno --- V2: Reorder properties Describe online LED V3: Use LED_FUNCTION_WAN_ONLINE (present in torvalds/linux.git) 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..54101cc08a25 --- /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 = LED_FUNCTION_WAN_ONLINE; + gpios = <&pio 11 GPIO_ACTIVE_LOW>; + }; + }; +};