Hi, On Fri, May 22, 2020 at 11:07:43AM +0800, Frank Lee wrote: > A100 perf1 is an Allwinner A100-based SBC, with the following features: > > - 1GiB DDR3 DRAM > - AXP803 PMIC > - 2 USB 2.0 ports > - MicroSD slot and on-board eMMC module > - on-board Nand flash > - ··· > > Adds initial support for it, including the UART. > > Signed-off-by: Frank Lee <frank@xxxxxxxxxxxxxxxxx> Which bootloader have you used to test this? > --- > arch/arm64/boot/dts/allwinner/Makefile | 1 + > .../allwinner/sun50i-a100-allwinner-perf1.dts | 27 +++++++++++++++++++ > 2 files changed, 28 insertions(+) > create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts > > diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile > index e4d3cd0ac5bb..ab780dbdd17b 100644 > --- a/arch/arm64/boot/dts/allwinner/Makefile > +++ b/arch/arm64/boot/dts/allwinner/Makefile > @@ -14,6 +14,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.1.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb > +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus-v1.2.dtb > dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-emlid-neutis-n5-devboard.dtb > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts > new file mode 100644 > index 000000000000..32c9986920ed > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts > @@ -0,0 +1,27 @@ > +// SPDX-License-Identifier: (GPL-2.0+ or MIT) > +/* > + * Copyright (c) 2020 Frank Lee <frank@xxxxxxxxxxxxx> > + */ > + > +/dts-v1/; > + > +#include "sun50i-a100.dtsi" > + > +/{ > + model = "A100 perf1"; Having the same casing and the "brand" would be great here, so something like "Allwinner A100 Perf1", or just Perf1 if that name is only ever going to be used on the A100 > + compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100"; This binding needs to be documented Maxime
Attachment:
signature.asc
Description: PGP signature