public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Johan Jonker <jbx6244@gmail.com>
To: kever.yang@rock-chips.com
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de
Subject: [PATCH v1 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges
Date: Thu, 16 Mar 2023 17:47:27 +0100	[thread overview]
Message-ID: <d6e940a1-3285-b46a-324e-0246cd4f95aa@gmail.com> (raw)
In-Reply-To: <e5d4d2d9-f1f8-3ff5-ab08-ad00c8814aee@gmail.com>

The gpio node names are made generic, but without
gpio bank ID. Add gpio-ranges to rk3066a-u-boot.dtsi
for now till a better method is found.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/dts/rk3066a-u-boot.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm/dts/rk3066a-u-boot.dtsi b/arch/arm/dts/rk3066a-u-boot.dtsi
index bc6e609d..8d4e1ad2 100644
--- a/arch/arm/dts/rk3066a-u-boot.dtsi
+++ b/arch/arm/dts/rk3066a-u-boot.dtsi
@@ -2,3 +2,28 @@

 #include "rockchip-u-boot.dtsi"
 #include "rk3xxx-u-boot.dtsi"
+
+&gpio0 {
+	gpio-ranges = <&pinctrl 0 0 32>;
+};
+
+&gpio1 {
+	gpio-ranges = <&pinctrl 0 32 32>;
+};
+
+&gpio2 {
+	gpio-ranges = <&pinctrl 0 64 32>;
+};
+
+&gpio3 {
+	gpio-ranges = <&pinctrl 0 96 32>;
+};
+
+&gpio4 {
+	gpio-ranges = <&pinctrl 0 128 32>;
+};
+
+&gpio6 {
+	gpio-ranges = <&pinctrl 0 192 32>;
+};
+
--
2.20.1


  reply	other threads:[~2023-03-16 16:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 16:46 [PATCH v1 1/6] rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider Johan Jonker
2023-03-16 16:47 ` Johan Jonker [this message]
2023-03-18 20:20   ` [PATCH v1 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges Simon Glass
2023-03-19 15:46   ` Jonas Karlman
2023-03-16 16:47 ` [PATCH v1 3/6] arm: dts: rockchip: rk3188-u-boot: " Johan Jonker
2023-03-18 20:20   ` Simon Glass
2023-03-16 16:47 ` [PATCH v1 4/6] arm: dts: rockchip: sync rk3066/rk3188 DT files from linux-next v6.2-rc4 Johan Jonker
2023-03-18 20:20   ` Simon Glass
2023-03-16 16:48 ` [PATCH v1 5/6] rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE Johan Jonker
2023-03-18 20:20   ` Simon Glass
2023-03-16 16:48 ` [PATCH v1 6/6] rockchip: configs: mk808: enable usb support Johan Jonker
2023-03-18 20:20   ` Simon Glass
2023-03-18 20:20 ` [PATCH v1 1/6] rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider Simon Glass
2023-03-19 11:34   ` Johan Jonker
2023-03-19 12:20     ` Jonas Karlman
2023-03-19 12:55       ` Johan Jonker
2023-03-19 13:51         ` Jonas Karlman
2023-03-19 14:56           ` Jonas Karlman
2023-03-20  1:32     ` Kever Yang
2023-03-20  8:54       ` Johan Jonker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6e940a1-3285-b46a-324e-0246cd4f95aa@gmail.com \
    --to=jbx6244@gmail.com \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox