Add support for BeagleBone Green Eco board
v2 cover Add support for BeagleBone Green Eco board
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.
Also update the omap.yaml binding to include missing compatible strings that were previously undocumented.
---
Changes in v2:
- Add patch 1 to 3 to fix binding and devicetree inconsistencies.
- Rename tps node name to generic pmic node name in am335x-bone-common.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Kory Maincent (5):
arm: dts: omap: Remove incorrect compatible strings from device trees
binding: omap: Add lots of missing omap AM33 compatibles
arm: dts: omap: am335x-bone-common: Rename tps to generic pmic node
arm: dts: omap: Add support for BeagleBone Green Eco board
arm: omap2plus_defconfig: Enable TPS65219 regulator
Documentation/devicetree/bindings/arm/ti/omap.yaml | 39 +++++ arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi | 2 +- arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170 +++++++++++++++++++++ .../boot/dts/ti/omap/am335x-bonegreen-wireless.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts | 2 +- .../arm/boot/dts/ti/omap/am335x-osd3358-sm-red.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-shc.dts | 2 +- arch/arm/configs/omap2plus_defconfig | 3 + 10 files changed, 219 insertions(+), 6 deletions(-)
---
base-commit: e22b9ddaf3afd031abc350c303c7c07a51c569d8
change-id: 20250523-bbg-769018d1f2a7
Best regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
PATCH v2 1/5 arm: dts: omap: Remove incorrect compatible strings from device trees
Several device trees incorrectly included ti,am335x-bone-black or ti,am335x-bone in their compatible lists without including the corresponding bone-black-common or bone-common device tree files. Remove these incompatible strings to fix the inconsistency.
---
Change in v2:
- New patch
--- arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-osd3358-sm-red.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-shc.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts +1 -1
@@ -11,7 +11,7 @@ / { model = "TI AM335x BeagleBone Green Wireless"; - compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone", "ti,am33xx"; wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed";
arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts +1 -1
@@ -10,5 +10,5 @@ / { model = "TI AM335x BeagleBone Green"; - compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + compatible = "ti,am335x-bone-green", "ti,am335x-bone", "ti,am33xx"; };
arch/arm/boot/dts/ti/omap/am335x-osd3358-sm-red.dts +1 -1
@@ -16,7 +16,7 @@ / { model = "Octavo Systems OSD3358-SM-RED"; - compatible = "oct,osd3358-sm-refdesign", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + compatible = "oct,osd3358-sm-refdesign", "ti,am33xx"; }; &ldo3_reg {
arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts +1 -1
@@ -12,7 +12,7 @@ / { model = "TI AM335x PocketBeagle"; - compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx"; + compatible = "ti,am335x-pocketbeagle", "ti,am33xx"; chosen { stdout-path = &uart0;
arch/arm/boot/dts/ti/omap/am335x-shc.dts +1 -1
@@ -12,7 +12,7 @@ / { model = "Bosch SHC"; - compatible = "ti,am335x-shc", "ti,am335x-bone", "ti,am33xx"; + compatible = "ti,am335x-shc", "ti,am33xx"; aliases { mmcblk0 = &mmc1;
Signature · 1 line
2.43.0
Andreas Kemnade
maintainerRe: [PATCH v2 1/5] arm: dts: omap: Remove incorrect compatible strings from device trees
Am Mon, 09 Jun 2025 17:43:51 +0200
schrieb Kory Maincent <[email protected]>:
Quoted 5 lines
Several device trees incorrectly included ti,am335x-bone-black or ti,am335x-bone in their compatible lists without including the corresponding bone-black-common or bone-common device tree files. Remove these incompatible strings to fix the inconsistency.
thanks for cleaning up some mess.
Quoted 18 lines
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-osd3358-sm-red.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-shc.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts +0
-0
arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts line 15
Quoted 6 lines
arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts +1
-1@@ -11,7 +11,7 @@ / { model = "TI AM335x BeagleBone Green Wireless"; - compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone", "ti,am33xx";
this looks like too much cleanup, also according your omap.yaml stuff, ti,am335x-bone-green should still be included.
Regards,
Andreas
Re: [PATCH v2 1/5] arm: dts: omap: Remove incorrect compatible strings from device trees
Quoted 29 lines · Andreas Kemnade
Am Mon, 09 Jun 2025 17:43:51 +0200
schrieb Kory Maincent <[email protected]>:Quoted 5 lines
Several device trees incorrectly included ti,am335x-bone-black or ti,am335x-bone in their compatible lists without including the corresponding bone-black-common or bone-common device tree files. Remove these incompatible strings to fix the inconsistency.
thanks for cleaning up some mess.
Quoted 19 lines
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-osd3358-sm-red.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 2 +- arch/arm/boot/dts/ti/omap/am335x-shc.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)(quoted diff) +0
-0
b/arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dtsindexa4f5b5262645..fb88eebb8c5d100644 ---a/arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts+++b/arch/arm/boot/dts/ti/omap/am335x-bonegreen-wireless.dts@@ -11,7 +11,7 @@
Quoted 9 lines
Quoted 7 lines
/ {
(quoted diff) +0
-1model = "TI AM335x BeagleBone Green Wireless"; - compatible = "ti,am335x-bone-green-wireless","ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
(quoted diff) +1
-0+ compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone","ti,am33xx";
this looks like too much cleanup, also according your
omap.yamlstuff, ti,am335x-bone-green should still be included.
Oh indeed! Thanks.
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
PATCH v2 2/5 binding: omap: Add lots of missing omap AM33 compatibles
In reply to Kory MaincentAdd several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
---
Change in v2:
- New patch
--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +38 -0
@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-black + - ti,am335x-bone-green + - ti,am335x-pocketbeagle + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335 + items: + - enum: + - sancloud,am335x-boneenhanced + - ti,am335x-bone-black-wireless + - const: ti,am335x-bone-black + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone green variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-green-wireless + - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33
Signature · 1 line
2.43.0
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
Quoted 34 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)Documentation/devicetree/bindings/arm/ti/omap.yaml +8
-0@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 10 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +7
-0- ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335
"bone variant" sounds like some shortand or nickname. Are the boards not called "beaglebone green" and "beaglebone black"? Whatever about the compatible, the description should use the full name I think.
Quoted 30 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +23
-0+ items: + - enum: + - ti,am335x-bone-black + - ti,am335x-bone-green + - ti,am335x-pocketbeagle + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335 + items: + - enum: + - sancloud,am335x-boneenhanced + - ti,am335x-bone-black-wireless + - const: ti,am335x-bone-black + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone green variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-green-wireless + - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33Signature · 2 lines
-- 2.43.0
Andreas Kemnade
maintainerRe: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
Am Mon, 9 Jun 2025 18:03:05 +0100
schrieb Conor Dooley <[email protected]>:
Quoted 6 lines
Quoted 1 line
+ - description: TI bone variants based on TI AM335
"bone variant" sounds like some shortand or nickname. Are the boards not called "beaglebone green" and "beaglebone black"? Whatever about the compatible, the description should use the full name I think.
we have an enum below it listing all those variants. So "variants" makes sense here, but better "TI Beaglebone variants"
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 135
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +8
-0+ items: + - enum: + - ti,am335x-bone-black + - ti,am335x-bone-green + - ti,am335x-pocketbeagle + - const: ti,am335x-bone + - const: ti,am33xx +
Regards,
Andreas
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
Quoted 11 lines · Andreas Kemnade
Am Mon, 9 Jun 2025 18:03:05 +0100
schrieb Conor Dooley <[email protected]>:Quoted 6 lines
Quoted 1 line
+ - description: TI bone variants based on TI AM335
"bone variant" sounds like some shortand or nickname. Are the boards not called "beaglebone green" and "beaglebone black"? Whatever about the compatible, the description should use the full name I think.
we have an enum below it listing all those variants. So "variants" makes sense here, but better "TI Beaglebone variants"
Yes, this was a comment on calling it a "bone", when that's not what the boards are called in their marketing material etc, not objecting to the word variant.
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
In reply to Conor DooleyQuoted 29 lines · Conor Dooley
Quoted 27 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 118
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +5
-0+ - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone
What is the convention here? "beagle" is a vendor, so not sure why this continues to be "ti". The owner of the brand for this board is "The BeagleBoard.org Foundation". Not sure if it is reasonable to fix this.
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 121
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +2
-0- ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle
This one is also "beagle", not "ti".
Quoted 10 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 6 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +5
-0+ - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335"bone variant" sounds like some shortand or nickname. Are the boards not called "beaglebone green" and "beaglebone black"? Whatever about the compatible, the description should use the full name I think.
I'm not sure this is really needed. There is some desire to fall-back to a building block level of functionality around these derivatives of "BeagleBoard.org BeagleBone", including compatibility with the expansion headers, but I don't think that will happen at this level. In u-boot, it is possible to make the determination to utilize a less-complete devicetree, but it seems impractical here.
What are the objections to just listing these all as TI AM33 based platforms?
Quoted 4 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 130
Quoted 4 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0+ items: + - enum: + - ti,am335x-bone-black
"beagle"
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 131
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml +1
-0+ - ti,am335x-bone-green
This is a Seeed Technology Co., Ltd. board that licenses the BeagleBone brand from the BeagleBoard.org Foundation, so "seeed", not "ti".
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 132
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml +1
-0+ - ti,am335x-pocketbeagle
Not sure why this one is repeated. Also, it very much begs the definition of being a BeagleBone derivative outside of usage of the PMIC.
Quoted 4 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 136
Quoted 4 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +4
-0+ - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335
There are lots of derivatives of BeagleBoard.org BeagleBone Black and falling back to a compatible makes some sense, but I don't think it is of practical benefit here the way things have worked out. The smarts have to be in the bootloader based off of the board IDs and the kernel is just going to do what it is told.
Now, if we had some practical overlays performed by the kernel, this would all make some sense as patches between these variants provide useful fallback operation, but this is otherwise confusing. I appreciate the credit given to BeagleBoard.org for them being variants, but this really isn't the place.
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 139
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0+ items: + - enum: + - sancloud,am335x-boneenhanced
Note that this one is correct to be "sancloud", who licenses the BeagleBone brand from the BeagleBoard.org Foundation.
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 140
Quoted 1 line
Documentation/devicetree/bindings/arm/ti/omap.yaml +1
-0+ - ti,am335x-bone-black-wireless
"beagle"
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 148
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +8
-0+ - const: ti,am335x-bone-black + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone green variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-green-wireless
"seeed"
Quoted 9 lines
Quoted 9 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +2
-1+ - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33 --2.43.0
Signature · 3 lines
Learn about me and setup a meeting at https://beagleboard.org/about/jkridner - a 501c3 non-profit educating around open hardware computing
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
In reply to Kory MaincentQuoted 34 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)Documentation/devicetree/bindings/arm/ti/omap.yaml +8
-0@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 10 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +7
-0- ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc + - const: ti,am33xx + + - description: TI bone variants based on TI AM335
Do we really need these "bone variants" split out from the above list of TI AM33 based boards? We don't do that for any of the other boards, you get a SoC and a Board compatible, every classification in-between is just unneeded.
Andrew
Quoted 27 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +23
-0+ items: + - enum: + - ti,am335x-bone-black + - ti,am335x-bone-green + - ti,am335x-pocketbeagle + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone black variants based on TI AM335 + items: + - enum: + - sancloud,am335x-boneenhanced + - ti,am335x-bone-black-wireless + - const: ti,am335x-bone-black + - const: ti,am335x-bone + - const: ti,am33xx + + - description: TI bone green variants based on TI AM335 + items: + - enum: + - ti,am335x-bone-green-wireless + - const: ti,am335x-bone-green + - const: ti,am335x-bone - const: ti,am33xx - description: Compulab board variants based on TI AM33
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
Quoted 43 lines · Andrew Davis
Quoted 42 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38++++++++++++++++++++++ 1 file changed, 38 insertions(+)
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindex3603edd7361d..c43fa4f4af81100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -104,12 +104,50 @@ properties:
- description: TI AM33 based platform
items:
- enum:Documentation/devicetree/bindings/arm/ti/omap.yaml +12
-0+ - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc
Quoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0+ - const: ti,am33xx + + - description: TI bone variants based on TI AM335Do we really need these "bone variants" split out from the above list of TI AM33 based boards? We don't do that for any of the other boards, you get a SoC and a Board compatible, every classification in-between is just unneeded.
As omap maintainers prefer. I did that to have the least amount of change in the devicetree. We could have U-boot using these compatible but after a quick check it seems not.
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Rob Herring
maintainerRe: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
Quoted 55 lines · Kory Maincent
Quoted 43 lines · Andrew Davis
Quoted 42 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38++++++++++++++++++++++ 1 file changed, 38 insertions(+)
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindex3603edd7361d..c43fa4f4af81100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -104,12 +104,50 @@ properties:
- description: TI AM33 based platform
items:
- enum:Documentation/devicetree/bindings/arm/ti/omap.yaml +12
-0+ - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onriscQuoted 8 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0+ - const: ti,am33xx + + - description: TI bone variants based on TI AM335Do we really need these "bone variants" split out from the above list of TI AM33 based boards? We don't do that for any of the other boards, you get a SoC and a Board compatible, every classification in-between is just unneeded.
Quoted 3 lines
As omap maintainers prefer. I did that to have the least amount of change in the devicetree. We could have U-boot using these compatible but after a quick check it seems not.
I agree with both. The intermediate compatibles that TI in particular went crazy on have proven to be not useful. However, between having to fix existing .dts files and keeping them, I would just keep them.
Rob
Andreas Kemnade
maintainerRe: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
In reply to Andrew DavisAm Mon, 9 Jun 2025 18:34:10 -0500
schrieb Andrew Davis <[email protected]>:
Quoted 42 lines · Kory Maincent
Quoted 41 lines
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>---
Change in v2:
- New patch--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+)Documentation/devicetree/bindings/arm/ti/omap.yaml +12
-0@@ -104,12 +104,50 @@ properties: - description: TI AM33 based platform items: - enum: + - bosch,am335x-guardian - compulab,cm-t335 + - grinn,am335x-chilisom + - gumstix,am335x-pepper + - moxa,uc-2101 - moxa,uc-8100-me-t + - myir,myc-am335x + - myir,myd-am335x - novatech,am335x-lxm + - oct,osd3358-sm-refdesign + - tcl,am335x-sl50 - ti,am335x-bone - ti,am335x-evm + - ti,am335x-evmsk + - ti,am335x-pocketbeagle + - ti,am335x-shc - ti,am3359-icev2 + - vscom,onrisc
Quoted 9 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 127
Quoted 3 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +3
-0+ - const: ti,am33xx + + - description: TI bone variants based on TI AM335Do we really need these "bone variants" split out from the above list of TI AM33 based boards? We don't do that for any of the other boards, you get a SoC and a Board compatible, every classification in-between is just unneeded.
We have something like this for the Pandaboards models. But e.g. the i.MX Udoo Neo stuff which just differs in what is populated does not have this. So I do not see a clear pattern. It could be useful for userspace to store some board-specific configurations which might be the same for a family of boards. So if people shout out loud that these are needs, lets kep them.
Regards,
Andreas
Re: [PATCH v2 2/5] binding: omap: Add lots of missing omap AM33 compatibles
In reply to Kory MaincentQuoted 7 lines · Kory Maincent
Add several compatible strings that were missing from the binding documentation. Add description for Bone, BoneBlack and BoneGreen variants.
Add several compatible that were missing from the binding.
Signed-off-by Kory Maincent <[email protected]>
Subject prefix is: dt-bindings.
Best regards,
Krzysztof
PATCH v2 3/5 arm: dts: omap: am335x-bone-common: Rename tps to generic pmic node
In reply to Kory MaincentRename tps@24 to the generic pmic@24 node name.
---
Change in v2:
- New patch.
--- arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi +1 -1
@@ -212,7 +212,7 @@ &i2c0 { status = "okay"; clock-frequency = <400000>; - tps: tps@24 { + tps: pmic@24 { reg = <0x24>; };
Signature · 1 line
2.43.0
PATCH v2 4/5 arm: dts: omap: Add support for BeagleBone Green Eco board
In reply to Kory MaincentSeeedStudio 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.
---
Changes in v2:
- Used generic pmic node name.
- Add regulator prefix to fixed regulator node name.
- Add the compatible to omap.yaml binding
--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 + arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170 +++++++++++++++++++++ 3 files changed, 172 insertions(+)
Documentation/devicetree/bindings/arm/ti/omap.yaml +1 -0
@@ -145,6 +145,7 @@ properties: - description: TI bone green variants based on TI AM335 items: - enum: + - ti,am335x-bone-green-eco - ti,am335x-bone-green-wireless - const: ti,am335x-bone-green - const: ti,am335x-bone
arch/arm/boot/dts/ti/omap/Makefile +1 -0
@@ -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 \
arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts new file +170 -0
170 lines not on this page · raw message
Signature · 1 line
2.43.0
Re: [PATCH v2 4/5] arm: dts: omap: Add support for BeagleBone Green Eco board
Quoted 22 lines · Kory Maincent
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 <[email protected]>---
Changes in v2:
- Used generic pmic node name.
- Add regulator prefix to fixed regulator node name.
- Add the compatible toomap.yamlbinding--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 + arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170 +++++++++++++++++++++ 3 files changed, 172 insertions(+)Documentation/devicetree/bindings/arm/ti/omap.yaml +0
-0
Documentation/devicetree/bindings/arm/ti/omap.yaml properties: · line 151
Quoted 7 lines
Documentation/devicetree/bindings/arm/ti/omap.yaml +1
-0@@ -145,6 +145,7 @@ properties: - description: TI bone green variants based on TI AM335 items: - enum: + - ti,am335x-bone-green-eco - ti,am335x-bone-green-wireless - const: ti,am335x-bone-green - const: ti,am335x-bone
Why is this hunk here?
Re: [PATCH v2 4/5] arm: dts: omap: Add support for BeagleBone Green Eco board
Quoted 18 lines · Conor Dooley
Quoted 17 lines · Kory Maincent
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 <[email protected]>---
Changes in v2:
- Used generic pmic node name.
- Add regulator prefix to fixed regulator node name.
- Add the compatible toomap.yamlbinding--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 + arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170+++++++++++++++++++++ 3 files changed, 172 insertions(+)
Quoted 15 lines
Quoted 13 lines
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindexc43fa4f4af81..774c13157caa100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -145,6 +145,7 @@ properties:
- description: TI bone green variants based on TI AM335 items:
- enum:
+ - ti,am335x-bone-green-eco
- ti,am335x-bone-green-wireless
- const: ti,am335x-bone-green
- const: ti,am335x-boneWhy is this hunk here?
Do you mean that the binding change should be in another patch?
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Andreas Kemnade
maintainerRe: [PATCH v2 4/5] arm: dts: omap: Add support for BeagleBone Green Eco board
Am Mon, 9 Jun 2025 22:45:02 +0200
schrieb Kory Maincent <[email protected]>:
Quoted 37 lines
Quoted 18 lines · Conor Dooley
Quoted 17 lines · Kory Maincent
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 <[email protected]>---
Changes in v2:
- Used generic pmic node name.
- Add regulator prefix to fixed regulator node name.
- Add the compatible toomap.yamlbinding--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 + arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170+++++++++++++++++++++ 3 files changed, 172 insertions(+)
Quoted 15 lines
Quoted 13 lines
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindexc43fa4f4af81..774c13157caa100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -145,6 +145,7 @@ properties:
- description: TI bone green variants based on TI AM335 items:
- enum:
+ - ti,am335x-bone-green-eco
- ti,am335x-bone-green-wireless
- const: ti,am335x-bone-green
- const: ti,am335x-boneWhy is this hunk here?
Quoted 2 lines
Do you mean that the binding change should be in another patch?
Usually binding changes are in a separate patch. Maybe you can merge it with Patch 2. The lonely enum looks a bit strange there, so if these things are merged, it will look more natural.
Regards,
Andreas
Re: [PATCH v2 4/5] arm: dts: omap: Add support for BeagleBone Green Eco board
In reply to Kory MaincentQuoted 37 lines · Kory Maincent
Quoted 18 lines · Conor Dooley
Quoted 17 lines · Kory Maincent
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 <[email protected]>---
Changes in v2:
- Used generic pmic node name.
- Add regulator prefix to fixed regulator node name.
- Add the compatible toomap.yamlbinding--- Documentation/devicetree/bindings/arm/ti/omap.yaml | 1 + arch/arm/boot/dts/ti/omap/Makefile | 1 + arch/arm/boot/dts/ti/omap/am335x-bonegreen-eco.dts | 170+++++++++++++++++++++ 3 files changed, 172 insertions(+)
Quoted 15 lines
Quoted 13 lines
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindexc43fa4f4af81..774c13157caa100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -145,6 +145,7 @@ properties:
- description: TI bone green variants based on TI AM335 items:
- enum:
+ - ti,am335x-bone-green-eco
- ti,am335x-bone-green-wireless
- const: ti,am335x-bone-green
- const: ti,am335x-boneWhy is this hunk here?
Quoted 1 line
Do you mean that the binding change should be in another patch?
Yes, you have a binding change hidden away in a dts patch.
Re: [PATCH v2 4/5] arm: dts: omap: Add support for BeagleBone Green Eco board
In reply to Kory MaincentQuoted 16 lines · Kory Maincent
Quoted 7 lines
Quoted 7 lines
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/arm/ti/omap.yamlindexc43fa4f4af81..774c13157caa100644 ---a/Documentation/devicetree/bindings/arm/ti/omap.yaml+++b/Documentation/devicetree/bindings/arm/ti/omap.yaml@@ -145,6 +145,7 @@ properties:
- description: TI bone green variants based on TI AM335Quoted 8 lines
Quoted 6 lines
items:
- enum:
+ - ti,am335x-bone-green-eco
- ti,am335x-bone-green-wireless
- const: ti,am335x-bone-green
- const: ti,am335x-boneWhy is this hunk here?
Quoted 1 line
Do you mean that the binding change should be in another patch?
Yes, as requested by checkpatch and documented in DT submitting patches. Your question above, suggests you did not run checkpatch, so please confirm you run it before posting new versions.
Best regards,
Krzysztof
PATCH v2 5/5 arm: omap2plus_defconfig: Enable TPS65219 regulator
In reply to Kory MaincentEnable the TPS65219 regulator in the defconfig, as the TPS65214 variant is used by the newly introduced BeagleBoard Green Eco board.
--- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/omap2plus_defconfig +3 -0
@@ -385,6 +385,7 @@ CONFIG_TOUCHSCREEN_TSC2007=m CONFIG_INPUT_MISC=y CONFIG_INPUT_CPCAP_PWRBUTTON=m CONFIG_INPUT_TPS65218_PWRBUTTON=m +CONFIG_INPUT_TPS65219_PWRBUTTON=m CONFIG_INPUT_TWL4030_PWRBUTTON=m CONFIG_INPUT_UINPUT=m CONFIG_INPUT_PALMAS_PWRBUTTON=m
@@ -454,6 +455,7 @@ CONFIG_MFD_TPS65217=y CONFIG_MFD_TI_LP873X=y CONFIG_MFD_TI_LP87565=y CONFIG_MFD_TPS65218=y +CONFIG_MFD_TPS65219=y CONFIG_MFD_TPS65910=y CONFIG_TWL6040_CORE=y CONFIG_REGULATOR_CPCAP=y
@@ -470,6 +472,7 @@ CONFIG_REGULATOR_TPS65023=y CONFIG_REGULATOR_TPS6507X=y CONFIG_REGULATOR_TPS65217=y CONFIG_REGULATOR_TPS65218=y +CONFIG_REGULATOR_TPS65219=y CONFIG_REGULATOR_TPS65910=y CONFIG_REGULATOR_TWL4030=y CONFIG_RC_CORE=m
Signature · 1 line
2.43.0
Re: [PATCH v2 5/5] arm: omap2plus_defconfig: Enable TPS65219 regulator
arch/arm/configs/omap2plus_defconfig
Quoted 13 lines · Kory Maincent
Enable the TPS65219 regulator in the defconfig, as the TPS65214 variant is used by the newly introduced BeagleBoard Green Eco board.
Reviewed-by Andreas Kemnade <[email protected]>Signed-off-by Kory Maincent <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/arm/configs/omap2plus_defconfig +0
-0
Why omap2plus_defconfig? OMAP3 and newer are all ARMv7 and boards with those can/should use multi_v7_defconfig.
OMAP1 and OMAP2 are the only devices that cannot use multi_v7_defconfig as they are not ARMv7. So I'd almost recommend we rename omap2plus_defconfig to just omap2_defconfig to avoid more confusion. Then we would have:
OMAP1: ARMv4/5: omap1_defconfig OMAP2: ARMv6: omap2_defconfig
OMAP3+: ARMv7: multi_v7_defconfig
Any issue with that I'm missing?
Andrew
Quoted 25 lines
arch/arm/configs/omap2plus_defconfig +3
-0@@ -385,6 +385,7 @@ CONFIG_TOUCHSCREEN_TSC2007=m CONFIG_INPUT_MISC=y CONFIG_INPUT_CPCAP_PWRBUTTON=m CONFIG_INPUT_TPS65218_PWRBUTTON=m +CONFIG_INPUT_TPS65219_PWRBUTTON=m CONFIG_INPUT_TWL4030_PWRBUTTON=m CONFIG_INPUT_UINPUT=m CONFIG_INPUT_PALMAS_PWRBUTTON=m@@ -454,6 +455,7 @@ CONFIG_MFD_TPS65217=y CONFIG_MFD_TI_LP873X=y CONFIG_MFD_TI_LP87565=y CONFIG_MFD_TPS65218=y +CONFIG_MFD_TPS65219=y CONFIG_MFD_TPS65910=y CONFIG_TWL6040_CORE=y CONFIG_REGULATOR_CPCAP=y@@ -470,6 +472,7 @@ CONFIG_REGULATOR_TPS65023=y CONFIG_REGULATOR_TPS6507X=y CONFIG_REGULATOR_TPS65217=y CONFIG_REGULATOR_TPS65218=y +CONFIG_REGULATOR_TPS65219=y CONFIG_REGULATOR_TPS65910=y CONFIG_REGULATOR_TWL4030=y CONFIG_RC_CORE=m
Andreas Kemnade
maintainerRe: [PATCH v2 5/5] arm: omap2plus_defconfig: Enable TPS65219 regulator
Am Wed, 11 Jun 2025 16:13:05 -0500
schrieb Andrew Davis <[email protected]>:
Quoted 10 lines · Kory Maincent
Quoted 9 lines
Enable the TPS65219 regulator in the defconfig, as the TPS65214 variant is used by the newly introduced BeagleBoard Green Eco board.
Reviewed-by Andreas Kemnade <[email protected]>Signed-off-by Kory Maincent <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Quoted 8 lines
arch/arm/configs/omap2plus_defconfig
Quoted 4 lines
arch/arm/configs/omap2plus_defconfig +0
-0Why
omap2plus_defconfig? OMAP3 and newer are all ARMv7 and boards with those can/should usemulti_v7_defconfig.
if there are enough drivers enabled there, it would work, but it is not. So there need to be a bunch of patches to add the missing stuff. omap2plus_defconfig is there and support for boards are added.
So I think until multi_v7_defconfig is really usable for OMAP3+, we should stick with the name omap2plus_defconfig and add stuff. If we rename omap2plus_defconfig to omap2_defconfig, we should imho disable OMAP3/4/5 there to avoid confusion.
Regards,
Andreas
Re: [PATCH v2 5/5] arm: omap2plus_defconfig: Enable TPS65219 regulator
Quoted 21 lines · Andreas Kemnade
Am Wed, 11 Jun 2025 16:13:05 -0500
schrieb Andrew Davis <[email protected]>:Quoted 10 lines · Kory Maincent
Quoted 9 lines
Enable the TPS65219 regulator in the defconfig, as the TPS65214 variant is used by the newly introduced BeagleBoard Green Eco board.
Reviewed-by Andreas Kemnade <[email protected]>Signed-off-by Kory Maincent <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+)Quoted 8 lines
arch/arm/configs/omap2plus_defconfig
Quoted 4 lines
arch/arm/configs/omap2plus_defconfig +0
-0Why
omap2plus_defconfig? OMAP3 and newer are all ARMv7 and boards with those can/should usemulti_v7_defconfig.
Quoted 4 lines
if there are enough drivers enabled there, it would work, but it is not. So there need to be a bunch of patches to add the missing stuff.
omap2plus_defconfigis there and support for boards are added.
Yes multi_v7 is still missing stuff for some boards we want to support, and we are working on adding those needed modules now.
We won't get feature parity in multi_v7 if we keep adding new boards to the old omap2plus_defconfig. For this patch series how about we add support to both defconfigs?
Quoted 5 lines
So I think until
multi_v7_defconfigis really usable for OMAP3+, we should stick with the nameomap2plus_defconfigand add stuff. If we renameomap2plus_defconfigtoomap2_defconfig, we should imho disable OMAP3/4/5 there to avoid confusion.
Yes, that was part of the plan, right now these SoCs are enabled in both configs, so new boards often get enabled in one or the other but rarely both.
Andrew
Quoted 2 lines
Regards,
Andreas
Re: [PATCH v2 5/5] arm: omap2plus_defconfig: Enable TPS65219 regulator
Quoted 11 lines · Andrew Davis
Quoted 2 lines · Andreas Kemnade
So there need to be a bunch of patches to add the missing stuff.
omap2plus_defconfigis there and support for boards are added.Yes
multi_v7is still missing stuff for some boards we want to support, and we are working on adding those needed modules now.We won't get feature parity in
multi_v7if we keep adding new boards to the oldomap2plus_defconfig. For this patch series how about we add support to both defconfigs?
Keeping the more specific defconfigs around is handy as they're much smaller and therefore faster to build, but I do agree that the multi_vX_defconfigs should also work.