Skip to contentSkip to conversation

ARM: dts: am5729: beaglebone-ai: Enable BeagleBone AI

PATCH In review Caleb Robey 3 participants 5 messages Nov 14, 2019 – Nov 18, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: am5729: beaglebone-ai: Enable BeagleBone AI

The following patches
1) Minor change to dra7.dtsi
2) Add device tree file for BeagleBone AI

update: moved dra7.dtsi changes before dts addition to prevent compilation breaks

Please disregard previous similar commits. Email for omap-linux was incorrect.

Caleb Robey (2):
ARM: dts: am5729: beaglebone-ai: dra7 reqs in dts
ARM: dts: am5729: beaglebone-ai: adding device tree

 arch/arm/boot/dts/Makefile                |   1 +
 arch/arm/boot/dts/am5729-beagleboneai.dts | 733 ++++++++++++++++++++++
 arch/arm/boot/dts/dra7.dtsi               |   2 +-
 3 files changed, 735 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/am5729-beagleboneai.dts
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 ARM: dts: am5729: beaglebone-ai: dra7 reqs in dts

Small nomenclature change for beaglebone AI compatibility.

---
 arch/arm/boot/dts/dra7.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7.dtsi +1 -1
index 953f0ffce2a9..563d64c69fd4 100644
@@ -143,7 +143,7 @@
 	 * the moment, just use a fake OCP bus entry to represent the whole bus
 	 * hierarchy.
 	 */
-	ocp {
+	ocp: ocp {
 		compatible = "ti,dra7-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH 1/2] ARM: dts: am5729: beaglebone-ai: dra7 reqs in dts

* Caleb Robey <[email protected]> [191114 17:11]:

Hmm I think this one is still missing

From: Jason Kridner <[email protected]>

If this too is Jason's patch? This happens if you apply a patch manually instead of applying an email with git am.

You might be able to just change the From: line with git commit --amend.

Regards,

Tony

#3 lore raw

PATCH 2/2 ARM: dts: am5729: beaglebone-ai: adding device tree

In reply to Caleb Robey

From: Jason Kridner <[email protected]>

BeagleBoard.org BeagleBone AI is an open source hardware single board computer based on the Texas Instruments AM5729 SoC featuring dual-core 1.5GHz Arm Cortex-A15 processor, dual-core C66 digital signal processor (DSP), quad-core embedded vision engine (EVE), Arm Cortex-M4 processors, dual programmable realtime unit industrial control subsystems and more. The board features 1GB DDR3L, USB3.0 Type-C, USB HS Type-A, microHDMI, 16GB eMMC flash, 1G Ethernet, 802.11ac 2/5GHz, Bluetooth, and BeagleBone expansion headers.

For more information, refer to:
https://beaglebone.ai

This patch introduces the BeagleBone AI device tree.

Note that the device use the "ti,tpd12s016" component which is software compatible with "ti,tpd12s015". Thus we only use the latter driver.

Cc Robert Nelson <[email protected]>
Cc Caleb Robey <[email protected]>
---
 arch/arm/boot/dts/Makefile                |   1 +
 arch/arm/boot/dts/am5729-beagleboneai.dts | 733 ++++++++++++++++++++++
 2 files changed, 734 insertions(+)
 create mode 100644 arch/arm/boot/dts/am5729-beagleboneai.dts
arch/arm/boot/dts/Makefile +1 -0
index b21b3a64641a..b1154dbda73c 100644
@@ -791,6 +791,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \
 	am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
 	am57xx-beagle-x15-revc.dtb \
+	am5729-beagleboneai.dtb \
 	am57xx-cl-som-am57x.dtb \
 	am57xx-sbc-am57x.dtb \
 	am572x-idk.dtb \
arch/arm/boot/dts/am5729-beagleboneai.dts new file +733 -0

733 lines not on this page · raw message

Signature · 1 line
2.17.1
#4 lore raw

Re: [PATCH 2/2] ARM: dts: am5729: beaglebone-ai: adding device tree

Quoted 38 lines · Caleb Robey

From: Jason Kridner <[email protected]>

BeagleBoard.org BeagleBone AI is an open source hardware single board computer based on the Texas Instruments AM5729 SoC featuring dual-core 1.5GHz Arm Cortex-A15 processor, dual-core C66 digital signal processor (DSP), quad-core embedded vision engine (EVE), Arm Cortex-M4 processors, dual programmable realtime unit industrial control subsystems and more. The board features 1GB DDR3L, USB3.0 Type-C, USB HS Type-A, microHDMI, 16GB eMMC flash, 1G Ethernet, 802.11ac 2/5GHz, Bluetooth, and BeagleBone expansion headers.

For more information, refer to:
https://beaglebone.ai

This patch introduces the BeagleBone AI device tree.

Note that the device use the "ti,tpd12s016" component which is software compatible with "ti,tpd12s015". Thus we only use the latter driver.

Cc Robert Nelson <[email protected]>
Cc Caleb Robey <[email protected]>
---
  arch/arm/boot/dts/Makefile                |   1 +
  arch/arm/boot/dts/am5729-beagleboneai.dts | 733 ++++++++++++++++++++++
  2 files changed, 734 insertions(+)

create mode 100644 arch/arm/boot/dts/am5729-beagleboneai.dts

arch/arm/boot/dts/Makefile +0 -0
index b21b3a64641a..b1154dbda73c 100644
@@ -791,6 +791,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \
  	am57xx-beagle-x15.dtb \
  	am57xx-beagle-x15-revb1.dtb \

[..]

arch/arm/boot/dts/Makefile

Quoted 9 lines
arch/arm/boot/dts/Makefile +9 -0
+
+&davinci_mdio {
+	reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+	reset-delay-us = <2>;
+
+	phy0: ethernet-phy@1 {
+		reg = <4>;
+		compatible = "ethernet-phy-id004d.d072",
+			"ethernet-phy-ieee802.3-c22";

is it really required to have above compatible prop? It's expected to work without it.

Quoted 15 lines
arch/arm/boot/dts/Makefile +15 -0
+		eee-broken-100tx;
+		eee-broken-1000t;
+	};
+};
+
+&mac {
+	slaves = <1>;
+	status = "okay";
+};
+
+&cpsw_emac0 {
+	phy-handle = <&phy0>;
+	phy-mode = "rgmii";
+};
+

[...]

Signature · 2 lines
Best regards,
grygorii