* [PATCH] ARM: bcm2835: add label for uart0 @ 2015-10-02 18:31 Stefan Wahren [not found] ` <1443810675-25558-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Stefan Wahren @ 2015-10-02 18:31 UTC (permalink / raw) To: Stephen Warren, Lee Jones, Eric Anholt Cc: Mark Rutland, Pawel Moll, Ian Campbell, Rob Herring, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Stefan Wahren This patch adds a label for uart0 to allow changing of uart0 pins. Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> --- arch/arm/boot/dts/bcm2835.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index 301c73f..2029394 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -92,7 +92,7 @@ #interrupt-cells = <2>; }; - uart@7e201000 { + uart0: uart@7e201000 { compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; reg = <0x7e201000 0x1000>; interrupts = <2 25>; -- 1.7.9.5 -- 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] 5+ messages in thread
[parent not found: <1443810675-25558-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>]
* Re: [PATCH] ARM: bcm2835: add label for uart0 [not found] ` <1443810675-25558-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> @ 2015-10-06 21:53 ` Eric Anholt [not found] ` <87oagbhdfb.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org> 2015-10-15 0:33 ` Eric Anholt 1 sibling, 1 reply; 5+ messages in thread From: Eric Anholt @ 2015-10-06 21:53 UTC (permalink / raw) To: Stephen Warren, Lee Jones Cc: Mark Rutland, Pawel Moll, Ian Campbell, Rob Herring, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Stefan Wahren [-- Attachment #1: Type: text/plain, Size: 339 bytes --] Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes: > This patch adds a label for uart0 to allow changing of uart0 pins. > > Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> This patch seems innocuous, but could you clarify for me how exactly you change the uart0 pins, and why one would do that? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <87oagbhdfb.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>]
* Re: [PATCH] ARM: bcm2835: add label for uart0 [not found] ` <87oagbhdfb.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org> @ 2015-10-07 2:26 ` Stephen Warren [not found] ` <561482CE.2020804-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Stephen Warren @ 2015-10-07 2:26 UTC (permalink / raw) To: Eric Anholt Cc: Stefan Wahren, Lee Jones, Mark Rutland, Pawel Moll, Ian Campbell, Rob Herring, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA On 10/06/2015 03:53 PM, Eric Anholt wrote: > Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes: > >> This patch adds a label for uart0 to allow changing of uart0 >> pins. >> >> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> > > This patch seems innocuous, but could you clarify for me how > exactly you change the uart0 pins, and why one would do that? I /assume/ this is so that some other DT file (that includes the edited file) can add some pinctrl-related properties to this DT node, using syntax such as: &uart0 { new content; }; If so, the patch, Acked-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> -- 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] 5+ messages in thread
[parent not found: <561482CE.2020804-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: [PATCH] ARM: bcm2835: add label for uart0 [not found] ` <561482CE.2020804-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2015-10-07 6:47 ` Stefan Wahren 0 siblings, 0 replies; 5+ messages in thread From: Stefan Wahren @ 2015-10-07 6:47 UTC (permalink / raw) To: Stephen Warren, Eric Anholt Cc: Mark Rutland, Pawel Moll, Ian Campbell, Lee Jones, devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Am 07.10.2015 um 04:26 schrieb Stephen Warren: > On 10/06/2015 03:53 PM, Eric Anholt wrote: >> Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes: >> >>> This patch adds a label for uart0 to allow changing of uart0 >>> pins. >>> >>> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> >> This patch seems innocuous, but could you clarify for me how >> exactly you change the uart0 pins, and why one would do that? > I /assume/ this is so that some other DT file (that includes the > edited file) can add some pinctrl-related properties to this DT node, > using syntax such as: > > &uart0 { > new content; > }; > > If so, the patch, > Acked-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Your assumption is correct. In case the UART should be used on a custom board with Raspberry Pi Compute Module and a microcontroller this change is necessary to reference the UART: &gpio { // ... uart0_pins: uart0_pins { brcm,pins = <36 37>; brcm,function = <BCM2835_FSEL_ALT2>; }; } &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; Thanks Stefan -- 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] 5+ messages in thread
* Re: [PATCH] ARM: bcm2835: add label for uart0 [not found] ` <1443810675-25558-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> 2015-10-06 21:53 ` Eric Anholt @ 2015-10-15 0:33 ` Eric Anholt 1 sibling, 0 replies; 5+ messages in thread From: Eric Anholt @ 2015-10-15 0:33 UTC (permalink / raw) To: Stephen Warren, Lee Jones Cc: Mark Rutland, Pawel Moll, Ian Campbell, Rob Herring, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Stefan Wahren [-- Attachment #1: Type: text/plain, Size: 262 bytes --] Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes: > This patch adds a label for uart0 to allow changing of uart0 pins. > > Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> Pulled to bcm2835-dt-next with Stephen's ack. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-15 0:33 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-10-02 18:31 [PATCH] ARM: bcm2835: add label for uart0 Stefan Wahren [not found] ` <1443810675-25558-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> 2015-10-06 21:53 ` Eric Anholt [not found] ` <87oagbhdfb.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org> 2015-10-07 2:26 ` Stephen Warren [not found] ` <561482CE.2020804-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 2015-10-07 6:47 ` Stefan Wahren 2015-10-15 0:33 ` Eric Anholt
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).