From patchwork Thu Dec 30 11:05:35 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: 12701387 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 7B020C433EF for ; Thu, 30 Dec 2021 11:07:15 +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: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:In-Reply-To:References: List-Owner; bh=16rKaDoaxmjbdvM3yBdwC0Sm26msxl5XbX1NmdjMaPY=; b=BdZ2Q11N8IC1jP 3dkjuqHqM/QWcH29VIpov/pMriZN6nihnz4JK7Q6Ujg3k6ydWD3h2fuYd6xSpSWiSmquYt2eUABPC SOJES9J0wT10cywj8IazZXvV0O4oZn/e2/o17mjsCE0GolmKu04v23r4XBpKLU8b0RBZ6C1w/BFsu hCHQLly1wpA4CGiwOi6knwAyeBkCWVE+dIbijmmIdB7A+No+onjR3u0JT+WEHVkN7pOaV5HjcQz2S 6tTx7ZxLXpwliQTB49L/J1S31wlB7/kSJ/CNEJDyaCA52n0aXXEPc6zIiZbBmeaScVulOw540loux Yf4ExmDvm0oCkJorpS3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2tFl-004FwM-N6; Thu, 30 Dec 2021 11:05:49 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2tFi-004Fvy-8k for linux-arm-kernel@lists.infradead.org; Thu, 30 Dec 2021 11:05:47 +0000 Received: by mail-lf1-x12b.google.com with SMTP id i31so53667712lfv.10 for ; Thu, 30 Dec 2021 03:05:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jv4pwgd1fihkEeiAHp/vtKcQgZuYWKKujmjMorzehpE=; b=b5sB+65vByqSrqg8Mw9rVA57hLwE7wPypcomk3vBx8LitzbsTJIuMHljqS1y4UlVmX +QHTJOreXBtShwCt8WCyKoZQU27tRWzp2qcimgBc06V/B4IhOaRxeESMAZc2VerhpqoH mph3L4WTS/IO+Xaw9c/DYAIlPcG6LqgHv8jYRR72/rOB2GnKsLHiDaKtLGBUSnlEwFX0 qc+gcX8ASIpHvLgcI4br4WeAW0wMMMXSkhuI3ze8MlpTblXI/wUTmE88sgLThQTcWb2A +zUhMbd1eRK9kyjP4wD80L2BsK8N529KZCI5UomJ28pClJpApBuxpJYsz/sfL+xpcXh/ 5UCg== 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:mime-version :content-transfer-encoding; bh=Jv4pwgd1fihkEeiAHp/vtKcQgZuYWKKujmjMorzehpE=; b=DFPykJs0BgiTKNduULDXm1L+DlDCnP4BFADCGarjtAJvIZAa2u14iP6Z7SN7TPZZpJ 72fPD3Nk1PZJyenxsLeEnsQgA6sq//1XjYeoTF2//o092z7kiQ37zGIBAajukbieAaWf xwKCkjKBdFD/GTqGf4qLd6jaA/lDwfUYDmtx2OHbSZR3DMpwI2tYkz2GqRLkZhdAtuD7 NfyiHKWirj9GECjBOJKezbO1DgLbEQa7YwBVVyGoWdULdeaXHyMScSgBB9E2sZWts7IB TuR89cfTHkftmCg7pELgRA0rnD/aUjja0DJkSW0Ty4IGd4J+ACsuP+ZtZwGQPb46w1nE Np/w== X-Gm-Message-State: AOAM5325Y7hoPKNQDaf7o+sRGk+hRuVFmduzBsUfwmYXBg3MXDAPJO/d 0tdvSA8duogcomXVtiZIoMI= X-Google-Smtp-Source: ABdhPJyRhkRqbdWVxhLmx4GOlWU5h4eeDlbqlw7cDSAMc7utSDSbNBX6MzAnqZvEzGrO+mnxZuLvbQ== X-Received: by 2002:ac2:5308:: with SMTP id c8mr11150921lfh.346.1640862343607; Thu, 30 Dec 2021 03:05:43 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id v22sm2464665ljh.129.2021.12.30.03.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Dec 2021 03:05:43 -0800 (PST) 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] arm64: dts: broadcom: bcm4908: add pinctrl binding Date: Thu, 30 Dec 2021 12:05:35 +0100 Message-Id: <20211230110535.27543-1-zajec5@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211230_030546_353845_650D31EF X-CRM114-Status: UNSURE ( 9.80 ) 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 From: Rafał Miłecki Describe pinmux block with its maps. Signed-off-by: Rafał Miłecki --- Validated with the [PATCH V2 1/2] dt-bindings: pinctrl: Add binding for BCM4908 pinctrl --- .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi index 7034fe5a48ff..e8f62bed1879 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi @@ -287,6 +287,141 @@ gpio0: gpio-controller@500 { gpio-controller; }; + pinctrl@560 { + compatible = "brcm,bcm4908-pinctrl"; + reg = <0x560 0x10>; + + pins_led_0_a: led_0-a-pins { + function = "led_0"; + groups = "led_0_grp_a"; + }; + + pins_led_1_a: led_1-a-pins { + function = "led_1"; + groups = "led_1_grp_a"; + }; + + pins_led_2_a: led_2-a-pins { + function = "led_2"; + groups = "led_2_grp_a"; + }; + + pins_led_3_a: led_3-a-pins { + function = "led_3"; + groups = "led_3_grp_a"; + }; + + pins_led_4_a: led_4-a-pins { + function = "led_4"; + groups = "led_4_grp_a"; + }; + + pins_led_5_a: led_5-a-pins { + function = "led_5"; + groups = "led_5_grp_a"; + }; + + pins_led_6_a: led_6-a-pins { + function = "led_6"; + groups = "led_6_grp_a"; + }; + + pins_led_7_a: led_7-a-pins { + function = "led_7"; + groups = "led_7_grp_a"; + }; + + pins_led_8_a: led_8-a-pins { + function = "led_8"; + groups = "led_8_grp_a"; + }; + + pins_led_9_a: led_9-a-pins { + function = "led_9"; + groups = "led_9_grp_a"; + }; + + pins_led_21_a: led_21-a-pins { + function = "led_21"; + groups = "led_21_grp_a"; + }; + + pins_led_22_a: led_22-a-pins { + function = "led_22"; + groups = "led_22_grp_a"; + }; + + pins_led_26_a: led_26-a-pins { + function = "led_26"; + groups = "led_26_grp_a"; + }; + + pins_led_27_a: led_27-a-pins { + function = "led_27"; + groups = "led_27_grp_a"; + }; + + pins_led_28_a: led_28-a-pins { + function = "led_28"; + groups = "led_28_grp_a"; + }; + + pins_led_29_a: led_29-a-pins { + function = "led_29"; + groups = "led_29_grp_a"; + }; + + pins_led_30_a: led_30-a-pins { + function = "led_30"; + groups = "led_30_grp_a"; + }; + + pins_hs_uart: hs_uart-pins { + function = "hs_uart"; + groups = "hs_uart_grp"; + }; + + pins_i2c_a: i2c-a-pins { + function = "i2c"; + groups = "i2c_grp_a"; + }; + + pins_i2c_b: i2c-b-pins { + function = "i2c"; + groups = "i2c_grp_b"; + }; + + pins_i2s: i2s-pins { + function = "i2s"; + groups = "i2s_grp"; + }; + + pins_nand_ctrl: nand_ctrl-pins { + function = "nand_ctrl"; + groups = "nand_ctrl_grp"; + }; + + pins_nand_data: nand_data-pins { + function = "nand_data"; + groups = "nand_data_grp"; + }; + + pins_emmc_ctrl: emmc_ctrl-pins { + function = "emmc_ctrl"; + groups = "emmc_ctrl_grp"; + }; + + pins_usb0_pwr: usb0_pwr-pins { + function = "usb0_pwr"; + groups = "usb0_pwr_grp"; + }; + + pins_usb1_pwr: usb1_pwr-pins { + function = "usb1_pwr"; + groups = "usb1_pwr_grp"; + }; + }; + uart0: serial@640 { compatible = "brcm,bcm6345-uart"; reg = <0x640 0x18>;