From: Andreas Kemnade <andreas@kemnade.info>
To: Kory Maincent <kory.maincent@bootlin.com>
Cc: Tony Lindgren <tony@atomide.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Kevin Hilman <khilman@baylibre.com>,
Roger Quadros <rogerq@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Bajjuri Praneeth <praneeth@ti.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] arm: dts: omap: Add support for BeagleBone Green Eco board
Date: Fri, 23 May 2025 21:43:53 +0200 [thread overview]
Message-ID: <20250523214353.6e46574a@akair> (raw)
In-Reply-To: <20250523-bbg-v1-1-ef4a9e57eeee@bootlin.com>
Am Fri, 23 May 2025 17:57:42 +0200
schrieb Kory Maincent <kory.maincent@bootlin.com>:
> SeeedStudio BeagleBone Green Eco (BBGE) is a clone of the BeagleBone Green
> (BBG). It has minor differences from the BBG, such as a different PMIC,
> a different Ethernet PHY, and a larger eMMC.
>
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> ---
>
> The pmic binding is currently only in regulator tree. I don't know if it
> should be merged in omap tree or in regulator tree due to that binding
> dependency.
Well, the pull request for omap stuff to soc is already sent, so this
will go into 6.17 probably while the regulator stuff seems to be
scheduled for 6.16. So this issue will solve itself.
> ---
> arch/arm/boot/dts/ti/omap/Makefile | 1 +
> arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170 +++++++++++++++++++++
> 2 files changed, 171 insertions(+)
>
> diff --git a/arch/arm/boot/dts/ti/omap/Makefile b/arch/arm/boot/dts/ti/omap/Makefile
> index 95c68135dd0c..1aef60eef671 100644
> --- a/arch/arm/boot/dts/ti/omap/Makefile
> +++ b/arch/arm/boot/dts/ti/omap/Makefile
> @@ -93,6 +93,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
> am335x-boneblue.dtb \
> am335x-bonegreen.dtb \
> am335x-bonegreen-wireless.dtb \
> + am335x-bonegreen-eco.dtb \
> am335x-chiliboard.dtb \
> am335x-cm-t335.dtb \
> am335x-evm.dtb \
> diff --git a/arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts b/arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts
> new file mode 100644
> index 000000000000..521f92347bbe
> --- /dev/null
> +++ b/arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts
> @@ -0,0 +1,170 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * Copyright (C) 2025 Bootlin
> + */
> +/dts-v1/;
> +
> +#include "am33xx.dtsi"
> +#include "am335x-bone-common.dtsi"
> +#include "am335x-bonegreen-common.dtsi"
> +#include <dt-bindings/net/ti-dp83867.h>
> +
> +/ {
> + model = "TI AM335x BeagleBone Green Eco";
> + compatible = "ti,am335x-bone-green-eco", "ti,am335x-bone-green",
> + "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
> +
these compatibles should be defined in
Documentation/devicetree/bindings/arm/ti/omap.yaml
But are that much really necessary? At least ti,am335x-bone-black looks
strange in the list, it does not look as it is derived from it.
> + cpus {
> + cpu@0 {
> + cpu0-supply = <&buck1>;
> + };
> + };
> +
> + sys_5v: sys-5v {
> + compatible = "regulator-fixed";
> + regulator-name = "sys_5v";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + regulator-always-on;
> + };
> +
> + v3v3: v3v3 {
> + compatible = "regulator-fixed";
> + regulator-name = "v3v3";
> + regulator-always-on;
> + };
> +};
> +
> +&usb0 {
> + interrupts-extended = <&intc 18>;
> + interrupt-names = "mc";
> +};
> +
> +&baseboard_eeprom {
> + vcc-supply = <&v3v3>;
> +};
> +
> +&i2c0 {
> + /delete-node/ tps@24;
> +
> + tps65214: tps@30 {
generic node names please, so pmic@30.
And maybe while you are at it, maybe you can clean up the tps@24 stuff.
Regards,
Andreas
next prev parent reply other threads:[~2025-05-23 20:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 15:57 [PATCH 0/2] Add support for BeagleBone Green Eco board Kory Maincent
2025-05-23 15:57 ` [PATCH 1/2] arm: dts: omap: " Kory Maincent
2025-05-23 19:43 ` Andreas Kemnade [this message]
2025-05-23 15:57 ` [PATCH 2/2] arm: omap2plus_defconfig: Enable TPS65219 regulator Kory Maincent
2025-05-23 19:48 ` Andreas Kemnade
2025-05-23 19:17 ` [PATCH 0/2] Add support for BeagleBone Green Eco board Rob Herring (Arm)
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=20250523214353.6e46574a@akair \
--to=andreas@kemnade.info \
--cc=aaro.koskinen@iki.fi \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=kory.maincent@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=praneeth@ti.com \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).