Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1875718ybb; Sun, 29 Mar 2020 15:58:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtPbQhrwr+iXP8T2vgE6w0JDru7nTWLoQxpQfCdRXs07jiGzpqpKbFe+yKR31QAmIY62IN5 X-Received: by 2002:a9d:6a05:: with SMTP id g5mr7228252otn.116.1585522712385; Sun, 29 Mar 2020 15:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585522712; cv=none; d=google.com; s=arc-20160816; b=qVAZCf1kbjZOshQeIDvFyrNXn6Vd2aQ+Hw792IgJ23sKrUOMWwYd36z36VgQtcuCkD 4nBvvYMOQjap3pMq/8SPdjJOSvolc06+y/Ew2xg8izPhYHeIMMGUKCoS8/VblscRpJAg qUu+1iMXeFNTt4ejoojh5KMrkfWAHKsB+UDArmtfYFsC1eQZee1jFvI1nCPVCw/Rp5Yx NElfqWt3m5E21n7wO2fJy4sPTqhaVA62Uhssv0kcrtMSA58PCA+eislZvjXM7s87uoFo fJEswWW5ccjmvxxiLOHOyh/TVWNXpcJ5qxcTjicFaLUluTXGPk/m0k/9e05fbNQ6EJF1 XKuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=kCtQVCYmrTD+DrQbTzbHapkEf5f4Lww5+k+CS1ksIk8=; b=k8eij2tpQKwbjxiXl3IHdSMXZoSI11yNY7fKVfPFvVmsTL0oPbXolR0e9k+kkcHYjw /+a7xxPe4LwefGKkfnbh+MBId72WR+Fjlim2aMS0pG5mzXLo2W9drDfiLs1+ZHFpzXXY N9Yv66PWZR14PxHIwzC32h8KhyEvCO42CVfZekgZ2yNI43RaCCMu2qSPjAITWhprKkLw C/WFQaisKBOxM0/5fsO7Gw5DqlEiBBdCJX/qVZ2ok9v6EB0w/HU6dnb2ciBHRGWqlooi kaW6chcyf8A/O0rNx/WNDoGRks3LVMFdB8r0Ws9PUm2YxX/HsrhVRMRyVUbzYcoSSElI HFAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o203si5319795oig.1.2020.03.29.15.58.19; Sun, 29 Mar 2020 15:58:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729312AbgC2WyA (ORCPT + 99 others); Sun, 29 Mar 2020 18:54:00 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:31109 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729281AbgC2Wx6 (ORCPT ); Sun, 29 Mar 2020 18:53:58 -0400 X-UUID: d370c5f1c69d415590d318d9d8aab34d-20200330 X-UUID: d370c5f1c69d415590d318d9d8aab34d-20200330 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 13965590; Mon, 30 Mar 2020 06:53:43 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 30 Mar 2020 06:53:37 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 30 Mar 2020 06:53:42 +0800 From: Ryder Lee To: Matthias Brugger CC: Rob Herring , , , , , Ryder Lee Subject: [PATCH] arm64: dts: mt7622: add built-in Wi-Fi device nodes Date: Mon, 30 Mar 2020 06:53:40 +0800 Message-ID: <315346e1d6fa00e5a0d7a8216982bf723af8e985.1584862530.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ryder Lee This enables built-in 802.11n Wi-Fi support. It's 2.4GHz only. Signed-off-by: Ryder Lee --- .../boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt7622.dtsi | 11 +++++++++++ 3 files changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts index 83e10591e0e5..d174ad214857 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts @@ -543,3 +543,7 @@ pinctrl-0 = <&watchdog_pins>; status = "okay"; }; + +&wmac { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts index 3f783348c66a..0b4de627f96e 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts @@ -506,3 +506,7 @@ pinctrl-0 = <&watchdog_pins>; status = "okay"; }; + +&wmac { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index dac51e98204c..03b14a5ab7f3 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -699,6 +699,17 @@ status = "disabled"; }; + wmac: wmac@18000000 { + compatible = "mediatek,mt7622-wmac"; + reg = <0 0x18000000 0 0x100000>; + interrupts = ; + + mediatek,infracfg = <&infracfg>; + status = "disabled"; + + power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; + }; + ssusbsys: ssusbsys@1a000000 { compatible = "mediatek,mt7622-ssusbsys", "syscon"; -- 2.18.0