Skip to contentSkip to conversation

ARM: dts: Add am57xx-beagle-x15

PATCH Superseded Nishanth Menon 6 participants 10 messages Nov 6, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Add am57xx-beagle-x15

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108 at 60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

For more information, refer to:
BeagleBoard-X15 Wiki:
http://www.elinux.org/Beagleboard:BeagleBoard-X15

AM5728 is part of the Sitara product family whose additional details will be available: http://www.ti.com/lsds/ti/arm/overview.page

Technical Reference Manual for AM5728 is public domain at:
http://www.ti.com/lit/spruhz6

Just add basic support for the moment, the following updates are needed:
i) Ethernet - depends on SoC dts fixes
ii) USB Client (USB2) - depends on GPIO extcon
ii) HDMI - additional driver fixes pending
iii) Audio - additional driver fixes pending

---

Tested with omap2plus_defconfig modified as: http://slexy.org/view/s2DRTzUwjj
boot log: http://slexy.org/raw/s25Grf1uoo
based on 3.18-rc1 tag.

Support for u-boot has been posted as well: (series ending
http://patchwork.ozlabs.org/patch/407552/ )

Side note: this patch generates a few unrelated checkpatch warning for compatible which probably is part of appropriate driver documentation fixes (functionality is already present).

 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/am57xx-beagle-x15.dts |  405 +++++++++++++++++++++++++++++++
 2 files changed, 406 insertions(+)
 create mode 100644 arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/Makefile +1 -0
index 38c89ca..eee1e4f 100644
@@ -347,6 +347,7 @@ dtb-$(CONFIG_SOC_OMAP5) += omap5-cm-t54.dtb \
 	omap5-sbc-t54.dtb \
 	omap5-uevm.dtb
 dtb-$(CONFIG_SOC_DRA7XX) += dra7-evm.dtb \
+	am57xx-beagle-x15.dtb \
 	dra72-evm.dtb
 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \
 	orion5x-lacie-ethernet-disk-mini-v2.dtb \
arch/arm/boot/dts/am57xx-beagle-x15.dts new file +405 -0

405 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 77 lines · Nishanth Menon

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108@60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

For more information, refer to:
BeagleBoard-X15 Wiki:
http://www.elinux.org/Beagleboard:BeagleBoard-X15

AM5728 is part of the Sitara product family whose additional details will be available: http://www.ti.com/lsds/ti/arm/overview.page

Technical Reference Manual for AM5728 is public domain at:
http://www.ti.com/lit/spruhz6

Just add basic support for the moment, the following updates are needed:
i) Ethernet - depends on SoC dts fixes
ii) USB Client (USB2) - depends on GPIO extcon
ii) HDMI - additional driver fixes pending
iii) Audio - additional driver fixes pending

---

Tested with omap2plus_defconfig modified as: http://slexy.org/view/s2DRTzUwjj
boot log: http://slexy.org/raw/s25Grf1uoo
based on 3.18-rc1 tag.

Support for u-boot has been posted as well: (series ending
http://patchwork.ozlabs.org/patch/407552/ )

Side note: this patch generates a few unrelated checkpatch warning for compatible which probably is part of appropriate driver documentation fixes (functionality is already present).

 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/am57xx-beagle-x15.dts |  405 +++++++++++++++++++++++++++++++
 2 files changed, 406 insertions(+)
 create mode 100644 arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/Makefile +1 -0
index 38c89ca..eee1e4f 100644
@@ -347,6 +347,7 @@ dtb-$(CONFIG_SOC_OMAP5) += omap5-cm-t54.dtb \
 	omap5-sbc-t54.dtb \
 	omap5-uevm.dtb
 dtb-$(CONFIG_SOC_DRA7XX) += dra7-evm.dtb \
+	am57xx-beagle-x15.dtb \
 	dra72-evm.dtb
 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \
 	orion5x-lacie-ethernet-disk-mini-v2.dtb \
arch/arm/boot/dts/am57xx-beagle-x15.dts new file +16 -0
new file mode 100644
index 0000000..1f1875b
@@ -0,0 +1,405 @@
+/*
+ * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+#include "dra74x.dtsi"
+#include <dt-bindings/clk/ti-dra7-atl.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+	model = "TI AM5728 BeagleBoard-X15";

arch/arm/boot/dts/am57xx-beagle-x15.dts line 26

Quoted 10 lines
arch/arm/boot/dts/am57xx-beagle-x15.dts new file +10 -0
+	compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
+
+	aliases {
+		rtc0 = &mcp_rtc;
+		rtc1 = &tps659038_rtc;
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x40000000>; /* 1GB to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Signature · 1 line
balbi
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 62 lines · Felipe Balbi
Quoted 61 lines · Nishanth Menon

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108 at 60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

For more information, refer to: BeagleBoard-X15 Wiki:
http://www.elinux.org/Beagleboard:BeagleBoard-X15

AM5728 is part of the Sitara product family whose additional details will be available:
http://www.ti.com/lsds/ti/arm/overview.page

Technical Reference Manual for AM5728 is public domain at:
http://www.ti.com/lit/spruhz6

Just add basic support for the moment, the following updates are
needed: i) Ethernet - depends on SoC dts fixes ii) USB Client
(USB2) - depends on GPIO extcon ii) HDMI - additional driver
fixes pending iii) Audio - additional driver fixes pending

Nishanth Menon <[email protected]> ---

Tested with omap2plus_defconfig modified as:
http://slexy.org/view/s2DRTzUwjj boot log:
http://slexy.org/raw/s25Grf1uoo based on 3.18-rc1 tag.

Support for u-boot has been posted as well: (series ending
http://patchwork.ozlabs.org/patch/407552/ )

Side note: this patch generates a few unrelated checkpatch warning for compatible which probably is part of appropriate driver documentation fixes (functionality is already present).

arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/am57xx-beagle-x15.dts | 405 +++++++++++++++++++++++++++++++ 2 files changed, 406 insertions(+) create mode 100644 arch/arm/boot/dts/am57xx-beagle-x15.dts

(quoted diff) +0 -0

b/arch/arm/boot/dts/Makefile index 38c89ca..eee1e4f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -347,6 +347,7 @@ dtb-$(CONFIG_SOC_OMAP5) += omap5-cm-t54.dtb \
omap5-sbc-t54.dtb \ omap5-uevm.dtb dtb-$(CONFIG_SOC_DRA7XX) +=
dra7-evm.dtb \ + am57xx-beagle-x15.dtb \ dra72-evm.dtb
dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \
orion5x-lacie-ethernet-disk-mini-v2.dtb \ diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts new file mode 100644 index 0000000..1f1875b --- /dev/null +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts @@ -0,0 +1,405 @@ +/* +
* Copyright (C) 2014 Texas Instruments Incorporated -
http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +#include "dra74x.dtsi" +#include <dt-bindings/clk/ti-dra7-atl.h> +#include <dt-bindings/gpio/gpio.h> +#include

Quoted 8 lines
Quoted 6 lines

<dt-bindings/interrupt-controller/irq.h> + +/ { + model = "TI
AM5728 BeagleBoard-X15"; + compatible = "ti,am572x-beagle-x15",
"ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; + + aliases { +
rtc0 = &mcp_rtc; + rtc1 = &tps659038_rtc; + }; + + memory { +
device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1GB
to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJUW6PmAAoJENk4IS6UOR1WV2kQAI7JY0DFR+XsWMAZ2shiGcF6 +ZotxE4m030EQgfi8FnKe+i5u5pvHhJFqazRGX2cpYvj5X0fOnO730cyGLvunuQA npVDTcu/4RASxOUtEAW88u/wxUqL1BvYTHlcFTOnaeYJbgvt/C+QIO/wK+izAPso 2ckS23d43DCAW2aVRo2Eq/L3CehjZz3dpQSzTyjWdYbQ0gROE4IWQ5J2qnSFYzhO VO5CQb4gqP0iAVk96Z6RJWtQxaYGfNta9QDCaEkZ6OOo4z+MHvdfk5a5HiJzfzlr VkRUaRql4UmvFFwUFoeYcsde1Mno8Ka3jXq94soNvnq0LiIYPjdLBI/7ca9exdbV CnY3TxtZOfYqRsGiSF1mac8wqCF7kBC+u7nGGK1sTdNzhN5dFrIfL0tkfl8/avfH YYyu/WeZEEZ8MJVk0KruXUgG1kge3FJc2v79AdDaiZtp6xcl5p+pVtCkx8QrCfGg ofPjEtmGKSatIW/PmnOt0L/qmMQNnzwSbT+zgeUfgUXYLiH3NFK7wAdW5hWS4T3n v5h1O8t3THZLnmc1Fdv4pfI3ozcoWjSLROlnWhtO1E9JEtVon8XfpyPObJzKV5GA 9CT+5Ivrirz/4TEUJ1kCKBQcxyZUFEmEVKYu9KiMPux2Doz4MI4TZOZ/TcWTJiCJ hCXCtU398UOpnwVyy//D
=N9bA
-----END PGP SIGNATURE-----

#8 lore raw
In reply to Nishanth Menon
Quoted 6 lines · Nishanth Menon

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108 at 60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

Oh neat, you put a USB3 hub on the board?

I really should cleanup and submit my patch to make the system time not run 576ppm too fast on the AM57xx.

This will sure be a nice board when you get it released. I will have to get one.

Signature · 1 line
Len Sorensen
#3 lore raw
In reply to Tom Rini
Quoted 8 lines · Tom Rini
Quoted 4 lines
Quoted 2 lines

device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1GB
to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

Honest mistake, my bad.. I thought I cleaned up the patch! Sigh!!! i will repost with proper 2GB. it is better that way in case being used with "other bootloaders" which are not exactly too good like u-boot.

Signature · 2 lines
Regards,
Nishanth Menon
#9 lore raw
In reply to Lennart Sorensen

Yes. We have three USB 3.0 ports.

Gerald

-----Original Message-----
From: Lennart Sorensen [mailto:lsorense at csclub.uwaterloo.ca]
Sent: Thursday, November 6, 2014 10:42 AM
To: Nishanth Menon
Cc: Tony Lindgren; linux-kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org; devicetree at vger.kernel.org; linux-omap at vger.kernel.org; balbi at ti.com; gerald at granddesignsgroup.com; fcooper at ti.com; beagleboard at googlegroups.com
Subject: Re: [PATCH] ARM: dts: Add am57xx-beagle-x15

Quoted 6 lines · Nishanth Menon

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108 at 60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

Oh neat, you put a USB3 hub on the board?

I really should cleanup and submit my patch to make the system time not run 576ppm too fast on the AM57xx.

This will sure be a nice board when you get it released. I will have to get one.

--
Len Sorensen

#4 lore raw
In reply to Nishanth Menon
Quoted 7 lines · Nishanth Menon
Quoted 5 lines · Tom Rini
Quoted 4 lines
Quoted 2 lines

device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1GB
to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Quoted 7 lines
Quoted 3 lines

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

Honest mistake, my bad.. I thought I cleaned up the patch! Sigh!!! i will repost with proper 2GB. it is better that way in case being used with "other bootloaders" which are not exactly too good like u-boot.

Can you also describe why all the always-on regulators are needed?

Regards,

Tony

#5 lore raw

Convert 12V to 5V and 3.3V. 5V supplies are too expensive at the required wattage level.

Gerald

-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Thursday, November 6, 2014 10:49 AM
To: Nishanth Menon
Cc: Tom Rini; balbi at ti.com; devicetree at vger.kernel.org; beagleboard at googlegroups.com; linux-kernel at vger.kernel.org; gerald at granddesignsgroup.com; fcooper at ti.com; linux-omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH] ARM: dts: Add am57xx-beagle-x15

Quoted 3 lines · Nishanth Menon
Quoted 1 line · Tom Rini
Quoted 1 line
Quoted 1 line

device_type = "memory"; + reg = <0x80000000 0x40000000>; /*

1GB

Quoted 11 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

Honest mistake, my bad.. I thought I cleaned up the patch! Sigh!!! i will repost with proper 2GB. it is better that way in case being used with "other bootloaders" which are not exactly too good like u-boot.

Can you also describe why all the always-on regulators are needed?

Regards,

Tony

#6 lore raw
In reply to Tony Lindgren
Quoted 12 lines · Tony Lindgren
Quoted 11 lines · Nishanth Menon
Quoted 8 lines · Tom Rini
Quoted 4 lines
Quoted 2 lines

device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1GB
to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

Quoted 5 lines
Quoted 3 lines

Honest mistake, my bad.. I thought I cleaned up the patch! Sigh!!! i will repost with proper 2GB. it is better that way in case being used with "other bootloaders" which are not exactly too good like u-boot.

Can you also describe why all the always-on regulators are needed?

yep - will do that similar to
https://patchwork.kernel.org/patch/5125431/ - same rationale unless there is any specific voltage rail that you are explicitly interested in that needs additional explanation. Is there additional rails of interest?

Signature · 2 lines
Regards,
Nishanth Menon
#7 lore raw
Quoted 17 lines · Nishanth Menon
Quoted 16 lines · Tony Lindgren
Quoted 14 lines · Nishanth Menon
Quoted 8 lines · Tom Rini
Quoted 4 lines
Quoted 2 lines

device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1GB
to start. Target 2GB */

1GiB ? Why would you put this here btw ? u-boot fills this one up.

Yes, it should either be the full and correct value or 0x0 (like a number of PowerPC platforms do) so it's clear something else gives us the right value here.

Honest mistake, my bad.. I thought I cleaned up the patch! Sigh!!! i will repost with proper 2GB. it is better that way in case being used with "other bootloaders" which are not exactly too good like u-boot.

Quoted 6 lines
Quoted 1 line

Can you also describe why all the always-on regulators are needed?

yep - will do that similar to
https://patchwork.kernel.org/patch/5125431/ - same rationale unless there is any specific voltage rail that you are explicitly interested in that needs additional explanation. Is there additional rails of interest?

Here is what I have in mind: (updated with comments from Felipe/Tom and above) - would you like more details added - if you could point out areas of interest, I can help improve information provided here.

8<---

Quoted 1 line

From d73029bc01c9e2193fb769ce5cc6cc5abb14eba5 Mon Sep 17 00:00:00 2001

From: Nishanth Menon <[email protected]>
Date: Mon, 18 Aug 2014 12:14:08 -0500
Subject: [PATCH V2] ARM: dts: Add am57xx-beagle-x15

BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108 at 60), separate LCD port, video In port, 4GB eMMC, uSD, Analog audio in/out, dual 1G Ethernet.

For more information, refer to:
BeagleBoard-X15 Wiki:
http://www.elinux.org/Beagleboard:BeagleBoard-X15

AM5728 is part of the Sitara product family whose additional details will be available: http://www.ti.com/lsds/ti/arm/overview.page

Technical Reference Manual for AM5728 is public domain at:
http://www.ti.com/lit/spruhz6

Just add basic support for the moment, the following updates are needed:
i) Ethernet - depends on SoC dts fixes
ii) USB Client (USB2) - depends on GPIO extcon
ii) HDMI - additional driver fixes pending
iii) Audio - additional driver fixes pending

NOTE:
AM5728 Data Manual (SPRS915L - August 2014) section 4.1.1 states: "All unused power supply balls must be supplied with the voltages specified in the Section 5.2, Recommended Operating Conditions". This implies that all unused voltage rails for AM5728 can never be switched off even if the hardware blocks inside that voltage domain is unused. Switching off these unused rails may result in stability issues on other domains and increased leakage and power-on-hour impacts.

---

Changes in V2 since V1:
- Fix the missing squash of proper DDR size.

V1: https://patchwork.kernel.org/patch/5244801/

Additional references:
- Missing ethernet dtsi patch series: http://marc.info/?t=141388585300001&r=1&w=2
- Missing USB Client extcon patch series: http://marc.info/?t=141520160800004&r=1&w=2

Tested with omap2plus_defconfig modified as: http://slexy.org/view/s2DRTzUwjj
boot log: http://slexy.org/raw/s25Grf1uoo
based on 3.18-rc1 tag.

Support for u-boot has been posted as well: (series ending
http://patchwork.ozlabs.org/patch/407552/ )

Side note: this patch generates a few unrelated checkpatch warning for compatible which probably is part of appropriate driver documentation fixes (functionality is already present).

 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/am57xx-beagle-x15.dts |  405 +++++++++++++++++++++++++++++++
 2 files changed, 406 insertions(+)
 create mode 100644 arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/Makefile +1 -0
index 38c89ca..eee1e4f 100644
@@ -347,6 +347,7 @@ dtb-$(CONFIG_SOC_OMAP5) += omap5-cm-t54.dtb \
 	omap5-sbc-t54.dtb \
 	omap5-uevm.dtb
 dtb-$(CONFIG_SOC_DRA7XX) += dra7-evm.dtb \
+	am57xx-beagle-x15.dtb \
 	dra72-evm.dtb
 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \
 	orion5x-lacie-ethernet-disk-mini-v2.dtb \
arch/arm/boot/dts/am57xx-beagle-x15.dts new file +405 -0

405 lines not on this page · raw message

Signature · 5 lines
1.7.9.5

-- 
Regards,
Nishanth Menon