* [PATCH 0/3] ARM: dts: socfpga: updates for SOCFPGA
@ 2014-08-14 15:51 dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
[not found] ` <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
0 siblings, 1 reply; 13+ messages in thread
From: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 UTC (permalink / raw)
To: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8,
pawel.moll-5wv7dgnIgG8
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx,
vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx,
tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, Dinh Nguyen
From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
Just a few DTS updates for the SOCFPGA platform.
patch 1/3 : cleanup
patch 2/3 : Add a SD/MMC card detect entry
patch 3/3 : Add a /memserve/ section for the platform
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 SMP code
arch/arm/boot/dts/socfpga_arria5.dtsi | 1 +
arch/arm/boot/dts/socfpga_arria5_socdk.dts | 7 -------
arch/arm/boot/dts/socfpga_cyclone5.dtsi | 3 ++-
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 4 ++++
4 files changed, 7 insertions(+), 8 deletions(-)
--
2.0.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 13+ messages in thread[parent not found: <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* [PATCH 1/3] ARM: dts: socfpga: remove extra alias in the ArriaV devkit [not found] ` <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 15:51 ` dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx 2014-08-14 15:51 ` [PATCH 2/3] ARM: dts: socfpga: Add SD card detect dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx 2014-08-14 15:51 ` [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx 2 siblings, 0 replies; 13+ messages in thread From: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 UTC (permalink / raw) To: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8 Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, Dinh Nguyen From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 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. Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> --- arch/arm/boot/dts/socfpga_arria5_socdk.dts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_arria5_socdk.dts b/arch/arm/boot/dts/socfpga_arria5_socdk.dts index d532d17..27d551c 100644 --- a/arch/arm/boot/dts/socfpga_arria5_socdk.dts +++ b/arch/arm/boot/dts/socfpga_arria5_socdk.dts @@ -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 { -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 2014-08-14 15:51 ` [PATCH 1/3] ARM: dts: socfpga: remove extra alias in the ArriaV devkit dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 ` dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx [not found] ` <1408031491-15609-3-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 2014-08-14 15:51 ` [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx 2 siblings, 1 reply; 13+ messages in thread From: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 UTC (permalink / raw) To: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8 Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, Dinh Nguyen From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC card detect. Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> --- arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/socfpga_cyclone5.dtsi b/arch/arm/boot/dts/socfpga_cyclone5.dtsi index 1ee03c4..33cad8b 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5.dtsi +++ b/arch/arm/boot/dts/socfpga_cyclone5.dtsi @@ -28,7 +28,7 @@ }; }; - dwmmc0@ff704000 { + mmc0: dwmmc0@ff704000 { num-slots = <1>; broken-cd; bus-width = <4>; diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts index 45de151..d7296a5 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts @@ -68,6 +68,10 @@ }; }; +&mmc0 { + cd-gpios = <&gpio1 18 0>; +}; + &usb1 { status = "okay"; }; -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 13+ messages in thread
[parent not found: <1408031491-15609-3-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <1408031491-15609-3-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 18:51 ` Pavel Machek [not found] ` <20140814185158.GD11558-tWAi6jLit6GreWDznjuHag@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Pavel Machek @ 2014-08-14 18:51 UTC (permalink / raw) To: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: > From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > > Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC > card detect. Are there previous revisions outside Altera? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20140814185158.GD11558-tWAi6jLit6GreWDznjuHag@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <20140814185158.GD11558-tWAi6jLit6GreWDznjuHag@public.gmane.org> @ 2014-08-14 20:57 ` Dinh Nguyen [not found] ` <53ED22D0.3060404-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Dinh Nguyen @ 2014-08-14 20:57 UTC (permalink / raw) To: Pavel Machek Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 8/14/14, 1:51 PM, Pavel Machek wrote: > On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: >> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> >> >> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC >> card detect. > > Are there previous revisions outside Altera? > Not with SD card detect. dinh -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <53ED22D0.3060404-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <53ED22D0.3060404-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 20:59 ` Pavel Machek [not found] ` <20140814205941.GA26857-tWAi6jLit6GreWDznjuHag@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Pavel Machek @ 2014-08-14 20:59 UTC (permalink / raw) To: Dinh Nguyen Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu 2014-08-14 15:57:52, Dinh Nguyen wrote: > > > On 8/14/14, 1:51 PM, Pavel Machek wrote: > > On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: > >> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > >> > >> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC > >> card detect. > > > > Are there previous revisions outside Altera? > > > > Not with SD card detect. So this patch will break those revision C (and below) boards, by adding gpio for card detect that does not exists there, no? Confused, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20140814205941.GA26857-tWAi6jLit6GreWDznjuHag@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <20140814205941.GA26857-tWAi6jLit6GreWDznjuHag@public.gmane.org> @ 2014-08-14 21:01 ` Dinh Nguyen [not found] ` <53ED239A.8090905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Dinh Nguyen @ 2014-08-14 21:01 UTC (permalink / raw) To: Pavel Machek, Dinh Nguyen Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 8/14/14, 3:59 PM, Pavel Machek wrote: > On Thu 2014-08-14 15:57:52, Dinh Nguyen wrote: >> >> >> On 8/14/14, 1:51 PM, Pavel Machek wrote: >>> On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: >>>> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> >>>> >>>> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC >>>> card detect. >>> >>> Are there previous revisions outside Altera? >>> >> >> Not with SD card detect. > > So this patch will break those revision C (and below) boards, by > adding gpio for card detect that does not exists there, no? > No, the card detect line is muxed with DAT3, so it'll work fine on previous boards that does have card detect. > Confused, Tested on all board revisions. Dinh -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <53ED239A.8090905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <53ED239A.8090905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2014-08-14 21:01 ` Dinh Nguyen [not found] ` <53ED23C4.4010004-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Dinh Nguyen @ 2014-08-14 21:01 UTC (permalink / raw) To: Dinh Nguyen, Pavel Machek Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 8/14/14, 4:01 PM, Dinh Nguyen wrote: > > > On 8/14/14, 3:59 PM, Pavel Machek wrote: >> On Thu 2014-08-14 15:57:52, Dinh Nguyen wrote: >>> >>> >>> On 8/14/14, 1:51 PM, Pavel Machek wrote: >>>> On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: >>>>> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> >>>>> >>>>> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC >>>>> card detect. >>>> >>>> Are there previous revisions outside Altera? >>>> >>> >>> Not with SD card detect. >> >> So this patch will break those revision C (and below) boards, by >> adding gpio for card detect that does not exists there, no? >> > > No, the card detect line is muxed with DAT3, so it'll work fine on > previous boards that does have card detect. Sorry...i'll work fine on previous boards that does NOT have card detect. >> Confused, > > Tested on all board revisions. > > Dinh > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <53ED23C4.4010004-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* Re: [PATCH 2/3] ARM: dts: socfpga: Add SD card detect [not found] ` <53ED23C4.4010004-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 21:04 ` Pavel Machek 0 siblings, 0 replies; 13+ messages in thread From: Pavel Machek @ 2014-08-14 21:04 UTC (permalink / raw) To: Dinh Nguyen Cc: Dinh Nguyen, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu 2014-08-14 16:01:56, Dinh Nguyen wrote: > > > On 8/14/14, 4:01 PM, Dinh Nguyen wrote: > > > > > > On 8/14/14, 3:59 PM, Pavel Machek wrote: > >> On Thu 2014-08-14 15:57:52, Dinh Nguyen wrote: > >>> > >>> > >>> On 8/14/14, 1:51 PM, Pavel Machek wrote: > >>>> On Thu 2014-08-14 10:51:30, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: > >>>>> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > >>>>> > >>>>> Revision D of the SOCFGPA devkit has a GPIO line used for SD/MMC > >>>>> card detect. > >>>> > >>>> Are there previous revisions outside Altera? > >>>> > >>> > >>> Not with SD card detect. > >> > >> So this patch will break those revision C (and below) boards, by > >> adding gpio for card detect that does not exists there, no? > >> > > > > No, the card detect line is muxed with DAT3, so it'll work fine on > > previous boards that does have card detect. > > Sorry...i'll work fine on previous boards that does NOT have card detect. Thanks for clarifications and sorry for the noise. Acked-by: Pavel Machek <pavel-ynQEQJNshbs@public.gmane.org> Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code [not found] ` <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 2014-08-14 15:51 ` [PATCH 1/3] ARM: dts: socfpga: remove extra alias in the ArriaV devkit dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx 2014-08-14 15:51 ` [PATCH 2/3] ARM: dts: socfpga: Add SD card detect dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 ` dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx [not found] ` <1408031491-15609-4-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 2 siblings, 1 reply; 13+ messages in thread From: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2014-08-14 15:51 UTC (permalink / raw) To: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8 Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, Dinh Nguyen From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> The SOCFPGA's SMP code uses 0x0 for as the location for the trampoline to bring secondary cores online. This patch adds a /memreserve/ section to reserve the first 4K for the SMP trampoline code. Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> --- arch/arm/boot/dts/socfpga_arria5.dtsi | 1 + arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi index 468fc4c..73b939e 100644 --- a/arch/arm/boot/dts/socfpga_arria5.dtsi +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi @@ -15,6 +15,7 @@ */ /dts-v1/; +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / { diff --git a/arch/arm/boot/dts/socfpga_cyclone5.dtsi b/arch/arm/boot/dts/socfpga_cyclone5.dtsi index 33cad8b..f0785f0 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5.dtsi +++ b/arch/arm/boot/dts/socfpga_cyclone5.dtsi @@ -16,6 +16,7 @@ */ /dts-v1/; +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / { -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 13+ messages in thread
[parent not found: <1408031491-15609-4-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* Re: [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code [not found] ` <1408031491-15609-4-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 18:54 ` Pavel Machek [not found] ` <20140814185432.GE11558-tWAi6jLit6GreWDznjuHag@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Pavel Machek @ 2014-08-14 18:54 UTC (permalink / raw) To: dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu 2014-08-14 10:51:31, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: > From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > > The SOCFPGA's SMP code uses 0x0 for as the location for the trampoline to > bring secondary cores online. This patch adds a /memreserve/ section to > reserve the first 4K for the SMP trampoline code. > > Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > --- > arch/arm/boot/dts/socfpga_arria5.dtsi | 1 + > arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi > index 468fc4c..73b939e 100644 > --- a/arch/arm/boot/dts/socfpga_arria5.dtsi > +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi > @@ -15,6 +15,7 @@ > */ > > /dts-v1/; > +/memreserve/ 0x00000000 0x0001000; Actually, comment here explaining that ROM code uses 0x0 for the trampoline would be nice here... if I understand it correctly. Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20140814185432.GE11558-tWAi6jLit6GreWDznjuHag@public.gmane.org>]
* Re: [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code [not found] ` <20140814185432.GE11558-tWAi6jLit6GreWDznjuHag@public.gmane.org> @ 2014-08-14 20:56 ` Dinh Nguyen [not found] ` <53ED2295.3020700-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Dinh Nguyen @ 2014-08-14 20:56 UTC (permalink / raw) To: Pavel Machek Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 8/14/14, 1:54 PM, Pavel Machek wrote: > On Thu 2014-08-14 10:51:31, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: >> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> >> >> The SOCFPGA's SMP code uses 0x0 for as the location for the trampoline to >> bring secondary cores online. This patch adds a /memreserve/ section to >> reserve the first 4K for the SMP trampoline code. >> >> Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> >> --- >> arch/arm/boot/dts/socfpga_arria5.dtsi | 1 + >> arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 + >> 2 files changed, 2 insertions(+) >> >> diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi >> index 468fc4c..73b939e 100644 >> --- a/arch/arm/boot/dts/socfpga_arria5.dtsi >> +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi >> @@ -15,6 +15,7 @@ >> */ >> >> /dts-v1/; >> +/memreserve/ 0x00000000 0x0001000; > > Actually, comment here explaining that ROM code uses 0x0 for the > trampoline would be nice here... if I understand it correctly. Sure...I'll add a single line comment. Dinh > > Thanks, > Pavel > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <53ED2295.3020700-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>]
* Re: [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code [not found] ` <53ED2295.3020700-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> @ 2014-08-14 21:03 ` Pavel Machek 0 siblings, 0 replies; 13+ messages in thread From: Pavel Machek @ 2014-08-14 21:03 UTC (permalink / raw) To: Dinh Nguyen Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, mark.rutland-5wv7dgnIgG8, pawel.moll-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, vbridger-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Thu 2014-08-14 15:56:53, Dinh Nguyen wrote: > > > On 8/14/14, 1:54 PM, Pavel Machek wrote: > > On Thu 2014-08-14 10:51:31, dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org wrote: > >> From: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > >> > >> The SOCFPGA's SMP code uses 0x0 for as the location for the trampoline to > >> bring secondary cores online. This patch adds a /memreserve/ section to > >> reserve the first 4K for the SMP trampoline code. > >> > >> Signed-off-by: Dinh Nguyen <dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org> > >> --- > >> arch/arm/boot/dts/socfpga_arria5.dtsi | 1 + > >> arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 + > >> 2 files changed, 2 insertions(+) > >> > >> diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi > >> index 468fc4c..73b939e 100644 > >> --- a/arch/arm/boot/dts/socfpga_arria5.dtsi > >> +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi > >> @@ -15,6 +15,7 @@ > >> */ > >> > >> /dts-v1/; > >> +/memreserve/ 0x00000000 0x0001000; > > > > Actually, comment here explaining that ROM code uses 0x0 for the > > trampoline would be nice here... if I understand it correctly. > > Sure...I'll add a single line comment. Thanks. You can add my acked-by then :-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-08-14 21:04 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14 15:51 [PATCH 0/3] ARM: dts: socfpga: updates for SOCFPGA dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
[not found] ` <1408031491-15609-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 15:51 ` [PATCH 1/3] ARM: dts: socfpga: remove extra alias in the ArriaV devkit dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2014-08-14 15:51 ` [PATCH 2/3] ARM: dts: socfpga: Add SD card detect dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
[not found] ` <1408031491-15609-3-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 18:51 ` Pavel Machek
[not found] ` <20140814185158.GD11558-tWAi6jLit6GreWDznjuHag@public.gmane.org>
2014-08-14 20:57 ` Dinh Nguyen
[not found] ` <53ED22D0.3060404-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 20:59 ` Pavel Machek
[not found] ` <20140814205941.GA26857-tWAi6jLit6GreWDznjuHag@public.gmane.org>
2014-08-14 21:01 ` Dinh Nguyen
[not found] ` <53ED239A.8090905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-14 21:01 ` Dinh Nguyen
[not found] ` <53ED23C4.4010004-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 21:04 ` Pavel Machek
2014-08-14 15:51 ` [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
[not found] ` <1408031491-15609-4-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 18:54 ` Pavel Machek
[not found] ` <20140814185432.GE11558-tWAi6jLit6GreWDznjuHag@public.gmane.org>
2014-08-14 20:56 ` Dinh Nguyen
[not found] ` <53ED2295.3020700-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-08-14 21:03 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).