public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: Josua Mayer <josua@solid-run.com>,
	Dennis Gilmore <dgilmore@redhat.com>,
	Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH v2 1/3] arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus
Date: Tue, 5 Mar 2024 11:32:08 +0100	[thread overview]
Message-ID: <76ea692e-c71c-4243-bfa3-9ec34babc3b3@denx.de> (raw)
In-Reply-To: <20240202-helios4-spi-v2-1-df085461d894@solid-run.com>

On 2/2/24 16:13, Josua Mayer wrote:
> SolidRun Armada-388 SoM has an i2c bus supporting on-som eeprom, and
> peripherals on a carrier.
> armada-38x.dtsi disables this bus by default, it should be enabled by
> som or carrier dts.
> 
> Linux has moved i2c0 from helios-4 board dts to som dtsi, including
> status, pinctrl and clock speed.
> Copy these settings from mainline.
> 
> This fixes accessing i2c bus from u-boot commandline.
> 
> Signed-off-by: Josua Mayer <josua@solid-run.com>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> index f6ae784bed..1540162e03 100644
> --- a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> +++ b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> @@ -99,6 +99,11 @@
>   };
>   
>   &i2c0 {
> +	clock-frequency = <400000>;
> +	pinctrl-0 = <&i2c0_pins>;
> +	pinctrl-names = "default";
> +	status = "okay";
> +
>   	eeprom@53 {
>   		compatible = "atmel,24c02";
>   		reg = <0x53>;
> 

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

  reply	other threads:[~2024-03-05 10:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-02 15:13 [PATCH v2 0/3] arm: mvebu: helios-4: add config fragment for spi booting et al Josua Mayer
2024-02-02 15:13 ` [PATCH v2 1/3] arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus Josua Mayer
2024-03-05 10:32   ` Stefan Roese [this message]
2024-02-02 15:13 ` [PATCH v2 2/3] arm: mvebu: helios4_defconfig: enable setexpr command Josua Mayer
2024-02-12 20:40   ` Dennis Gilmore
2024-02-13 13:07     ` Josua Mayer
2024-03-05 10:32   ` Stefan Roese
2024-02-02 15:13 ` [PATCH v2 3/3] board: helios-4: add config fragment for spi booting Josua Mayer
2024-02-02 16:06   ` Tom Rini
2024-03-05 10:32   ` Stefan Roese

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=76ea692e-c71c-4243-bfa3-9ec34babc3b3@denx.de \
    --to=sr@denx.de \
    --cc=dgilmore@redhat.com \
    --cc=josua@solid-run.com \
    --cc=trini@konsulko.com \
    --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