Skip to contentSkip to conversation

arm: socfpga: Add DT support for SoCFPGA

PATCH Superseded Stefan Roese 2 participants 5 messages Oct 30, 2014 – Dec 11, 2014

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: Add DT support for SoCFPGA

This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for socfpga_cyclone5 to make use of this new DT support.

Note that now the image to use is u-boot-dtb.img!

Cc Marek Vasut <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Pavel Machek <[email protected]>
---
 arch/arm/dts/Makefile                    |   2 +
 arch/arm/dts/socfpga.dtsi                | 755 +++++++++++++++++++++++++++++++
 arch/arm/dts/socfpga_cyclone5.dtsi       |  51 +++
 arch/arm/dts/socfpga_cyclone5_socdk.dts  |  90 ++++
 configs/socfpga_cyclone5_defconfig       |   2 +
 include/dt-bindings/reset/altr,rst-mgr.h |  90 ++++
 6 files changed, 990 insertions(+)
 create mode 100644 arch/arm/dts/socfpga.dtsi
 create mode 100644 arch/arm/dts/socfpga_cyclone5.dtsi
 create mode 100644 arch/arm/dts/socfpga_cyclone5_socdk.dts
 create mode 100644 include/dt-bindings/reset/altr,rst-mgr.h
arch/arm/dts/Makefile +2 -0
index c346063..a208ff7 100644
@@ -39,6 +39,8 @@ dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \
 	zynq-zc770-xm013.dtb
 dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb
 
+dtb-$(CONFIG_SOCFPGA) += socfpga_cyclone5_socdk.dtb
+
 targets += $(dtb-y)
 
 DTC_FLAGS += -R 4 -p 0x1000
arch/arm/dts/socfpga.dtsi new file +755 -0

755 lines not on this page · raw message

arch/arm/dts/socfpga_cyclone5.dtsi new file +51 -0

51 lines not on this page · raw message

arch/arm/dts/socfpga_cyclone5_socdk.dts new file +90 -0

90 lines not on this page · raw message

configs/socfpga_cyclone5_defconfig +2 -0
index 4b2ede4..2d3dd47 100644
@@ -1,3 +1,5 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_SOCFPGA_CYCLONE5=y
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socdk"
include/dt-bindings/reset/altr,rst-mgr.h new file +90 -0

90 lines not on this page · raw message

Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 arm: socfpga: Add DT support for SoCFPGA

Quoted 6 lines · Stefan Roese

This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for socfpga_cyclone5 to make use of this new DT support.

Note that now the image to use is u-boot-dtb.img!

Quoted 7 lines
Cc Marek Vasut <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Pavel Machek <[email protected]>

Hi Stefan,

any chance you can update this against current u-boot-socfpga/master please ? I think this should be 5 minute job at best.

Thank you!

Best regards,
Marek Vasut

#2 lore raw

PATCH 1/1 arm: socfpga: Add DT support for SoCFPGA

Hi Marek,

Quoted 15 lines · Marek Vasut
Quoted 6 lines · Stefan Roese

This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for socfpga_cyclone5 to make use of this new DT support.

Note that now the image to use is u-boot-dtb.img!

Quoted 7 lines
Cc Marek Vasut <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Pavel Machek <[email protected]>
Quoted 4 lines

Hi Stefan,

any chance you can update this against current u-boot-socfpga/master please ? I think this should be 5 minute job at best.

Will do.

Thanks,
Stefan

#3 lore raw

PATCH 1/1 arm: socfpga: Add DT support for SoCFPGA

Marek,

Quoted 16 lines · Stefan Roese
Quoted 15 lines · Marek Vasut
Quoted 13 lines · Stefan Roese

This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for socfpga_cyclone5 to make use of this new DT support.

Note that now the image to use is u-boot-dtb.img!

Cc Marek Vasut <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Pavel Machek <[email protected]>
Quoted 7 lines
Quoted 5 lines

Hi Stefan,

any chance you can update this against current u-boot-socfpga/master please ?
I think this should be 5 minute job at best.

Will do.

Its already in mainline. This patch has superseeded the one you refer by this mail:

51c580c6c92c01884f520f4ffaeb6885ee8e666e
arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

Let me know if something is still missing or unclear.

Thanks,
Stefan

#4 lore raw

PATCH 1/1 arm: socfpga: Add DT support for SoCFPGA

Quoted 27 lines · Stefan Roese

Marek,

Quoted 16 lines · Stefan Roese
Quoted 15 lines · Marek Vasut
Quoted 13 lines · Stefan Roese

This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for socfpga_cyclone5 to make use of this new DT support.

Note that now the image to use is u-boot-dtb.img!

Cc Marek Vasut <[email protected]>
Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Pavel Machek <[email protected]>
Quoted 7 lines
Quoted 5 lines

Hi Stefan,

any chance you can update this against current u-boot-socfpga/master please ?
I think this should be 5 minute job at best.

Will do.

Quoted 7 lines

Its already in mainline. This patch has superseeded the one you refer by this mail:

51c580c6c92c01884f520f4ffaeb6885ee8e666e
arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

Let me know if something is still missing or unclear.

Thank you for checking !

Best regards,
Marek Vasut