From patchwork Thu Oct 10 22:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831286 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 14A75D24459 for ; Thu, 10 Oct 2024 23:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7ABcl2k12XkGvQqanmbkubNkqbMdMAgbSekCuOoaauM=; b=eF5OT+K7nmmlABLwdX0gpmK57K dkvtqRoQDz3WfVMqCVePzvrF+D9RpEb764KqRiOyYtzsME6W8IbHWqHVCcd9W0EOo5mrs0G1O5Ant KSWrUpycLn6MgB0bHlxzAaLq2xcVLezIuRzlfdHFhspRp1uYqLvmwxO9PCD3MXWEmlBXuBV0OVlhU Pk6yL63n7FThM5T6p9274AZExJnFIZJaiY2nFP1q9ALxyoVEY5ht75FHNOJkgLSsFCYb6M0wqQMDT Wx3Wnv5d7cEVrQlB3nuoNgynV1tTiwxCi5dk/AJ2ac5d2KlM35dfyfcQGkPk2CeRz6Umzcy1GF4wD WOdRTZgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz2OW-0000000EdnQ-2IoC; Thu, 10 Oct 2024 23:16:32 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JS-0000000EVAl-0aS0 for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=7ABcl2k12XkGvQqanmbkubNkqbMdMAgbSekCuOoaauM=; b=Au0ethgAuxlKbbQPhRzauL1qyC 8cTixOK6vAPq0dInGwreGHAY5rV1nyEhRoittpcdnRaRSRKJGz/gSGy93lWZ2s3cnxSlT0WhfIqRB OuiVs1PFn3WtxYpLGc8M7LUoFcdTGNiTy3jMcSAWgzI8paIr/NMN3ukQTfmWSJweko2YJjJYzJrwN cjuQgTMwIaT2ikktYZyvmV4PWn6XZ9K76Z4GKAB9oHLDpotKQDas45bF+AZ74bC9SHLoL5sT+0H/+ 0x7R21k43cs3JfwQmIeM0CHzMbz0EmZCGDPr2mbneM5DP2Bmc3zsJFTP6UXxV+K0FmJoD5KPuVv46 JMZiQZXQ==; Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JO-00000005gtM-1mM7 for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:12 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a993302fa02so223579266b.0 for ; Thu, 10 Oct 2024 15:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598027; x=1729202827; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7ABcl2k12XkGvQqanmbkubNkqbMdMAgbSekCuOoaauM=; b=gv8vlGwe0tNyiy2j/USA4VSPrD3wSOn5AwmKC3ZKgVdlMQQ0EXTL2kBldW/1y6UkWS cg8/ZySGBLmVD+98is8ZR3QzSB+dITZKxVvIAwK3FLhBFsMlVdZyYAxpOEvU8v+mKhuJ M1XhC7KCRzvPb23OLMEPB2+3KSvEFsmd4pnPU3njyRxsjaXH1sieAPWGhmT0okNxYL6p xl9A5EzDfg3FJLksauczEJFl1S/Q2FYkdF0UdTuz6oUODaShxxj/zESGsS1UrSWQqn3m LDRkNyZvcqilfb8Ll+4NZvjyqzgdCrw4WbdcZQpZHA88hLrEzteMmMIyuegmOJFwm4eV p6Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598027; x=1729202827; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7ABcl2k12XkGvQqanmbkubNkqbMdMAgbSekCuOoaauM=; b=F2AD7+8v1L9zdL/Au1NUMEMK1gc7r6NgqmTWBfCdtE5rlysqTAOLxAxsKuiC3TlqMA 2ZEMp8g6jONM8H9WkAQ1Lb3vDAEAm3noaKbuLS/Ve/XNtdecX8HXRpoCQitT8BYuqUMM b5zP5tPCcEEXahQsjfDAjkznqHRojXSiL9DvN/KeU3PZAcDcYFo//xe5iK1Be4YHW4Q7 +YZTkYRjGC28hryUsNaX+1biK8Ab7Yc/OTUujZtWxSrP0WKMEG2GTumYF4d7giWE0HX4 O+21Zz2t1/ZEM0a/7IEtcpLZqyyF0Y32i7OomIOchp7qBV80wu1OXendQcc3ropk7LQf JtSg== X-Forwarded-Encrypted: i=1; AJvYcCUGUHnPa4tYSb1QDI+TXEifmnnw1kmt9oqalT2PnrpB3jGU29xk6C3qxl8BEADK+25cywYoS+jyGh1gIARfDQ10@lists.infradead.org X-Gm-Message-State: AOJu0YxgQwWCh9o64aXTxOkkhVaBL0ZXn+oFQ9o29q7JXp8rinxB5N4D CuxVbg2pU2jDrfiKHy7JYVr3iS0mNT7VcvLJ5gfArBD4C5OWe/RFOhZaabitRZk= X-Google-Smtp-Source: AGHT+IElKOm421M6Zlz9mpnjR9IKUSlOWVRXYIaXMQflRmBMPlxEEOhjEG6uvQdty2WhgmtFxmdS0A== X-Received: by 2002:a17:906:f590:b0:a99:4780:1af with SMTP id a640c23a62f3a-a99b93c8dc4mr29364366b.31.1728598027485; Thu, 10 Oct 2024 15:07:07 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a7f27e5esm140825466b.80.2024.10.10.15.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:06 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:02 +0200 Subject: [PATCH 4/8] ARM: dts: bcm6846: Add MDIO control block MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-4-f04d6f6f93ce@linaro.org> References: <20241011-genexis-xg6846b-base-v1-0-f04d6f6f93ce@linaro.org> In-Reply-To: <20241011-genexis-xg6846b-base-v1-0-f04d6f6f93ce@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241010_230710_966442_1D5ADB3C X-CRM114-Status: GOOD ( 11.11 ) 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 This adds the MDIO block found in the BCM6846. The vendor tree calls it "mdio5" so we assume the right compatible for this particular version is "brcm,genet-mdio-v5". Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm6846.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi b/arch/arm/boot/dts/broadcom/bcm6846.dtsi index dc0c87c79569..2d1c74ce79ac 100644 --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi @@ -223,5 +223,14 @@ nandcs: nand@0 { reg = <0>; }; }; + + mdio: mdio@2060 { + compatible = "brcm,genet-mdio-v5"; + reg = <0x02060 0x10>, <0x5a068 0x4>; + reg-names = "mdio", "mdio_indir_rw"; + #size-cells = <1>; + #address-cells = <0>; + status = "disabled"; + }; }; };