Hi, On Wed, Jan 05, 2022 at 10:45:50AM +0800, conleylee@xxxxxxxxxxx wrote: > From: conley <conleylee@xxxxxxxxxxx> This should be your full name in the author and signed-off-by > ARM dts: sun7i: Add Marsboard A20 board > > This patch add support for Marsboard A20 board. > > The Marsboard A20 is a A20 based SBC with 1G RAM, 8G Flash, micro SD > card slot , SATA socketm 10/100 ethernet, HDMI port, 4 USB2.0 ports, 2 > USB2.0 OTG, USB WIFI(RTL8188EU) with antenna. > > Change since v1. > - Spearate biddings and dts as two patches. > - use SPDX tag And the changelog should be after the --- below > Signed-off-by: conley <conleylee@xxxxxxxxxxx> > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/sun7i-a20-marsboard.dts | 183 ++++++++++++++++++++++ > 2 files changed, 184 insertions(+) > create mode 100644 arch/arm/boot/dts/sun7i-a20-marsboard.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 0de64f237cd8..4628a2617313 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1219,6 +1219,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > sun7i-a20-icnova-swac.dtb \ > sun7i-a20-lamobo-r1.dtb \ > sun7i-a20-linutronix-testbox-v2.dtb \ > + sun7i-a20-marsboard.dtb \ > sun7i-a20-m3.dtb \ > sun7i-a20-mk808c.dtb \ > sun7i-a20-olimex-som-evb.dtb \ > diff --git a/arch/arm/boot/dts/sun7i-a20-marsboard.dts b/arch/arm/boot/dts/sun7i-a20-marsboard.dts > new file mode 100644 > index 000000000000..7ab6aa30fee6 > --- /dev/null > +++ b/arch/arm/boot/dts/sun7i-a20-marsboard.dts > @@ -0,0 +1,183 @@ > +// SPDX-License-Identifier: LGPL-2.1+ The license for DT files is usually a dual-license with GPL and MIT, which would be: SPDX-License-Identifier: (GPL-2.0+ OR MIT) You can't link to a DT, so GPL and LGPL should be equivalent here, and MIT is useful for other projects (like the *BSD) that reuse the DT. > +/* > + * Copyright 2021 Conley Lee > + * Conley Lee <conleylee@xxxxxxxxxxx> > + */ > + > +/dts-v1/; > +#include "sun7i-a20.dtsi" > +#include "sunxi-common-regulators.dtsi" > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/interrupt-controller/irq.h> > + > +/ { > + model = "HAOYU Electronics Marsboard A20"; > + compatible = "haoyu,a20-marsboard", "allwinner,sun7i-a20"; Is there multiple boards called marsboard? If not, then the compatible should be haoyu,marsboard. The file name should be sun7i-a20-haoyu-marsboard too. > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + hdmi-connector { > + compatible = "hdmi-connector"; > + type = "a"; > + > + port { > + hdmi_con_in: endpoint { > + remote-endpoint = <&hdmi_out_con>; > + }; > + }; > + }; > +}; > + > +&ahci { > + target-supply = <®_ahci_5v>; > + status = "okay"; > +}; > + > +&codec { > + status = "okay"; > +}; > + > +&cpu0 { > + cpu-supply = <®_dcdc2>; > +}; > + > +&de { > + status = "okay"; > +}; > + > +&ehci0 { > + status = "okay"; > +}; > + > +&ehci1 { > + status = "okay"; > +}; > + > +&gmac_mii_pins { > + pins = "PA0", "PA1", "PA2", > + "PA3", "PA4", "PA5", "PA6", > + "PA7", "PA8", "PA9", "PA10", > + "PA11", "PA12", "PA13", "PA14", > + "PA15", "PA16", "PA17"; > +}; Why do you need that node? Maxime
Attachment:
signature.asc
Description: PGP signature