From mboxrd@z Thu Jan 1 00:00:00 1970 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 192F8C433FE for ; Thu, 13 Oct 2022 22:39:29 +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=4YQIVHybtjlY5m8zUxVKSguoS/96gxKAxR9u8eC8oYA=; b=DUTTjuaCAHzrQf tUmu6itWR5Ek/jdm6EVvWYvvqrhiXmSzgEFpS+vNzLarX0EhxD44/o+bT48TeJkbvHCB811ja2mvw QQDJwzVxXqwbPKIOueKDBbZsmnYCwQaXpb1s3O/nVAAw0M/6ESS32x8ND3q3FQFb5FXmdXiZtkoIi 99Nc7myp2Z975C1tR05lmWd8uqUxp1g0pVamnnXVHQfW4wvNfPBA9Pu3ijb3HY3xs268VOIuN0wNp 9hCw6lDxXqmNRJEEq3NQkllTcvGXjWO3UwihGKoV0lZdwslS0VpqtoGVP29hd4lbrziWxOpx/Wx+h JGIS5LAUMn0Dobb2CVzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj6qY-00D7Ge-HC; Thu, 13 Oct 2022 22:38:34 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj6qV-00D7Ea-M6 for linux-arm-kernel@lists.infradead.org; Thu, 13 Oct 2022 22:38:33 +0000 Received: by mail-lf1-x12d.google.com with SMTP id r14so4638919lfm.2 for ; Thu, 13 Oct 2022 15:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=WLhH8FhLEpwZoM1IyZU3YSufKdq8lcjCP2VQTuqHSyQ=; b=PkQQ5o8Yze/+xWhKTB11gnflL8tf5mYIh9lY6EFcvkIUPy1p57d33HKuAdnXaTNiMx mmWz1rciDEkDnJU3C4wci3WhN1aawUCuS+LCf0/oG+i+t/KgmPriHBWspbRzAsUTancT BnGKc/DNg8QhUnR7tRbngBUwbuB0Pr84vY/SRBamMdQFsKs1rELmPL6XD2+1TGMFkuOR cgrLN5kjWayf0T/gWPokOJiNzch+Zd+xnZ3H0MXi2eATUbUv7Xxu+FlE2G2X4+E0Rsk/ Ch0bNtvbD6KmV7ws0aHNcr0eKHKiu5fzecyIyM4KQJ6avLr3Nq1oOX+ViANmyPvIIyZz Wn8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=WLhH8FhLEpwZoM1IyZU3YSufKdq8lcjCP2VQTuqHSyQ=; b=Ui35E9zuT8iOyhfVidMe0igd587SLn9Ri6BrkKA15sjCQfmzF8Xh9tiOrNEP07Lpd6 lrCPMBv8DrzVCspXIJ9zO19sBVQom2d2WakbHdN4KC9p/qX5ARJlfFTiU2h1/paB2EIj ztH7WdvUi888ZMGI/6bbtZu67AXPfHljUoyjfxIR6Qs03mDQDadyTKlVGbEWxEDx02AQ 8WAg8sj/na8ciYSN9Az7qvVcc/gnaEEWnpDgTJuN/lrTQfamc+34ALh+4+1y/UBW8ZXE GFKOmS6Rl6DpPlQMBkMIiC/XYYbJCdLDsjJv8QrrPn1IHEIGWOacadhXg9cRTj13Uuoi FaUA== X-Gm-Message-State: ACrzQf22RdiEL9SGk753IjHSZbQn2kslULdt/yKDeuU5lXxbA07oCXeW WUYOA6MT1u/QiMRSzTnjvnnfCA== X-Google-Smtp-Source: AMsMyM7voyjKZ6ZOl5njCB6NtIZW0tVpByvxHfHtn5ebOxxL/EHRMs73QQwkjwRkiyjMp3735Eo93A== X-Received: by 2002:a05:6512:282c:b0:4a2:1c88:e1e0 with SMTP id cf44-20020a056512282c00b004a21c88e1e0mr612638lfb.501.1665700708094; Thu, 13 Oct 2022 15:38:28 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id d20-20020a194f14000000b00498ee99a749sm75891lfb.304.2022.10.13.15.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 15:38:27 -0700 (PDT) From: Linus Walleij To: Florian Fainelli , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [PATCH 2/2] ARM: dts: bcm53016: Add devicetree for D-Link DWL-8610AP Date: Fri, 14 Oct 2022 00:35:38 +0200 Message-Id: <20221013223538.2385601-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221013223538.2385601-1-linus.walleij@linaro.org> References: <20221013223538.2385601-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_153831_745016_F26A8A5A X-CRM114-Status: GOOD ( 16.74 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds a device tree for the BCM53016-based D-Link DWL-8610AP access point wireless router. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/bcm53016-dlink-dwl-8610ap.dts | 136 ++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 05d8aef6e5d2..1ace19792e96 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -138,6 +138,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm47094-netgear-r8500.dtb \ bcm47094-phicomm-k3.dtb \ bcm53015-meraki-mr26.dtb \ + bcm53016-dlink-dwl-8610ap.dtb \ bcm53016-meraki-mr32.dtb \ bcm94708.dtb \ bcm94709.dtb \ diff --git a/arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts b/arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts new file mode 100644 index 000000000000..fdf43a13338c --- /dev/null +++ b/arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts @@ -0,0 +1,136 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm4709.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" +#include +#include + +/ { + model = "D-Link DWL-8610AP Wireless Access Point"; + compatible = "dlink,dwl-8610ap", "brcm,bcm53016", "brcm,bcm4708"; + + memory@0 { + device_type = "memory"; + /* 512 MB RAM in 2 x Macronix D9PSH chips */ + reg = <0x00000000 0x08000000>, + <0x88000000 0x08000000>; + }; + + leds { + compatible = "gpio-leds"; + + power { + function = LED_FUNCTION_POWER; + color = ; + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; + default-state = "on"; + }; + + diag { + /* Actually "diag" unclear what this means */ + function = LED_FUNCTION_INDICATOR; + color = ; + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; + default-state = "on"; + linux,default-trigger = "heartbeat"; + }; + + wlan-2g { + function = LED_FUNCTION_WLAN; + color = ; + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; + }; + + wlan-5g { + function = LED_FUNCTION_WLAN; + color = ; + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; + }; + }; + + gpio_keys { + compatible = "gpio-keys"; + + button-reset { + debounce-interval = <100>; + wakeup-source; + linux,code = ; + label = "reset"; + /* This GPIO is actually stored in NVRAM, but it's not gonna change */ + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; + }; + }; + + /* + * Flash memory at 0x1e000000-0x1fffffff + * Macronix 32 64KB blocks; total size 2MB, same that can be + * found attached to the spi_nor SPI controller. + */ + nvram@1e080000 { + compatible = "brcm,nvram"; + reg = <0x1e080000 0x00020000>; + + et0macaddr: et0macaddr { + }; + + et1macaddr: et1macaddr { + }; + }; +}; + +&gmac0 { + nvmem-cells = <&et0macaddr>; + nvmem-cell-names = "mac-address"; +}; + +&gmac1 { + nvmem-cells = <&et1macaddr>; + nvmem-cell-names = "mac-address"; +}; + +&spi_nor { + /* Serial SPI NOR Flash MX 25L1606E */ + status = "okay"; +}; + +&nandcs { + nand-ecc-algo = "hw"; + + /* Spansion S34ML01G100TFI00 128 MB NAND Flash memory */ + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + linux@0 { + label = "linux"; + reg = <0x00000000 0x02800000>; + read-only; + }; + + rootfs@2800000 { + label = "rootfs"; + reg = <0x02800000 0x00000000>; + read-only; + }; + + linux2@2800000 { + label = "linux2"; + reg = <0x02800000 0x02800000>; + read-only; + }; + + rootfs2@2a80000 { + label = "rootfs2"; + reg = <0x02a80000 0x02580000>; + read-only; + }; + + jffs2@500000 { + label = "jffs2"; + reg = <0x05000000 0x03000000>; + read-only; + }; + }; +}; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel