* [PATCH] ARM: dts: sun5i: Utoo P66 add uart node and aliases
@ 2015-04-23 16:36 Hans de Goede
2015-04-23 17:11 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2015-04-23 16:36 UTC (permalink / raw)
To: linux-arm-kernel
Like on most non devel-boards it is still possible to get an uart on
the Utoo P66 tablet by soldering some wires to the right pads on the PCB,
add support for this to the dts, like we do with all sunxi boards.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
index 00bdf28..bb8d61a 100644
--- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
+++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
@@ -57,6 +57,14 @@
model = "Utoo P66";
compatible = "utoo,p66", "allwinner,sun5i-a13";
+ aliases {
+ serial0 = &uart1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
i2c_lcd: i2c at 0 {
/* The lcd panel i2c interface is hooked up via gpios */
compatible = "i2c-gpio";
@@ -238,6 +246,12 @@
status = "okay";
};
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins_b>;
+ status = "okay";
+};
+
&usb_otg {
dr_mode = "otg";
status = "okay";
--
2.3.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: sun5i: Utoo P66 add uart node and aliases
2015-04-23 16:36 [PATCH] ARM: dts: sun5i: Utoo P66 add uart node and aliases Hans de Goede
@ 2015-04-23 17:11 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2015-04-23 17:11 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On 23-04-15 18:36, Hans de Goede wrote:
> Like on most non devel-boards it is still possible to get an uart on
> the Utoo P66 tablet by soldering some wires to the right pads on the PCB,
> add support for this to the dts, like we do with all sunxi boards.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This one is no good, the uart cannot be used as it shares a pin with the
lcd-panel, self-NACK.
Regards,
Hans
> ---
> arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> index 00bdf28..bb8d61a 100644
> --- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> +++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> @@ -57,6 +57,14 @@
> model = "Utoo P66";
> compatible = "utoo,p66", "allwinner,sun5i-a13";
>
> + aliases {
> + serial0 = &uart1;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> i2c_lcd: i2c at 0 {
> /* The lcd panel i2c interface is hooked up via gpios */
> compatible = "i2c-gpio";
> @@ -238,6 +246,12 @@
> status = "okay";
> };
>
> +&uart1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart1_pins_b>;
> + status = "okay";
> +};
> +
> &usb_otg {
> dr_mode = "otg";
> status = "okay";
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-23 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23 16:36 [PATCH] ARM: dts: sun5i: Utoo P66 add uart node and aliases Hans de Goede
2015-04-23 17:11 ` Hans de Goede
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).