Skip to contentSkip to conversation

board: ti: am57xx: Add DT support for BeagleBoard-X15 revC

PATCH New Lokesh Vutla 4 participants 10 messages Aug 23, 2017 – Sep 12, 2017 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover board: ti: am57xx: Add DT support for BeagleBoard-X15 revC

Now that we have synced DTS from Latest Linux kernel, add dt support for BeagleBoard-X15 revC. Board detection support is already added for this board.

Lokesh Vutla (2):
board: ti: am57xx: Add dt support for BeagleBoard-X15 revC
env: ti: boot: Select dtb name for X15 revC

 arch/arm/dts/Makefile           | 1 +
 board/ti/am57xx/board.c         | 3 +++
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 include/environment/ti/boot.h   | 2 ++
 5 files changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.13.0
#1 lore raw

PATCH 1/2 board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

Add support for selecting proper dtb for
am57xx BeagleBoard X15 revC u-boot from FIT

---
 arch/arm/dts/Makefile           | 1 +
 board/ti/am57xx/board.c         | 3 +++
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)
arch/arm/dts/Makefile +1 -0
index f1dbdce9be..174c1c3f11 100644
@@ -178,6 +178,7 @@ dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb	\
 	dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb
 dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
+	am57xx-beagle-x15-revc.dtb \
 	am572x-idk.dtb	\
 	am571x-idk.dtb
 dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb
board/ti/am57xx/board.c +3 -0
index 3d15cb1dbf..f79aefd400 100644
@@ -1063,6 +1063,9 @@ int board_fit_config_name_match(const char *name)
 		if (board_is_x15_revb1()) {
 			if (!strcmp(name, "am57xx-beagle-x15-revb1"))
 				return 0;
+		} else if (board_is_x15_revc()) {
+			if (!strcmp(name, "am57xx-beagle-x15-revc"))
+				return 0;
 		} else if (!strcmp(name, "am57xx-beagle-x15")) {
 			return 0;
 		}
configs/am57xx_evm_defconfig +1 -1
index 11be1ad27f..f3fcda7b61 100644
@@ -40,7 +40,7 @@ CONFIG_CMD_SPL=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am572x-idk am571x-idk"
+CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk"
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 # CONFIG_BLK is not set
configs/am57xx_hs_evm_defconfig +1 -1
index 91baa2b53e..d322c37326 100644
@@ -43,7 +43,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am572x-idk am571x-idk"
+CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk"
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 # CONFIG_BLK is not set
Signature · 1 line
2.13.0
#2 lore raw

PATCH 1/2 board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

Quoted 4 lines · Lokesh Vutla

Add support for selecting proper dtb for
am57xx BeagleBoard X15 revC u-boot from FIT

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170824/8a3fd919/attachment.sig>
#3 lore raw

PATCH 1/2 board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

In reply to Lokesh Vutla
Quoted 11 lines · Lokesh Vutla

Add support for selecting proper dtb for
am57xx BeagleBoard X15 revC u-boot from FIT

---
 arch/arm/dts/Makefile           | 1 +
 board/ti/am57xx/board.c         | 3 +++
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

am57xx-beagle-x15-revc.dts isn't included, what series brings that in? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170828/24e5f3d1/attachment.sig>
#4 lore raw

PATCH 1/2 board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

Quoted 14 lines · Tom Rini
Quoted 11 lines · Lokesh Vutla

Add support for selecting proper dtb for
am57xx BeagleBoard X15 revC u-boot from FIT

---
 arch/arm/dts/Makefile           | 1 +
 board/ti/am57xx/board.c         | 3 +++
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)
Quoted 2 lines

am57xx-beagle-x15-revc.dts isn't included, what series brings that in? Thanks!

it's pretty small, so got buried in:

"arm: dts: dra7: sync DT with latest Linux"

https://patchwork.ozlabs.org/patch/803942/

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#5 lore raw

PATCH 1/2 board: ti: am57xx: Add dt support for BeagleBoard-X15 revC

In reply to Lokesh Vutla
Quoted 5 lines · Lokesh Vutla

Add support for selecting proper dtb for
am57xx BeagleBoard X15 revC u-boot from FIT

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170912/b68a7a41/attachment.sig>
#6 lore raw

PATCH 2/2 env: ti: boot: Select dtb name for X15 revC

In reply to Lokesh Vutla

Select dtb name for am57xx BeagleBoard-X15 revC

---
 include/environment/ti/boot.h | 2 ++
 1 file changed, 2 insertions(+)
include/environment/ti/boot.h +2 -0
index 01f7f7a300..dabfb37204 100644
@@ -50,6 +50,8 @@
 			"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \
 		"if test $board_name = beagle_x15_revb1; then " \
 			"setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;" \
+		"if test $board_name = beagle_x15_revc; then " \
+			"setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;" \
 		"if test $board_name = am572x_idk; then " \
 			"setenv fdtfile am572x-idk.dtb; fi;" \
 		"if test $board_name = am57xx_evm; then " \
Signature · 1 line
2.13.0
#7 lore raw

PATCH 2/2 env: ti: boot: Select dtb name for X15 revC

Quoted 3 lines · Lokesh Vutla

Select dtb name for am57xx BeagleBoard-X15 revC

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170824/d0176707/attachment.sig>
#8 lore raw

PATCH 2/2 env: ti: boot: Select dtb name for X15 revC

In reply to Lokesh Vutla
Quoted 4 lines · Lokesh Vutla

Select dtb name for am57xx BeagleBoard-X15 revC

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170912/207422c1/attachment.sig>
#9 lore raw

cover board: ti: am57xx: Add DT support for BeagleBoard-X15 revC

In reply to Lokesh Vutla
Quoted 8 lines · Lokesh Vutla

Now that we have synced DTS from Latest Linux kernel, add dt support for BeagleBoard-X15 revC. Board detection support is already added for this board.

Lokesh Vutla (2):
board: ti: am57xx: Add dt support for BeagleBoard-X15 revC
env: ti: boot: Select dtb name for X15 revC

Quoted 7 lines
 arch/arm/dts/Makefile           | 1 +
 board/ti/am57xx/board.c         | 3 +++
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 include/environment/ti/boot.h   | 2 ++
 5 files changed, 8 insertions(+), 2 deletions(-)
Signature · 9 lines
Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de