ARM: dts: socfpga: updates for SOCFPGA
v3 cover ARM: dts: socfpga: updates for SOCFPGA
From: Dinh Nguyen <[email protected]>
Just a few DTS updates for the SOCFPGA platform.
v3:
patch 1/3 : same as v2
patch 2/3 : same as v2
patch 3/3 : Updated commit message based on Mark Rutland's comment.
Dinh Nguyen (3):
ARM: dts: socfpga: remove extra alias in the ArriaV devkit
ARM: dts: socfpga: Add SD card detect
ARM: dts: socfpga: memreserve first 4KB for future system use
arch/arm/boot/dts/socfpga_arria5.dtsi | 2 ++ arch/arm/boot/dts/socfpga_arria5_socdk.dts | 7 ------- arch/arm/boot/dts/socfpga_cyclone5.dtsi | 4 +++- arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 4 ++++ 4 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.0.3
PATCH v3 1/3 ARM: dts: socfpga: remove extra alias in the ArriaV devkit
From: Dinh Nguyen <[email protected]>
commit [2755e187 dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac.] added an extra ethernet alias in the ArriaV devkit board file. This patch removes it.
--- arch/arm/boot/dts/socfpga_arria5_socdk.dts | 7 ------- 1 file changed, 7 deletions(-)
arch/arm/boot/dts/socfpga_arria5_socdk.dts +0 -7
@@ -37,13 +37,6 @@ */ ethernet0 = &gmac1; }; - - aliases { - /* this allow the ethaddr uboot environmnet variable contents - * to be added to the gmac1 device tree blob. - */ - ethernet0 = &gmac1; - }; }; &gmac1 {
Signature · 1 line
2.0.3
PATCH v3 2/3 ARM: dts: socfpga: Add SD card detect
In reply to dinguyen at opensource.altera.comFrom: Dinh Nguyen <[email protected]>
Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC card detect.
--- arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/socfpga_cyclone5.dtsi +1 -1
@@ -28,7 +28,7 @@ }; }; - dwmmc0 at ff704000 { + mmc0: dwmmc0 at ff704000 { num-slots = <1>; broken-cd; bus-width = <4>;
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts +4 -0
@@ -68,6 +68,10 @@ }; }; +&mmc0 { + cd-gpios = <&gpio1 18 0>; +}; + &usb1 { status = "okay"; };
Signature · 1 line
2.0.3
PATCH v3 3/3 ARM: dts: socfpga: memreserve first 4KB for future system use
In reply to dinguyen at opensource.altera.comFrom: Dinh Nguyen <[email protected]>
This patch adds a /memreserve/ section to reserve the first 4K for future use by the system. One possible use-case is trampoline code used to bring secondary cores online.
---
v3: Update commit message based on Mark Rutland's comment
v2: Add a comment in the dts files
--- arch/arm/boot/dts/socfpga_arria5.dtsi | 2 ++ arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 ++ 2 files changed, 4 insertions(+)
arch/arm/boot/dts/socfpga_arria5.dtsi +2 -0
@@ -15,6 +15,8 @@ */ /dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / {
arch/arm/boot/dts/socfpga_cyclone5.dtsi +2 -0
@@ -16,6 +16,8 @@ */ /dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / {
Signature · 1 line
2.0.3