diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2017-07-30 19:10:32 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-08-03 00:17:36 +0200 |
commit | 4188ea2aeb6dd8f99ab77662f463e41bc464a704 (patch) | |
tree | b51f0bd944e3665bcfe85398d119df8159895251 /arch/arm/boot/dts/bcm2836-rpi-2-b.dts | |
parent | ARM: dts: bcm283x: Move the BCM2837 DT contents from arm64 to arm. (diff) | |
download | linux-4188ea2aeb6dd8f99ab77662f463e41bc464a704.tar.xz linux-4188ea2aeb6dd8f99ab77662f463e41bc464a704.zip |
ARM: bcm283x: Define UART pinmuxing on board level
Until RPI 3 and Zero W the pl011 (uart0) was always on pin 14/15. So in
order to take care of them and other boards in the future,
we need to define UART pinmuxing on board level.
This work based on Eric Anholt's patch "ARM: bcm2385: Don't force pl011
onto pins 14/15." and Fabian Vogt's patch "ARM64: dts: bcm2837: assign
uart0 to BT and uart1 to pin headers".
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2836-rpi-2-b.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts index bf19e8cfb9e6..e8de41444b68 100644 --- a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts +++ b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts @@ -39,3 +39,9 @@ &hdmi { hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; }; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_gpio14>; + status = "okay"; +}; |