From patchwork Wed Oct 16 06:41: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: 13837786 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 D26F6D206A0 for ; Wed, 16 Oct 2024 06:42:54 +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: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IHpoVJww4K9cANVMNaON+Sfj4Ffj7mQXCxfp8axps3o=; b=d15KzTQVk8Szd/ /ZPrIuuXr4k0QUbAp+v6Nrc6oQm76falDnXCPtEUtGxEj6Eb3IRWfgrPs7U1HkG8ASuQKOgeZonMt 3MF1CpEyYks2/DLHkwq8XmkawTlsiJKNAM1z3wUtDBRLAiTk7IBfgFzq7DHndckp91AgK0WRJ4PPf 4PZ0heYNH1/B52Z6RAQHA6XwSB4wgOCaLuvxCmIMtE8dWGI6JgbF0Nn0eqzPr2NkQ6xmkk96vs1fo J1iLGGG+9S7F25VAF/lRyj8Vh6utbH+BpHVWB5Dy0i77qXvDHFYbV4cr4lvxMVKY5k5+QL8ltSuuK LsYpJW4yw4aOBY+vJuoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0xk4-0000000AiVY-2X1T; Wed, 16 Oct 2024 06:42:44 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0xiT-0000000AhyO-3JMR for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 06:41:09 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539f4d8ef66so4181385e87.1 for ; Tue, 15 Oct 2024 23:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729060864; x=1729665664; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=IHpoVJww4K9cANVMNaON+Sfj4Ffj7mQXCxfp8axps3o=; b=VifXwhKzU0ZRfOkBVBY1Ez8kaKnB6eqSJy34EZRvO03B40ZQ8QBhls4QSZAr/B7X/O jklCDFKLVTzZxmBdtJj0Ouv38BuagQZCnFXY/CuharOvIDM1FcUBJhOorKQJaY6Rg8UO puGA41uYdWgTBArIK8bQiEgAFlHPaPBMTBceRbi88BVswVyMnKymTA8Y39h9O5IN7/9y 9SnNlKKJq0MA6c3xVpNpMT8W1IlxDrbjiTIYUm5agaCiBwdgJhU+83oRO2yqCHNR/DJh VaHxziXNY9NLdUqt/Kc0eIGcx3FyyFe/8Rvtaicde6iUKPcluikOBQay7hjf+asFFSqs YGTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729060864; x=1729665664; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IHpoVJww4K9cANVMNaON+Sfj4Ffj7mQXCxfp8axps3o=; b=lF2wSKXrTTasKd6NO/zy5kO7R1H+NluCESh1aM3Yz8rUbCZx9vyoEG2b2cf7tOFL2p ZycZzoBtOsEIMB5qBNcW5W8UL8Up5Sc7KkNtWxMmny9J6dxXGsDs85Gpxj3Cr3O7YsvU J+XYejwkIRM+e0lZFPCb3B7gYtMJKZG+/J2rnENnYSPiLosiYv570uID6+Ug1RdUEtR3 MfNRhVnBb1TzEVU3ZN8drZW3YM8MhD6VdWAaog/esNJXNbuCOa7I/bVA3Xady2RIvTt+ Rtoo3IPP8zxTKJg3G56f6HpCRkErxjE0I0CjvTQc6mHBpKyhaUJv13G6sBjgfK2Jeo01 mmnA== X-Forwarded-Encrypted: i=1; AJvYcCWWZGQHH0V7SXLgDjNzh7PGGjuVgjS+SqqqWzQWdOvBZMGH41k821JbzHfhQc+IJARsqq/hOFFc7r7JlTmSmh3f@lists.infradead.org X-Gm-Message-State: AOJu0YxAr7iekkHEwDzEijXm7SGnJ+N2cwUmu1aQ55VDw9E7ZbRJfCjx BFN1nASdf+F0a0o2hQi3rIR3pPIx3faY8EFYXs1jlnrWWuTE/aE3iSZCBnW02rE= X-Google-Smtp-Source: AGHT+IEJKOLOsiON95SfIvuRNZLGzjtGCOzX0eXi1QpDK7Rj3YoBmunqlhuTIkGgBbOOk5Q6X1VeEA== X-Received: by 2002:a05:6512:3b86:b0:539:de9c:c890 with SMTP id 2adb3069b0e04-53a03f7cf83mr1910378e87.42.1729060863459; Tue, 15 Oct 2024 23:41:03 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-539ffff3a50sm357455e87.144.2024.10.15.23.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 23:41:03 -0700 (PDT) From: Linus Walleij Subject: [PATCH v2 0/9] ARM: dts: Add some BCM6846 device tree Date: Wed, 16 Oct 2024 08:41:00 +0200 Message-Id: <20241016-genexis-xg6846b-base-v2-0-6a7cc2ee57eb@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPxfD2cC/22NQQrCMBBFr1Jm7cikDUFdeQ/pomkn6YAkkpRQK b27seDO5Xvw398gcxLOcGs2SFwkSwwV2lMD4zwEzyhTZWip1YoUoefAq2RcvbloY9EOmZFd5yy PZJkU1OkrsZP1yD76yrPkJab38VLU1/6C6n+wKCR0pCfjjLt2I9+fEoYUzzF56Pd9/wBnwNLUu QAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Benjamin Larsson , 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-20241015_234105_910171_173D199C X-CRM114-Status: GOOD ( 14.01 ) 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 some silicon blocks to the BCM6846 DTSI file and adds a device tree for the Genexis XG6846B device that make use of it. This is mainly so as to get this off my hard drive and share the basics with others who want to work on the BCM6846. I think most of the DTSI changes can be just copied verbatim to the rest of the BCMBCA family (maybe extracted into a common bcbca.dtsi?) but let's think about that later. This will do for now. The XG6846B device tree uses the new shift register bits property of the BCM63138 LEDs, which is ACKed by the DT maintainers albeit not yet merged in the LED tree. Signed-off-by: Linus Walleij --- Changes in v2: - Use the new "brcm,bcm6846-mdio" compatible for the MDIO block. (Merged to the netdev tree). - Add the ARM PrimeCell PL081 DMA controller block. - Link to v1: https://lore.kernel.org/r/20241011-genexis-xg6846b-base-v1-0-f04d6f6f93ce@linaro.org --- Linus Walleij (9): ARM: dts: bcm6846: Add iproc rng ARM: dts: bcm6846: Enable watchdog ARM: dts: bcm6846: Add GPIO blocks ARM: dts: bcm6846: Add MDIO control block ARM: dts: bcm6846: Add LED controller ARM: dts: bcm6846: Add ARM PL081 DMA block dt-bindings: vendor-prefixes: Add Genexis dt-bindings: arm: bcmbca: Add Genexis XG6846B ARM: dts: broadcom: Add Genexis XG6846B DTS file .../devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/broadcom/Makefile | 1 + .../boot/dts/broadcom/bcm6846-genexis-xg6846b.dts | 244 +++++++++++++++++++++ arch/arm/boot/dts/broadcom/bcm6846.dtsi | 120 ++++++++++ 5 files changed, 368 insertions(+) --- base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc change-id: 20241010-genexis-xg6846b-base-ef3fbec0be01 Best regards,