From patchwork Thu Dec 15 23:17:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 33826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp663885wrn; Thu, 15 Dec 2022 15:32:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ca8DoNc6RGv92dj/dmvgpapHFuY8JfedZRhCvGa+fKjc9bThUsNfC+IAkvJ48m+K5D7EI X-Received: by 2002:a62:b60c:0:b0:569:a028:a1fd with SMTP id j12-20020a62b60c000000b00569a028a1fdmr27244167pff.34.1671147119880; Thu, 15 Dec 2022 15:31:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671147119; cv=none; d=google.com; s=arc-20160816; b=tBSZky/XT8KvY6tkVgImmH+A6yQR0eki/JEpcuL/wMzXUxJ3JS784EkODU4WC7gBQK UIQ7cN7V9MAYKSBcpGk3zHMSEew9Wjc8Xn60AXZqPiCWT0gWuEudALH7Ts3ZJwFbAiCS 4FtCKBgViNW8b9e++xJN7CfrKiidfnsDCHhCUcg8Uon4x/CRlRB+2fNOJPevAxxcx4Uh hT2cd8gkqczte9ocoYpT8WeYt4U7QXzH0cTLK4Itx9aJn9hcoIMA+MqdlGtV3R2QvaGD 2owPjt69sKbypS4Db1xq/nMjDsz+vvyQWYvF+mY7gALuVGsG6edpyhlTFAZcN1UXYdUq s5VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=Na6VNdVHdyvAKfL71djiErCbTUOkgn1z0PYMYev3UCw=; b=vc+s1kOHAiXNmMtU8yaBF+hLmWXkVT6T5+CYhVu1F91U7tq6O572D0nQZGMgTbI3WH OOqKz0pGJ22Di1xdJhEFjJMYokaakAEbHaLa4cFVHoC+hOJy6BrW/uruEGpwcPdd4XVo KrQRQWQMAxDbrh5QgWW5gjdTP8qeuwcs48YrqW53anRbALJmDcywxerADK3o3iNgpTuT GCFZXrFt9K7HoaoAc59YHjVbvpPUVmzJMLfXVlTTACrcrEk1dRCrM/fG8rfoUau5qUj0 sOUqtopAadP2Ez59BdntSLQEpp2ljTKcaq2H76g/IEpGrzqTX+Bl5i2W6tlPxonmjLwy 5hmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IlXVoNLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a056a00228800b00578ef1de40csi456837pfe.361.2022.12.15.15.31.47; Thu, 15 Dec 2022 15:31:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IlXVoNLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbiLOXRt (ORCPT + 99 others); Thu, 15 Dec 2022 18:17:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiLOXRs (ORCPT ); Thu, 15 Dec 2022 18:17:48 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5036E22BFD; Thu, 15 Dec 2022 15:17:47 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id i9so1401012edj.4; Thu, 15 Dec 2022 15:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Na6VNdVHdyvAKfL71djiErCbTUOkgn1z0PYMYev3UCw=; b=IlXVoNLI9hpWFxEkhHb1L03k/1GNwjxuocwbZipeg89PuvxJyk4/oSFN6752xV+A1M pP37tcGT7wHcw+oSOE6w+BsuDE6e1/81yynMcdgDvP75aGzEoR6pYUiREGxpZ/k1fNDp W6Ld8CsfV7PXvvi1q0SWCbOEwt0JFtZqmJ8Gr21FoGZdDylxTfFZqqdan48wirMm4HRP cJW4tizfOmEW2/qcD2uT45bTRo1i3e/Cm9ONsJ/7pTaGdrTSwpOo7gd/Z3r9VlX8GPmb UmyOz8IzTPddLJKiNbWin05q1OXMGe4eyAAUEIhqdpST/6YIsqCd6XENKdM6RHfSeEFN pIGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Na6VNdVHdyvAKfL71djiErCbTUOkgn1z0PYMYev3UCw=; b=TXSxDzthVcD1DAXZaFJWx6/JpQt0bfNEVKHUA8PN5Jjf4KKwT4weWhdlxcX9w2oCJZ rCJUA86xfJwIUgjrLxWvEPkOtZ0yANpNpwBEPopII5g0H097aKhz6bfZhAH/FQzNaIn+ yvR+PBsZgAkHCLqb4pjGSnHqngC21CrFVnX6GnN2GCI/Cyi2So26A55zf6qZbjRe4QkO tt/Ib25eBz5CG/W1HTJGAI/EHLhqZSQgiY7Skk5g6IZqMAGr4iO4az0S9EnFWV0RZTiO //qj0+oevEzJ02awDQBv8JkTp7joV5GpQic7PL8IORYrMIqfB9E7/JBxF+T/ic0VsyGb EB3w== X-Gm-Message-State: ANoB5plZAiqjY1vMcwB8UnaTNTwQTW2267UCI8e9am/Y0CkMqHKHTb6v aRfaCPmc1RA0WL+sSsb1E0Q= X-Received: by 2002:a05:6402:249c:b0:464:5ec3:c46 with SMTP id q28-20020a056402249c00b004645ec30c46mr29378919eda.16.1671146265811; Thu, 15 Dec 2022 15:17:45 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id r20-20020aa7d154000000b0047013a9cd76sm228036edo.56.2022.12.15.15.17.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 15:17:45 -0800 (PST) Message-ID: Date: Fri, 16 Dec 2022 00:17:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1] ARM: dts: rockchip: add brcmf node to rk3066a-mk808.dts To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Content-Language: en-US X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752324762457775313?= X-GMAIL-MSGID: =?utf-8?q?1752324762457775313?= The MK808 board has a wifi chip called RK901. Add a somewhat brcmf compatible node to the rk3066a-mk808.dts file. That's what's available as driver in the mainline kernel in relation to this Rockchip wifi product that is able to load the firmware. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a-mk808.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts b/arch/arm/boot/dts/rk3066a-mk808.dts index 2db5ba706..5b9e8026c 100644 --- a/arch/arm/boot/dts/rk3066a-mk808.dts +++ b/arch/arm/boot/dts/rk3066a-mk808.dts @@ -157,7 +157,14 @@ pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>; pinctrl-names = "default"; vmmc-supply = <&vcc_wifi>; + #address-cells = <1>; + #size-cells = <0>; status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; }; &nfc {