From patchwork Fri Nov 5 10:14:13 2021 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: 12604489 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2628C433EF for ; Fri, 5 Nov 2021 10:16:06 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B1D5E6124F for ; Fri, 5 Nov 2021 10:16:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B1D5E6124F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=DVDBRyE3w6dgMveahLMyjYHJHarGp3uJjcxcOU+126U=; b=G92JGbVfye+YrJ UTkXiqOy8KMjilLt6XxUQYewWjDATLlRX1eubjrYUsDoiPWb8nKgrv7l1d4YXptCnKjd7ks8NRFne T7N12N8eRsDa3rvwNUKZjccnI9+z3pA94CrYhPsWrs4ylW5/q4vIrVDFwVj2UHYCDobcEHIHmgwFq 9kywOknGbiRXBnIea0IL5Gp3UmZvRjYsIUA3ZAnWcxqxQZcDfjGjliqdUJqdCRm3LKEpA6T3KagYb ehFXHTZS9GppsZvzpNuxnWsJSg4VyEMV1Lgt6B+GD1bAEojnR3c4MMgZMepzdwCRIDHXUs9xq7/v3 tRhvI4qM0DYX8EFZ7JYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miwF3-00B5V8-So; Fri, 05 Nov 2021 10:14:38 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miwEr-00B5TA-5b for linux-arm-kernel@lists.infradead.org; Fri, 05 Nov 2021 10:14:26 +0000 Received: by mail-lj1-x236.google.com with SMTP id h11so14224576ljk.1 for ; Fri, 05 Nov 2021 03:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QaZa0Zspxh5wLjQ3kwAxeHmkbFDeHtgN0U8NXA0O3lA=; b=X6vy2bHrOUI8rHAW1qR49b2gm+qqS0Qln/bBFOBMYWwwm7rNh5mLAmJM0nAQnt5Rk/ ehE/hpbd1CDh5wn1YBzNIupbp4OwzQmQPtaCOmTersZjSJYI5PpBC3iEj7A5d5M8TBeq FVcy7r4PnjsWwk6tqJmdAQgHmIiyR5FKzMCvmDC4qCM3NtMNkqImtZN6oBv2kPcK5E7g QnhCBFTqjMYgYRmrPbIdSAEpHlatY3sV/clsD7RCVEPyt7N+OyJyNkycEHurz9x3NxH5 ocnU7tfvua7thfaS284WChRR0slZ5jQw5QWR5w46ppQjPGVcXV21l32dLUYAbPqCNebc t7dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QaZa0Zspxh5wLjQ3kwAxeHmkbFDeHtgN0U8NXA0O3lA=; b=4I6HA1U2OjvBW8NnwHjutXKe68zupL1Ifd/xvfvpt3Ou3K2QzWd+Oehfum3Ty6oGzX aGV4CleuUx76x1k/fVhF3oOOI2G0ZgfFsGNl0jzJXnu2h06GKT9mAuWo566vTRB/hEZt 32YIOVukVdBFnB0pcnFqYUrLQBO77SAjT2GRNX1Usd04Fne2vD314Wdqx02sVCaByOva GlEyjw/sB6Kyret2PLQpPdAkCXW5761GpriJu8qwDSALNNalXxdbmidAsCfaYst9qBQZ TzrYlvB2CJPWK+BoBV3r2OH+b+7O995PMzpFCqfUTijjeGHm3ERxh4SJq8sY5a42Qugq K/MQ== X-Gm-Message-State: AOAM532lqF5Pi5xIiWp6hizeR0HgptJrx6NvKjwXbYl4WKK2e6rsNL+O Ms4Vp6n9Ed75mb45Qa6DJuQ= X-Google-Smtp-Source: ABdhPJz0LDF9qEmO7cX27ZhE2GQD5DOAxcsxlydbVIwIvnAQkbJ5ZgJmsetEU02XHONkcUi+oL+8bA== X-Received: by 2002:a2e:9b13:: with SMTP id u19mr5877303lji.264.1636107263182; Fri, 05 Nov 2021 03:14:23 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id b22sm781545lfi.67.2021.11.05.03.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 03:14:22 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/2] arm64: dts: broadcom: bcm4908: add DT for Netgear RAXE500 Date: Fri, 5 Nov 2021 11:14:13 +0100 Message-Id: <20211105101413.14926-2-zajec5@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211105101413.14926-1-zajec5@gmail.com> References: <20211105101413.14926-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211105_031425_235460_CC29EB90 X-CRM114-Status: GOOD ( 15.36 ) 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 It's a home router based on BCM4908 SoC. It has: 1 GiB of RAM, 512 MiB NAND flash, 6 Ethernet ports and 3 x BCM43684 (WiFi). One of Ethernet ports is "2.5 G Multi-Gig port" that isn't described yet (it isn't known how it's wired up). Signed-off-by: Rafał Miłecki --- arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 1 + .../bcm4908/bcm4908-netgear-raxe500.dts | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile b/arch/arm64/boot/dts/broadcom/bcm4908/Makefile index cc75854519ac..6e364e304d4f 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile +++ b/arch/arm64/boot/dts/broadcom/bcm4908/Makefile @@ -2,3 +2,4 @@ dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-netgear-r8000p.dtb dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-tplink-archer-c2300-v1.dtb dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-asus-gt-ac5300.dtb +dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-netgear-raxe500.dtb diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts new file mode 100644 index 000000000000..3c2cf2d238b6 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "bcm4908.dtsi" + +/ { + compatible = "netgear,raxe500", "brcm,bcm4908"; + model = "Netgear RAXE500"; + + memory@0 { + device_type = "memory"; + reg = <0x00 0x00 0x00 0x40000000>; + }; +}; + +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; + +&ports { + port@0 { + label = "lan4"; + }; + + port@1 { + label = "lan3"; + }; + + port@2 { + label = "lan2"; + }; + + port@3 { + label = "lan1"; + }; + + port@7 { + reg = <7>; + phy-mode = "internal"; + phy-handle = <&phy12>; + label = "wan"; + }; +};