85f296433e
The Allwinner V3 and S3 can use PG6/7 as RX/TX for UART1. Since no other functions are assigned to those pins, they are a convenient choice for a debugging or application UART. This is specific to V3/S3 as the V3s's non-BGA package did not have those pins. Signed-off-by: Matteo Scordino <matteo.scordino@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20201030234325.5865-3-matteo.scordino@gmail.com
33 lines
497 B
Plaintext
33 lines
497 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io>
|
|
*/
|
|
|
|
#include "sun8i-v3s.dtsi"
|
|
|
|
&ccu {
|
|
compatible = "allwinner,sun8i-v3-ccu";
|
|
};
|
|
|
|
&emac {
|
|
/delete-property/ phy-handle;
|
|
/delete-property/ phy-mode;
|
|
};
|
|
|
|
&mdio_mux {
|
|
external_mdio: mdio@2 {
|
|
reg = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
|
|
&pio {
|
|
compatible = "allwinner,sun8i-v3-pinctrl";
|
|
|
|
uart1_pg_pins: uart1-pg-pins {
|
|
pins = "PG6", "PG7";
|
|
function = "uart1";
|
|
};
|
|
};
|