From patchwork Thu Oct 10 22:06:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831288 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 97A70D2444F for ; Thu, 10 Oct 2024 23:16:46 +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=cjbHjLEu2DAWDOzM41sPKMqBv2WP+F41P/bIbauuyPY=; b=3MP7RaVid4bnKinCYvjBod+mV3 XCuf4Utzl+oWf3qOj9OfxkQ58srRbBGpCx5m/0aXgF9C3qiJnc96WwTsG2/yRUbXWdO7PblZ+WLKZ 5nesY+uxeoazFo+Xc6JgHswM1193Z15Vlk8xfeIrDraDUxhxJZd3n79uB3HdfU63fosesdeKqOZBi SpnVOuCBR56SJbBoAye1brBCsJANA53l7T6Kod109+agR1946DUqRobtT4MbEy4VLQhC1YjaXCivJ iY3g6M3/D0P77mnzJ7I+3IL+WqEfiQMruqmtdxpZmyed0QP8ekeKynAiq0ALb1ixHXlwbxldJ+UTy i2OjOW8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz2OU-0000000EdlF-023Q; Thu, 10 Oct 2024 23:16:30 +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 1sz1JM-0000000EV9X-1s5J for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:08 +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=cjbHjLEu2DAWDOzM41sPKMqBv2WP+F41P/bIbauuyPY=; b=eIvOyH1bdQJqRqw0MnoTSwVbPs ZaI6kEdneE53/xtdT4wNCQQA7PPynOUcuIR4WDCC2JBAZwO2oiSmi03pi5tjPKWdbQON/N2dOYL11 mlV5FUO5Ss6m7TswN2hVoNSvc4ZJpNq2bJtKfLyiJVAKgOOifahDTC1NdzB7+McR2/KZjeHsNkZVo VftIUJiyuyPzkpVN/AFikKMbM4iDbGhqVDnnAu4dchQkPbrRYthwY1t76I5D/Ej8S1RPtqwXNJ5hP Sozm7MfZJhvF6EATo6GShXt8YSHNqH0DN1o+MBpgL+rgkWA8hQaT05mA7fy2xORLDNOqzBd9M08o0 QrI08f4g==; Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JJ-00000005gsG-04oY for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:06 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a7a843bef98so191354066b.2 for ; Thu, 10 Oct 2024 15:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598022; x=1729202822; 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=cjbHjLEu2DAWDOzM41sPKMqBv2WP+F41P/bIbauuyPY=; b=Fms9Op5QUjNAq/lyz0SWIDZER/irPgkdxQsM88/zL+6bRik+m5P7ofLHcmEmsGooQ4 ynAw84wLanqqVR68fsWTPM/cms7XSNfGxIEuMoJAOaz3WER2B657Gmoq9/bdSeizAZ0u ZkA+sus1MMipcjiMA3Q4i0827s3bGBOiZR4WpC70T3yq1g0suhyFUuv83tClDiO/g9Kd Bmzcj9kABgDqC+iDPO8DDZoHVd9spddRhkmrHH/Bfn9LwTSr3f4HaOFN7gc6nybcIux0 58c9RY1djniwGONq25yLRk7LD3MBz1JGzvEjU9oukQxhHUKcEttegU54r529nbLkqJhM xDKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598022; x=1729202822; 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=cjbHjLEu2DAWDOzM41sPKMqBv2WP+F41P/bIbauuyPY=; b=jHWtjVcVYyeF2KiJGUUBsNEe2FLq8GoYnTKEVR2OdvcQNbzpaJhz4Fagbcwcn+3Clh a4TkfMZeB4Rryhw3j9r28HH0xBPwmn8gyM1EgGT80OMkdKG+4Meu2KmAgpZU4aM3xqYY NAxC7NSfwEH1JHGBD0sRFcR3oa088Jfb1o6IQP45r8yX+la/maABDMi2Qi1/21FdNmVK YsXr2bl20rccqYVUtgU9gs2rcYO4hF5Vdasifqm3jbC0iWfAiJD5UYPE5kuwSbVWBiFZ WWCs6fSlQaDaZVKyb5h/9396OzMMw1CfxLLdmrQ67h4B9JsyI0QvdOqi5hBqr9qf1VCp nzgg== X-Forwarded-Encrypted: i=1; AJvYcCWoY2enixOtCeJhnrkvmMXcEUwrkMS1xN3gtXMoEDGGCgHyBaxZPvdThWhb+wkJUAfBBOvEBgV4TkPUipm4VpzI@lists.infradead.org X-Gm-Message-State: AOJu0YwGRXc4wT7F8J0+0eoZNJjyjeZhGqceCdxN8/1/ITBILQa1AvMn qwz22x2EPj2cKvES+wtlxYfHXcumvEVEjBSWsTV3cUbns4mN3iZooqyfsj2dUCE= X-Google-Smtp-Source: AGHT+IHYz6MOVLADDcStR8uECjw63XJjS8hLPuaUrw1S6zsYGesan2YlWqJ6hHoEFx4gXVl5ZV7mMg== X-Received: by 2002:a17:907:9806:b0:a99:44d1:5bba with SMTP id a640c23a62f3a-a99b95a7e72mr35111766b.45.1728598022524; Thu, 10 Oct 2024 15:07:02 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:01 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:06:59 +0200 Subject: [PATCH 1/8] ARM: dts: bcm6846: Add iproc rng MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-1-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_230705_300491_113F9F09 X-CRM114-Status: GOOD ( 11.68 ) 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 The bcm6846 has a standard iproc 200 RNG which is already fully supported by bindings, so just add it to the DTS file. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm6846.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi b/arch/arm/boot/dts/broadcom/bcm6846.dtsi index ee361cb00b7c..c2a8deef150a 100644 --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi @@ -108,6 +108,11 @@ uart0: serial@640 { status = "disabled"; }; + rng@b80 { + compatible = "brcm,iproc-rng200"; + reg = <0xb80 0x28>; + }; + hsspi: spi@1000 { #address-cells = <1>; #size-cells = <0>; From patchwork Thu Oct 10 22:07:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831285 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 32E8BD2445E for ; Thu, 10 Oct 2024 23:16:41 +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=N2IIwOb0WS5MjzwX7Ar4Tf0ByMMbQC+8VyK5ncs/WZ4=; b=fPQJDdDYzlk0a8botaainxsofO UBDhghCGEh17ql/vrxaUpnCwQgBQ7h14koFtQgIeUOj2b71Z7/aeHuh0aBOGZMck1Uf2TndhMdmjR pisCksk4r/herWzRisKZ55ladl3vWPxUWxJkrp/QHnYQ59uOcFELxtxxbRFL7CDYj3rQ6z2ZIJoOs 4ikb+YijFo7q4UvqlwWvg3snBMvdq+v0/OhxR/SsIwWa4GbfMpmJc7KuDTonoX6ag5xYkge0bP4X2 at+ZnGiBMMLEImNP7hlD8NfYk7UeAInodBHouMm0aJ0AWiHAP00qBSpYcer37SPztBdx1I3y/e9X1 4+Gv/kWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz2OV-0000000EdmJ-0MPx; Thu, 10 Oct 2024 23:16:31 +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 1sz1JN-0000000EV9y-23Ik for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:09 +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=N2IIwOb0WS5MjzwX7Ar4Tf0ByMMbQC+8VyK5ncs/WZ4=; b=LetYYql9VF1rGQXtirBc1mtjw7 IytySSlboHi3qZBO5TU1aU9Ad+sfgCMuSH9cYvQzttGELXBRnp0WIpG7N5Mbh8QE2l++hwwTP0S2b ELMyofHyXoCShtuDR92QUmVMEeElOocGx5sQOwWOSvLcieVitlkioxT+Jo/oOIXNqNfQ1Y+Z1Kyyd 74FPLH68dQPOc6iyCPK2eWw4aSsIpo/lY1Wxe9DxA47M9OTcIDNPWYiOSJCKL/rAPzU/IlVdp7XbF Mev8r/SzPbYYg/bg98Gw4tIGTqwLVVunT4sFrPA5hSrT+52u5vEV0ssYae0+lt9iFstVdM0P1HIpn 4CZ5tGcg==; Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JK-00000005gsV-0Jt3 for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:08 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a99b1f43aceso100479366b.0 for ; Thu, 10 Oct 2024 15:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598023; x=1729202823; 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=N2IIwOb0WS5MjzwX7Ar4Tf0ByMMbQC+8VyK5ncs/WZ4=; b=CebvpnsgnA77diCHFJ3Fr3OMtL7n88VX50yOytRsuDwK32rl6FdcjLrayTyY56k0Re zAThLJnv0olU8LZhafjRHCX1No/u0txD4Q+l0et6cb0092Xi6DGF1Xdl5XKRnpVGad47 1amaYWM/Vuyu91TqtcIFQvmFlWyFMrpNyPtZOdVE1srsVuFxbILIRNETltVxjIXM6JFl LEnsxCP3DNCbFatF9nfRry+MKoUSQ1YYbIcRB4vpzIOidqOJtLgGdz/Ml/2iXZQnRIl+ /2a751utkx8ADjV3QA0G0z2Q6utZ5kJwwAA3a2EiHuAPPU/NqE8jPZwOJ/AraEAEIOID cH4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598023; x=1729202823; 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=N2IIwOb0WS5MjzwX7Ar4Tf0ByMMbQC+8VyK5ncs/WZ4=; b=JeS6zGukBFJCO5itpUVCKKdwjOMx0l+HIn7DrflN0c6UAhNPWWv/PtAWUQq6eKMNJ9 D8PcGtK8685A8uZP4oljBGItxkrbOV7oxH7G7JlBgvjfzqn6QE5Aj/F8w2IB28k7iIhF +5Wd4RHeAM+OZb2PZAuM6XAgvtvXETtkZvl5b21VlkZiU/8bxhhfiXoW1Wd6ME1OxV44 i8mQ2lNOF1MhqMsNBLQWUUXtAyuWCP+bM8857ie+SDnzSt/sBo64515Pm8D6H5vkMTeg EBl8wI8fofAWPboS7shLVa/3eOYly6ypvIzP9zAp4vHrLL4C9WcLsz6wG/oWMqU2W1NA 8zUg== X-Forwarded-Encrypted: i=1; AJvYcCV90xSH9OGbCcZQHEORaPG1CioyGuewe3E0okA13rgoNc5x56nZeTwNr9MrNW8n/fJaZQc1R4W/iTtMmQZZQ0ix@lists.infradead.org X-Gm-Message-State: AOJu0YzqfAIfMpze1GR5TTSOw8Hj4I+poSmKXKQwZWxMt2x+bODG6wuP xZb83c8bUGzmoSRJZFVq+matUepiVTmHNidPeY2PgQGWIZfdOHfM/i2pzkq05Go= X-Google-Smtp-Source: AGHT+IEpNWxeKtOI9iQhFVaTHbzzCOlJtnxPwtZo72x67e9I6QGhqkEsP9jOHnCCQUXkDjF30Tq/uQ== X-Received: by 2002:a17:906:7307:b0:a99:4112:5e6e with SMTP id a640c23a62f3a-a99a0eb7dd7mr459978166b.3.1728598023514; Thu, 10 Oct 2024 15:07:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:03 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:00 +0200 Subject: [PATCH 2/8] ARM: dts: bcm6846: Enable watchdog MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-2-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_230706_458434_1214CEE7 X-CRM114-Status: GOOD ( 11.21 ) 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 The BCM6846 has a BCM7038-compatible watchdog timer, just add it to the device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm6846.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi b/arch/arm/boot/dts/broadcom/bcm6846.dtsi index c2a8deef150a..f4f1f3a06eac 100644 --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi @@ -99,6 +99,11 @@ bus@ff800000 { #size-cells = <1>; ranges = <0 0xff800000 0x800000>; + watchdog@480 { + compatible = "brcm,bcm6345-wdt"; + reg = <0x480 0x10>; + }; + uart0: serial@640 { compatible = "brcm,bcm6345-uart"; reg = <0x640 0x1b>; From patchwork Thu Oct 10 22:07:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831284 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 85CA9D2445D for ; Thu, 10 Oct 2024 23:16:40 +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=76iS9IrOL+avAFMLHux4lzigT6bPCj+idYdT2QESLs4=; b=MQTx7Y6IPa5lgZ7eBYdY4xUOQ2 UP1GoBhpI1HWDXiLZoj7oN+ETfwD7V1QL/+B67rq2O7cbwtjD5j/eusUAuEg0RL9rDtddV5lJ+RJG bqbzsQVcchAWo3JeLXauxxpfFViT2Q7SRoQstRbXj9cUtOFxYiZSNXnX0a0CTTmiakaEa6BFHBTWF QFAhL+AnoR+LITHWGQzC18f562aX1vsDAcajYJ0r67WRoz+DCRkoLZwJO6qM7bcRmHPvubhM7QVYH eHaI4rJLy5j+Tdc0W1R8vdq4HT6UCeyJ9DZEiBLi1UWJhDpezw00tLrZfdsLTcs86U0i5DlMT8m3P IVuRuz1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz2OV-0000000Edmh-3Prj; Thu, 10 Oct 2024 23:16:31 +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 1sz1JP-0000000EVAP-3tBy for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:12 +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=76iS9IrOL+avAFMLHux4lzigT6bPCj+idYdT2QESLs4=; b=EMmYOe/O0cdc09flcbLWYQtutg kuGanedAP88xe099yhxsB21d6yxbfU5Qa7Af+O85xkeHjewdhPCGxtwcWTCDMSSTeyNx7ujcH2RKL FDLY1I5HqE1FwhPxFOoPiuQqiUrBXzlwYLSkOzS5+DB79QIcePxnGrYQWVHatkqoJ4ZkynwNo405E PErr5KdlEehw/Ptq5uax9xDtZe2m7Gl4va+BOkDKrZ/kmD6YUXT/PueMxuAI0Vb5EN8p7fV7YCD8e lZGOPcnQ3q2d7HCzq3HZlB1AahKSpD8kdv0imRA0g4dYw1Fku1bp7MUIucF1DadBjtuOy7EZpADAo s1RZLlQw==; Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JL-00000005gt0-3ikT for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:09 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a99543ab209so195194366b.2 for ; Thu, 10 Oct 2024 15:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598025; x=1729202825; 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=76iS9IrOL+avAFMLHux4lzigT6bPCj+idYdT2QESLs4=; b=jdmtVdvIpcGlKJ7XHkoSKOu1cKcahqzPDRL6D3NPAuXDz3OpLhQDrz1BvHdSWurCYw qV9I2rOETUzYqY11XxHmEExEbjg4mkxAE+qY8klsAJFP8UzB8lmhyqeVmdOX/zn6c5+N SDKD+zFCVekd2nlWcePkx3H2bR+kq34xnTTv2MXMYlB9zCcAkA7fsV4dXiNDMrXFOBJP ILgODLx2M6g6ItTcC8TsvofTm/Yl4RnVf0oNg1iX28geu8z7XiGv3+KdCNk8embhGjFo dl7BpNclMopH7t8oi4I0mweX6oViGJhIWIupb7UAnx+MHC1q4oPLIOMzSrs0Q6L+rrsD 5M3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598025; x=1729202825; 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=76iS9IrOL+avAFMLHux4lzigT6bPCj+idYdT2QESLs4=; b=fMerWuVZVREYyscBxYluAewZ+OFPe2E3iAp8kLSYbqvM6gEQ2P/w3t34berXzhdTgH kAfa+Rn1faMjuNV3CYsgt3J0Nujr0kZuz9iv3nElTj1fS/DMLFe0melfid/RWQOc0FGQ TJTRuWejACauZqaj7NNG4fkRIMhdFSoL92dlOA6S7kzbsKSBvLZdZMFx6A1LUqUV5ce+ 7Z8shtAiLzWgMwCGpyCetpwYI7PaCreEm9RFYbWuc9+XFxEp1Rbk+9TjreAl/g3nrbWL g0jlRfcjppubkgcdNNcMJGFIkfF3vqaJhnSlEKqCrhjZlgyq45+u5JS1u79/kW8ClHEW jFEA== X-Forwarded-Encrypted: i=1; AJvYcCXjzTLHQsPQNs7aBpUGyBBBPmG03+WoyvddqQNmVExbMpqy7ZU8V1md1EffRtGbR4k/u78e9PcPK9hvU6VAaLOD@lists.infradead.org X-Gm-Message-State: AOJu0YxTmgVSqt8Mn6kw16ExVpLFOrgfUGvxwKK263bcpHo9+qBn/zlq RTAaglTIL/8TJcEdxl4XInEjLVIgtMuuxL5/ty5kxVOb3vZM+8z+FL/onMKNte+az6FPigVOfj7 4 X-Google-Smtp-Source: AGHT+IF1qQnmsb2EOeAzznfz4w8Pf/RBuBvhphvTLDrjh4Xlch9nN454LPRhZIMwsgeQQFxlqh7cNQ== X-Received: by 2002:a17:907:e650:b0:a99:8edf:a52c with SMTP id a640c23a62f3a-a99b9582e09mr31583666b.48.1728598025342; Thu, 10 Oct 2024 15:07:05 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:04 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:01 +0200 Subject: [PATCH 3/8] ARM: dts: bcm6846: Add GPIO blocks MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-3-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_230708_276490_8B5C14BE X-CRM114-Status: GOOD ( 11.43 ) 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 The BCM6846 has the same simplistic GPIOs as some other Broadcom SoCs: plain memory-mapped registers with up to 8 blocks of 32 GPIOs each totalling 256 GPIOs. Users of the SoC can selectively enable the GPIO blocks actually used with a certain design. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm6846.dtsi | 80 +++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi b/arch/arm/boot/dts/broadcom/bcm6846.dtsi index f4f1f3a06eac..dc0c87c79569 100644 --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi @@ -104,6 +104,86 @@ watchdog@480 { reg = <0x480 0x10>; }; + /* GPIOs 0 .. 31 */ + gpio0: gpio@500 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x500 0x04>, <0x520 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 32 .. 63 */ + gpio1: gpio@504 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x504 0x04>, <0x524 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 64 .. 95 */ + gpio2: gpio@508 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x508 0x04>, <0x528 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 96 .. 127 */ + gpio3: gpio@50c { + compatible = "brcm,bcm6345-gpio"; + reg = <0x50c 0x04>, <0x52c 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 128 .. 159 */ + gpio4: gpio@510 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x510 0x04>, <0x530 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 160 .. 191 */ + gpio5: gpio@514 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x514 0x04>, <0x534 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 192 .. 223 */ + gpio6: gpio@518 { + compatible = "brcm,bcm6345-gpio"; + reg = <0x518 0x04>, <0x538 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + + /* GPIOs 224 .. 255 */ + gpio7: gpio@51c { + compatible = "brcm,bcm6345-gpio"; + reg = <0x51c 0x04>, <0x53c 0x04>; + reg-names = "dirout", "dat"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + uart0: serial@640 { compatible = "brcm,bcm6345-uart"; reg = <0x640 0x1b>; 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"; + }; }; }; From patchwork Thu Oct 10 22:07:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831287 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 58A19D2444F 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=w5HXriOFv/S3jhrJNQ3rb0VdN9/p6/9pLopcuKt5oOk=; b=IAvczuPBFcugJhHAXXoEyZdnaY 0CuEcPu7EfKTZwJxDht+A+oBHVLf7Zig7opqhfdCniujSWlWt2bvDy1zUF0XCiUmgdvbJQj7zkypP VZfh4TRyaM4ir07DQQiMwaOa4EaLUBv1fNjAuyu+o+7f7gJqX2u56NIAViQcICvHhciirDErYc1JR JgqSa4Q9JoGZrZ28W9z0UVxBVCEZxl+vfFw9vmwORG9llHF9+ugDUf4qrk7pIbGiawu678CsXkp8B 0gG+p2HHN5wel+aPK8KU/lcR6WaIQhNqXo5hnQW3Edkrn4d1XePnn8SmwCMekF/a1TiSlrI173GZE aXWhFFFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz2OX-0000000Ednx-2JkS; Thu, 10 Oct 2024 23:16:33 +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 1sz1JT-0000000EVB4-1RrG for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:15 +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=w5HXriOFv/S3jhrJNQ3rb0VdN9/p6/9pLopcuKt5oOk=; b=dW7rlTl92IkexpGUoIqc2LiK1Z eaYf+RH/dUxgYNngt3X+h5EfbGbqL5QBgwJ1UgiDCwVesBDhzHpqXNFO1R7BqHj9CfE5xeyX8/9Sn hq4myBljmYn2aKjYm0EmhsdGAG9bmder+d07bmEwVEDERUPdudPzTmNy0VL+sE9iTYZhsNVZNCJjt lRKvIJSt3NrIKSLFLn16r1bC+yWTvFKPska9kN3F/XdcjBFWd1Fj8gl/a6DTsGc3BxnSndvzfU3zL 9oYX3IPICB+wx2YNFUsO5xs8dkyDMUkic4kfpins+P57XYt6tWUqonjtulas8noplrwUg99sQy+Rz 2L/mbfLQ==; Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JP-00000005gtR-0yaN for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:13 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a999521d0c3so236218266b.1 for ; Thu, 10 Oct 2024 15:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598029; x=1729202829; 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=w5HXriOFv/S3jhrJNQ3rb0VdN9/p6/9pLopcuKt5oOk=; b=Ngj7baTb0PT4eirFs3DSN5LYi1I43e97qbGaRGK/hRmTOg9MkliU6aMNTuFQ5CpE7u wnyDh86Y1JJmsvGpZp4NIM5ZgbRULe6RAnehTeVq3LbkPznHkeYgs1oi+rRE+JDvUgty tZLH69wC7Wv/VAt++cKs7YO+i2QS042QrHSIvXrDwIVdGhVZYkrKfQbLNsfdH32Tdrv6 ie7IeQftbTCsxSsRqwQxdWidv3gufqAKWFgd0oFbsH+VH/1NCBVhVcN/Y/qPSkktAUHn iKZBZRSvkFVoysOCJLVi+NHdOcja7pY95EF4g/0gsLgr11sLqP0jySxPJleDdkLU74oY V5Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598029; x=1729202829; 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=w5HXriOFv/S3jhrJNQ3rb0VdN9/p6/9pLopcuKt5oOk=; b=IDm4mbI3pvhys2D/UFxIPme2NZwDOtnNQMpCoAKh9Asn8Lf/wrNQCSVlXPnHi6Z08b vNZxEl+nPYrwJ/wjV0HrL1tUkN7jQCy6vRQ+4W7oFEmMsL1Sxr5RLDmJjGY1UVI9NF4Q d8oSuAo0XSig7W67oNZvuk/LJMW1WlUWEDIm9CZ/NbLdFi9P4Jf85quPv7Rrk06c4/Yo 8uhDslWTE7v5YcisOmhBgeUzdBHgXalPk4lYGsbkl+jslJMoOmlp0SgDtWdcOvE+0HC3 3Sc7dtv59qW2wfKaUyzHRVip8JK949dQLTaiaWSZkwpEne4AOwcYk+drveS5C9SnQpan yZ4A== X-Forwarded-Encrypted: i=1; AJvYcCXtVf09MHeix5+0mPy9i9pUPQtRPQiRXolstjZT8nf9yUaZrId1Ux3/E+Vr7miMH5MORANjtpugiZR0kEkZokFx@lists.infradead.org X-Gm-Message-State: AOJu0YygFnlDs7ZsguLfTaroSpcY+SE66LpjMrFKzAIdTrdv9GsD5vyU QKzvch0JDA2aPjuz+GJfZ5GsJLSIzBPcCyfSOO4TuS19i8oLUFiusuOfSOw/gF0= X-Google-Smtp-Source: AGHT+IEZy1RHO28/EaYtFFyoChOil57vWlWJTfUAcCTQgT9S9E0UCiwYifQzJhin1E1+TWgoHD08jw== X-Received: by 2002:a17:907:e2d7:b0:a99:4a87:cc7c with SMTP id a640c23a62f3a-a99b95ea990mr32439666b.58.1728598028753; Thu, 10 Oct 2024 15:07:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:08 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:03 +0200 Subject: [PATCH 5/8] ARM: dts: bcm6846: Add LED controller MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-5-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_230711_659259_76477674 X-CRM114-Status: GOOD ( 10.65 ) 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 Add the BCMBCA LED controller to the BCM6846 DTSI. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm6846.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi b/arch/arm/boot/dts/broadcom/bcm6846.dtsi index 2d1c74ce79ac..e4fe5a2f6952 100644 --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi @@ -198,6 +198,14 @@ rng@b80 { reg = <0xb80 0x28>; }; + leds: led-controller@800 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,bcm63138-leds"; + reg = <0x800 0xdc>; + status = "disabled"; + }; + hsspi: spi@1000 { #address-cells = <1>; #size-cells = <0>; From patchwork Thu Oct 10 22:07:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831668 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 CE5A0D24462 for ; Fri, 11 Oct 2024 00:46:40 +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=nIMH4P7sUxAOEykF4oNU7nEtUnqAcVv2WKZWuAbTPs8=; b=2UQAvBXiaj328ev47SniQVNgsC zcGPbq81uJsU4qvv2dZhpv5D4sMQ0HtRwvh99xnWLts6gGOH7/BcoS59kLcbIt7IkwIObWhbLbOUJ l2xnb+5+Ny6UGlTwXBbp5ouc6SYUMlt4DMBfuyJAl4lUa4S14fAzpB+Ec821sntyeEd24E7fgZUKP MO07sbxX3pVLbPBBuEmHi1oiGqW3xhAP/44cBTnYt4PfJyvia/mNakOQCI3nRJcIu9cY70o90Oj41 /KxxUuHGsMMhP9SSo4t1+g7Z8EvMEi7IgVGjf3lOpcOpPv88jOg42S8Qf1h30bEw2EzpGToI2cwBP vhDNOuLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz3nc-0000000EpvA-0Pok; Fri, 11 Oct 2024 00:46: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 1sz1JU-0000000EVBL-2sxO for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:16 +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=nIMH4P7sUxAOEykF4oNU7nEtUnqAcVv2WKZWuAbTPs8=; b=NiZ7+D8eKQkLeN5Zc5okFVqoiD slYJJimRfPaqCfQbcU3Ooo1RjtrpF9tDSqLb8QEfNb71O+J4KrJWuy6D5Cu5O0eE0qTLclbMNJXhO yTJwyQBoYILytQrzhZ+FNyqqjikC2OUSqefWQDETh0ItDAkUlIlEfOOGu1PcSx61zYhXrDauAmT01 ylUaSYv79Ad4dpovKowL4c0vpfMUZDANSEHNsDmuJ0F7dzyEC7e9Mhq8pa/M2ONZqewYhUBDFoD/q 0iunRzYQfbHmWErv3UihIvl2/PzfG5u0YlVc2L7/12dO0MxBgpCjx+SpSi3a3lNBGAqLJHciIsZg0 gor1X9iA==; Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JR-00000005gu4-0vwO for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:15 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5c87c7d6ad4so1846874a12.3 for ; Thu, 10 Oct 2024 15:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598031; x=1729202831; 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=nIMH4P7sUxAOEykF4oNU7nEtUnqAcVv2WKZWuAbTPs8=; b=QSI3Fw79D8QCJNaIqCh3Um6AIxXG332vo9o+k5yQppou6rmOWyeHKCOSuu76UEEAFm NNZf277e+qoQ5myIZPLJhmnMMHWC42LNiME6uHIsqNbky1oIFmR3Mxuky0zmDqIUoPcI GS/ErCoKkL34VzQvNsiVcsx+9AhgIZTojtzEbg2mlTXIUMTpgdhy2W5mZ9RyVwhk8TTU 93ZcMubgI9gg1tC06iYwtB6aAjnSEvAvVmkUDNXh7ubq3ZUveHAaYm7yqSezp7kRzZFK T5cZ4TTkf6iDOa5fJ5b0e2+PgOU7aippQS+Ic3wfj6BMHFoqsbOzY8ACilvsQnSfACiv KZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598031; x=1729202831; 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=nIMH4P7sUxAOEykF4oNU7nEtUnqAcVv2WKZWuAbTPs8=; b=szr3n+SvrwYgNZ9NX0mTJ/geyDuzB4XtbcvUYZobWnwSoSsJWO2TBxzEnCGU1SQw/r QYvSJ1NsM5C41Lq/cXvGYtN29JL/iyRLa/AoH4QtZylRmifBgGm34PywyuCYah+2GqZp vq4q2MSXdE4+r6oXJDw0hLwn9gmHJH6g+csS+2eX9MX0uFCMV1YAMy1Tyw1jG5KIfm8Y EdQa8vtTDwDBH73IBF79z4jV/boxJvw9IbNTIhIG3ME2IYW227LG8yk7oF1uy+mx0byQ f3ireCVp/PvLBCtAI/FsaSL3XpTGZ/LbufEePUzsOK03Q3BKh38osL0aYMkvu9BuOjSd 3vCg== X-Forwarded-Encrypted: i=1; AJvYcCVSHixi8HKAuZtRAEHkduw6L1Ygpg6qss4s7F6BNKgBp2ugD2+OiS7/bGOcZRCcyszkJowTJrtyNRhGYekDv0mB@lists.infradead.org X-Gm-Message-State: AOJu0YxpTjKlvm2U2IlazVIr9Ll5AA626wlD+TaMuYlueC7G4ku6Yq6E ubN7LQFCCleSMcG0XBRyinhwCZtX5J9dlr1LQc1ra0XXgMfCAslyPRqQs3geuS0= X-Google-Smtp-Source: AGHT+IElOWEsTKPKL6x4gCEfBn3KD5ItDKH+NmNurB+h89vaAjf6GZmAnfZ2Tpd2x5sKo9T3QaMTZw== X-Received: by 2002:a17:907:c7e1:b0:a99:762f:b298 with SMTP id a640c23a62f3a-a99b958395bmr36007866b.41.1728598030768; Thu, 10 Oct 2024 15:07:10 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:09 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:04 +0200 Subject: [PATCH 6/8] dt-bindings: vendor-prefixes: Add Genexis MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-6-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_230713_538211_BFD99D82 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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 Genexis is Swedish/Dutch company producing broadband access equipment. Link: https://genexis.eu/ Signed-off-by: Linus Walleij Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index b320a39de7fe..43d936361fdd 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -567,6 +567,8 @@ patternProperties: description: Gemtek Technology Co., Ltd. "^genesys,.*": description: Genesys Logic, Inc. + "^genexis,.*": + description: Genexis BV/AB "^geniatech,.*": description: Geniatech, Inc. "^giantec,.*": From patchwork Thu Oct 10 22:07:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831669 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 54C4BD2444F for ; Fri, 11 Oct 2024 00:46:41 +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=Q4Bp0lkW4glKBi3HhK96wAhVuj3XUXyoYbV+zZ+35KQ=; b=RkGb/unk6kOH6+ioa+dHr/IEdE DaQ+U8OOYyJZ2AlyCqK3RvAeo+ichmqwmmHHAcdlF8UQKBP6T7QTJAcXo4qQ6/uOuGVGoEqV9drSh bnzsR8I6pkdx/TT0vtWxA+mDNlnncmxjnHdB+zalMZZqxHhJ7HlBzVRBuaYb/v6IhMmm1d9fOLf4D MDG95SxHBU9UV7v8ISiCgC7hV/seHjThBoz20kfewcsI7PxVPzVu9KnnBriz5zv7iUItsJEWRXfrN J5Nx+9Fkcb9L1iRUZEVPHpAAwQxG5VflNCirL7ymmcEWkj2TxDUyugNdSV4rJa55OoC0vIxyhnqnQ 0SaMqZiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz3nc-0000000Epvj-2dLX; Fri, 11 Oct 2024 00:46: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 1sz1Jj-0000000EVCR-1aRj for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:31 +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=Q4Bp0lkW4glKBi3HhK96wAhVuj3XUXyoYbV+zZ+35KQ=; b=MsK3328phQ7xHujJYCiPxrN8yN jIvlNAkP6AWlhgoQwObDYyuWADfiVdeTWgbSqdk57ZbLOksNf/Slyf7ew+M8VuVvIS8TIMI2J9WH/ cLTjr8LrXpw32PkZAKhV5Bwtaeyy2C2542aDg4XJxKRK/hPO21hSiIW7ujnjcwQIYqE2E1Kmbb1O4 IE/qJFtaZB41ui8r4wmpkZeP0OrANhKSlNXWHth3Jb5zOjEQ+5upoxeGwC+ZeiEKaGfcMEhse0b2V rbfN8X6UVzqS0HfrZyj17RcpDzcNFPKri5t19dDdxax56YSifcftMu+jY8wX19dHlFzict/J1eT5X wV5ZmX8Q==; Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JR-00000005gu6-48v5 for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:17 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a99388e3009so196643066b.3 for ; Thu, 10 Oct 2024 15:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598032; x=1729202832; 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=Q4Bp0lkW4glKBi3HhK96wAhVuj3XUXyoYbV+zZ+35KQ=; b=HaVU79ObWne4/h27ZDi7IwbzP+UE3Bm4NggvdpmK8sYEEAgrCjr1N2Ge8e3LHYAHqi +Y4qoPKjWYneL6frqSanXwBc9GPqyXr3UD7cqfN7+euIjcaCpuBHbPc8P6TJcLzDBb8c snA7SAtUt5Gx7zzGQp1ZAhp1JMyw33lNG5T48um+FmxvoM+G7rhAkG/MRqU376pyhApm TP5w3l8xozK3qcyPE22GApc6WAzDTdc2StPvdnuXLRUVkjbKZjDAFiVW234G9gvO0v3h QMGOhLrFFtCin1jO9T6h24JcqZd+eYaQ1NlVP9lW95P1S69NJjuVyJJ4F9zgh2IibM/1 oTFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598032; x=1729202832; 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=Q4Bp0lkW4glKBi3HhK96wAhVuj3XUXyoYbV+zZ+35KQ=; b=QFZGUSzHP8G8jrhDqf6W9x73cE2n775RIR5tWpY0HTWUeqfL8AFbr+LG5gxDovslbo 6y/E/sHz9NUJIrfnr/vCuoE4lcp5Ewb/UWLVT3SNI2/CYng29WpMkvTnHBoGzMdh1615 CjeEmnSiMtcwMnFR/BlQ94ly2TAvXTqwnfVkHDC2aElHcjR9/Ru/pvaYpZGpxV2z5is1 phT+HW3ulg6kXDyFqtgEuMD1cgFp7ZbfOQpiL5D/y8nugRlZWhwXSoiYTIpfz4fkwdF9 kiYjgqyKgbfAiAccm0g49cPHRqij0RKYfHP4w3RvDK0gwrnXu6Pnolg49OBcoNv0Inoo I/kA== X-Forwarded-Encrypted: i=1; AJvYcCV+Z0LM5UVJ9rs8CYtD8v8t3TAV1ei4sXzOi1VEli8N6Nc6X5Zy8kYW213zY7y3ML9ubnEHWZ7c9wuAFqMFt48c@lists.infradead.org X-Gm-Message-State: AOJu0YyzVBL8K26fgomeeCWMd55tFNnZtI7w/JylOesD0J1gurNuIiL7 dZCdulJ5zepxerzUxNJ4p5gghRpjun4JuQ+jKuJVQ+aGczkSrqhkkV0qoJpnI3U= X-Google-Smtp-Source: AGHT+IGTGfTQjc4S3WjDvatVl0goiaZ8sKiJADoQegR7hLDsKLQHNxihQnAAM8q1tHu84+xtpr+7aQ== X-Received: by 2002:a17:907:d3d8:b0:a8d:4e26:c9b9 with SMTP id a640c23a62f3a-a99b9583165mr33226666b.17.1728598031751; Thu, 10 Oct 2024 15:07:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:11 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:05 +0200 Subject: [PATCH 7/8] dt-bindings: arm: bcmbca: Add Genexis XG6846B MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-7-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_230714_227531_5DD277F2 X-CRM114-Status: GOOD ( 10.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 device tree bindings for the Genexis XG6846B router/gateway/broadband modem. Signed-off-by: Linus Walleij Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml index 07892cbdd23c..2223234be687 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml @@ -115,6 +115,7 @@ properties: items: - enum: - brcm,bcm96846 + - genexis,xg6846b - const: brcm,bcm6846 - const: brcm,bcmbca From patchwork Thu Oct 10 22:07:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13831240 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 EA37AD2444F for ; Thu, 10 Oct 2024 22:19:52 +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=0dEMPSv5xphvOh5Xq8FMvCt68pBBmIf3u2KGvjXht9A=; b=nDJtmSLMLtubtN/9GtGWOqOKuN WoEM/hzglV1KfdeV55VzM7zvKzrjDYk91x3LGJ/7zpAD0UAy9i0MNnWI590GJIL4QmEoqBD6IXbih j+iU7xn6xaE8S3hjofS/Hks2N1NspH9b0HrUNGAEjoVv3ctkLIky4XCXbGs+b4EqGIsZxoHnzaTTN mffYA5Rt/tsqI+r4+uCz//IzhXpPuZOgv6jzky3EDabtHiXwUgpD+GeCLr/ZGjves2B4nEZzIZNlm 8+CcXoQletQQ3kdsd9uI/Zq5Ht0O51FLnwBMj0zootJyhItlceInVWSVYEiyr2EM+SJiPivkDNLDE UcOP+Bcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sz1VX-0000000EWmd-1XUn; Thu, 10 Oct 2024 22:19:43 +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 1sz1Jk-0000000EVCV-0ZaB for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 22:07:32 +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=0dEMPSv5xphvOh5Xq8FMvCt68pBBmIf3u2KGvjXht9A=; b=g8utyj2Zi1uYxZMY7XGmn59vle LWuJESM9AzOsIe4fIwyCPIFL1ltR8oEeSRDtjj4bSvQoabv25AniAF8PdxUidSge+aLJUNsiOiLu0 cq+826SuL0gRjNhgUZ6rpd7VWeOJi/AmRiQ+fTp6LszgMYxlrddoYvXlZJhNUHZbkoK9EBp3Sjj3A 2qpzn4M7Nk2hC5JbLRC2gnVW3z7tDPaJ59VwVKKWH22yFH1m5BGKZwK+gv0xi4HqcWcajYR1vfGq7 JOyKgOEznr0AIW+6BBAIPsf0WrqwfzHYGFJ+DSv+hQSnHCWBiD7lg0z/Wwe3iAe3YOTtWFIltidaU P3xTGHwg==; Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sz1JS-00000005gv4-3grm for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 22:07:17 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a99422c796eso228516766b.3 for ; Thu, 10 Oct 2024 15:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728598034; x=1729202834; 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=0dEMPSv5xphvOh5Xq8FMvCt68pBBmIf3u2KGvjXht9A=; b=MygFBvPahMltF1Q5nAdKP80TCOwpLx2/REI/DQJZMHTklFaiZHHFlgPfmhnwUwG8ed Qk/fZNFg4rslppGGrDGKWo+R4EcondXSrky2zYXbtz9EmuharjY0W4EB04YfietK0Dua aFD8rBB6puD371F2gzoUOxUU1EiF9vzrGeDBm9+CsqRGNU9fNHIe6OCrEp+BLoW82F3q Cm4a5J0wkl1wv96ta+GOikP/+RnOjsqfdAqlRb9AFWy+RzWEc2ikJ5KtxH1W74wzqX0m AJBxQf3c9FitQX2E83KXvSoBamJOt3MT1ZBf11ku5dBSZky5MxqOnjwlCxYYerkmpQvm KVVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728598034; x=1729202834; 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=0dEMPSv5xphvOh5Xq8FMvCt68pBBmIf3u2KGvjXht9A=; b=iXEqkssykbVnxRsuQAqT9mINKQETzVOr8MRXoEEDAgPXfh+9qgL7/JlRoGQ7xyeIDI DhDrb5lrkz8TpYCUo6Hn+QuB4W6EvnU7fDBaIZD0k5u53is3OTKnACjuHmckxORgZqUU L6kTW3n1KFWC3gLc82WhTTJwPyyTJnhPoIFShp+kiGm7qMkxLcI/x4HSu7jAnaQXMY4b XqPXJ/W5QOik9ly+m8PhsgNIa5K+SRl5BEBxQskIsDxTfggYa5fUZwyskCPM/gWa4FZI 2QBWd7rkl0MFfu9Q7osl2tBu5I5reSTA2WFxT7p04OoOzgpN5W+3gGo/5ASbdt4RhJIw hKFQ== X-Forwarded-Encrypted: i=1; AJvYcCUn6EGMc7NiUT228fpVOveLnRyvSEFmOy3lfshrEMQET+9/leWTgr7k+4Ba+hEJly87HoJURm4+SpS3VlOeSWPs@lists.infradead.org X-Gm-Message-State: AOJu0YzfKxXzTp/YzFnk9i9Ehb9LrlVJxk8+oyD4aMYrS/C7Fg3pnj1I EurgngrmJe3HKfnnMF6WL67SNPQi0vdGmCAorR+wO/4IHxjs7fUXtFFuDQJvPIE= X-Google-Smtp-Source: AGHT+IHCwW+0Ol+Olvlp4g0cmVfxufmf4URAuvtSaWo6RW/KFztNmqL4E/D3vThFqKGZROATxf74Fw== X-Received: by 2002:a17:907:e90:b0:a99:5cb4:9ab4 with SMTP id a640c23a62f3a-a99b937b808mr34727166b.23.1728598033681; Thu, 10 Oct 2024 15:07:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 15:07:12 -0700 (PDT) From: Linus Walleij Date: Fri, 11 Oct 2024 00:07:06 +0200 Subject: [PATCH 8/8] ARM: dts: broadcom: Add Genexis XG6846B DTS file MIME-Version: 1.0 Message-Id: <20241011-genexis-xg6846b-base-v1-8-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_230715_403576_C54FA4EA X-CRM114-Status: GOOD ( 15.19 ) 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 a device tree for the Genexis XG6846B router. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/broadcom/Makefile | 1 + .../boot/dts/broadcom/bcm6846-genexis-xg6846b.dts | 244 +++++++++++++++++++++ 2 files changed, 245 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/Makefile b/arch/arm/boot/dts/broadcom/Makefile index 5881bcc95eba..d23cf466127b 100644 --- a/arch/arm/boot/dts/broadcom/Makefile +++ b/arch/arm/boot/dts/broadcom/Makefile @@ -36,6 +36,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-zero.dtb \ bcm2835-rpi-zero-w.dtb dtb-$(CONFIG_ARCH_BCMBCA) += \ + bcm6846-genexis-xg6846b.dtb \ bcm947622.dtb \ bcm963138.dtb \ bcm963138dvt.dtb \ diff --git a/arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts b/arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts new file mode 100644 index 000000000000..a3616fb7b3a8 --- /dev/null +++ b/arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts @@ -0,0 +1,244 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 Linus Walleij + */ + +/dts-v1/; + +#include "bcm6846.dtsi" +#include +#include +#include + +/ { + model = "Genexis XG6846B Ethernet layer 2/3 router"; + compatible = "genexis,xg6846b", "brcm,bcm6846", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* Micron D9PTK 256 MB RAM */ + memory@0 { + device_type = "memory"; + reg = <0x0 0x10000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + secondary-boot@0 { + no-map; + reg = <0x00000000 0x00008000>; + }; + pmc3-firmware@8000 { + no-map; + reg = <0x00008000 0x00100000>; + }; + }; + + gpio-keys { + compatible = "gpio-keys-polled"; + poll-interval = <20000>; + + /* Called "canyon rescue button" in the vendor DTB */ + button-restart { + label = "Reset"; + linux,code = ; + gpios = <&gpio0 41 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; + +&gpio2 { + status = "okay"; + /* Totally 79 GPIOs are available */ + ngpios = <15>; +}; + +&uart0 { + status = "okay"; +}; + +&leds { + status = "okay"; + brcm,serial-shift-bits = <16>; + + led@0 { + reg = <0>; + active-low; + function = "ext"; + color = ; + }; + + led@1 { + reg = <1>; + active-low; + function = "ext"; + color = ; + }; + + led@3 { + reg = <3>; + active-low; + function = LED_FUNCTION_WAN; + color = ; + }; + + led@4 { + reg = <4>; + active-low; + function = LED_FUNCTION_WAN; + color = ; + }; + + led@5 { + reg = <5>; + active-low; + function = LED_FUNCTION_POWER; + color = ; + }; + + led@6 { + reg = <6>; + active-low; + function = LED_FUNCTION_POWER; + color = ; + }; + + led@15 { + reg = <15>; + active-low; + function = LED_FUNCTION_USB; + color = ; + }; + + led@7 { + /* Activity 03 */ + reg = <7>; + active-low; + function = "lan1"; + color = ; + }; + + led@8 { + /* Activity 04 */ + reg = <8>; + active-low; + function = "lan1"; + color = ; + }; + + led@9 { + /* Activity 03 */ + reg = <9>; + active-low; + function = "lan2"; + color = ; + }; + + led@10 { + /* Activity 04 */ + reg = <10>; + active-low; + function = "lan2"; + color = ; + }; + + led@11 { + /* Activity 03 */ + reg = <11>; + active-low; + function = "lan3"; + color = ; + }; + + led@12 { + /* Activity 04 */ + reg = <12>; + active-low; + function = "lan3"; + color = ; + }; + + led@13 { + /* Activity 03 */ + reg = <13>; + active-low; + function = "lan4"; + color = ; + }; + + led@14 { + /* Activity 04 */ + reg = <14>; + active-low; + function = "lan4"; + color = ; + }; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; + + /* Winbond W29N02GV, 256MB with 128KB erase blocks */ + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + loader@0 { + label = "loader"; + reg = <0x00000000 0x00400000>; + }; + image@400000 { + label = "image"; + reg = <0x00400000 0x0fb00000>; + }; + /* 0x00ff0000-0x00ffffff: bad block list */ + }; +}; + +&mdio { + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + phy2: ethernet-phy@2 { + reg = <2>; + }; + phy3: ethernet-phy@3 { + reg = <3>; + }; + phy4: ethernet-phy@4 { + reg = <4>; + }; + phy21: ethernet-phy@21 { + reg = <21>; + }; +};