Re: [PATCH linux dev-5.3 1/4] ARM: dts: aspeed-g6: Add VUART descriptions
Andrew Jeffery
andrew at aj.id.au
Thu Oct 3 09:56:11 AEST 2019
On Wed, 2 Oct 2019, at 19:53, Joel Stanley wrote:
> The AST2600 has two VUART devices.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
> arch/arm/boot/dts/aspeed-g6.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
> index 5bea04b67b5c..2ad90a906266 100644
> --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> @@ -29,6 +29,8 @@
> i2c14 = &i2c14;
> i2c15 = &i2c15;
> serial4 = &uart5;
> + serial5 = &vuart1;
> + serial6 = &vuart2;
> };
>
>
> @@ -475,6 +477,26 @@
> };
> };
>
> + vuart1: serial at 1e787000 {
> + compatible = "aspeed,ast2500-vuart";
> + reg = <0x1e787000 0x40>;
> + reg-shift = <2>;
> + interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
For anyone playing along the IRQ isn't documented in current releases of the
datasheet, but you can find it in the SDK devicetree:
https://github.com/AspeedTech-BMC/linux/blob/3f525e22080917f5569fb853f348f5ecb089a0d9/arch/arm/boot/dts/aspeed-g6.dtsi#L516
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
More information about the openbmc
mailing list