Skip to contentSkip to conversation

ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

PATCH New Chee Tien Fong 3 participants 5 messages Dec 6, 2016 – Dec 19, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

From: Tien Fong Chee <[email protected]>

This is initial version of device tree for the Intel socfpga arria10 development kit with sdmmc.

Cc Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Tien Fong <[email protected]>
---
 arch/arm/dts/Makefile                           |    3 +-
 arch/arm/dts/socfpga_arria10.dtsi               |  859 +++++++++++++++++++++++
 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi |  473 +++++++++++++
 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts    |   33 +
 4 files changed, 1367 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria10.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts
arch/arm/dts/Makefile +2 -1
index 032c5ae..72bbc67 100644
@@ -131,7 +131,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=				\
 	socfpga_cyclone5_sockit.dtb			\
 	socfpga_cyclone5_socrates.dtb			\
 	socfpga_cyclone5_sr1500.dtb			\
-	socfpga_cyclone5_vining_fpga.dtb
+	socfpga_cyclone5_vining_fpga.dtb		\
+	socfpga_arria10_socdk_sdmmc.dtb
 
 dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb
 dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \
arch/arm/dts/socfpga_arria10.dtsi new file +859 -0

859 lines not on this page · raw message

arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi new file +473 -0

473 lines not on this page · raw message

arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts new file +33 -0
new file mode 100644
index 0000000..52d673e
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2016 Intel Corporation
+ *
+ * SPDX-License-Identifier:	GPL-2.0
+ */
+
+/dts-v1/;
+#include "socfpga_arria10_handoff_sdmmc.dtsi"
+
+/ {
+	chosen {
+		bootargs = "console=ttyS0,115200";
+		/* Bootloader setting: uboot.rbf_filename */
+		cff-file = "ghrd_10as066n2.periph.rbf";
+		early-release-fpga-config;
+	};
+};
+
+&uart1 {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&mmc {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+	num-slots = <1>;
+	cap-sd-highspeed;
+	broken-cd;
+	bus-width = <4>;
+	altr,dw-mshc-ciu-div = <3>;
+	altr,dw-mshc-sdr-timing = <0 3>;
+};
Signature · 1 line
1.7.7.4
#1 lore raw

PATCH 1/10 ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

Quoted 10 lines · Chee Tien Fong

From: Tien Fong Chee <[email protected]>

This is initial version of device tree for the Intel socfpga arria10 development kit with sdmmc.

Cc Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Tien Fong <[email protected]>
Quoted 8 lines
---
 arch/arm/dts/Makefile                           |    3 +-
 arch/arm/dts/socfpga_arria10.dtsi               |  859 +++++++++++++++++++++++
 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi |  473 +++++++++++++
 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts    |   33 +
 4 files changed, 1367 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria10.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi

Isn't the handoff file board-specific ?

Quoted 1 line
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts

Does this patchset somehow supersede the previous one [1] or what is the plan here ?

[1]
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/01-arria10

Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw

PATCH 1/10 ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

Quoted 23 lines · Marek Vasut
Quoted 12 lines · Chee Tien Fong

From: Tien Fong Chee <[email protected]>

This is initial version of device tree for the Intel socfpga arria10
development kit with sdmmc.

Cc Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Tien Fong <[email protected]>
Quoted 10 lines

---
?arch/arm/dts/Makefile???????????????????????????|????3 +- ?arch/arm/dts/socfpga_arria10.dtsi???????????????|??859
+++++++++++++++++++++++
?arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi |??473
+++++++++++++
?arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts????|???33 + ?4 files changed, 1367 insertions(+), 1 deletions(-) ?create mode 100644 arch/arm/dts/socfpga_arria10.dtsi ?create mode 100644 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi

Quoted 2 lines

Isn't the handoff file board-specific ?

board and flash specific. How bout this name
"socfpga_arria10_socdk_sdmmc_handoff"?

Quoted 6 lines
Quoted 2 lines

?create mode 100644 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts

Does this patchset somehow supersede the previous one [1] or what is the
plan here ?

Yeah, the series patches here based on 01-arria10.

Quoted 4 lines

[1]
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/hea
ds/01-arria10

#3 lore raw

PATCH 1/10 ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

Quoted 24 lines · Tien Fong
Quoted 23 lines · Marek Vasut
Quoted 22 lines · Chee Tien Fong

From: Tien Fong Chee <[email protected]>

This is initial version of device tree for the Intel socfpga arria10
development kit with sdmmc.

Cc Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Tien Fong <[email protected]>
---
 arch/arm/dts/Makefile                           |    3 +-
 arch/arm/dts/socfpga_arria10.dtsi               |  859
+++++++++++++++++++++++
 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi |  473
+++++++++++++
 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts    |   33 +
 4 files changed, 1367 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria10.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi
Quoted 4 lines
Quoted 2 lines

Isn't the handoff file board-specific ?

board and flash specific. How bout this name
"socfpga_arria10_socdk_sdmmc_handoff"?

Certainly better

Quoted 6 lines
Quoted 5 lines
Quoted 1 line
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts

Does this patchset somehow supersede the previous one [1] or what is the
plan here ?

Yeah, the series patches here based on 01-arria10.

Just rebase and repost the whole thing on top of u-boot/master

Quoted 3 lines
Quoted 3 lines

[1]
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/hea
ds/01-arria10

Signature · 2 lines
Best regards,
Marek Vasut
#4 lore raw

PATCH 1/10 ARM:dts: Added device tree for socfpga arria10 development kit sdmmc

Quoted 40 lines · Marek Vasut
Quoted 28 lines · Tien Fong
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Chee Tien Fong

From: Tien Fong Chee <[email protected]>

This is initial version of device tree for the Intel socfpga arria10
development kit with sdmmc.

Cc Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Tien Fong <[email protected]>

---
?arch/arm/dts/Makefile???????????????????????????|????3 +- ?arch/arm/dts/socfpga_arria10.dtsi???????????????|??859
+++++++++++++++++++++++
?arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi |??473
+++++++++++++
?arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts????|???33 + ?4 files changed, 1367 insertions(+), 1 deletions(-) ?create mode 100644 arch/arm/dts/socfpga_arria10.dtsi ?create mode 100644 arch/arm/dts/socfpga_arria10_handoff_sdmmc.dtsi

Quoted 4 lines
Quoted 2 lines

Isn't the handoff file board-specific ?

board and flash specific. How bout this name
"socfpga_arria10_socdk_sdmmc_handoff"?

Certainly better

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

?create mode 100644
arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

Does this patchset somehow supersede the previous one [1] or what is
the
plan here ?

Yeah, the series patches here based on 01-arria10.

Just rebase and repost the whole thing on top of u-boot/master

Okay,noted.

Quoted 7 lines
Quoted 6 lines
Quoted 6 lines

[1]
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs
/hea
ds/01-arria10