From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH] arm64: dts: marvell: Add device tree for uDPU board Date: Fri, 11 Jan 2019 18:41:47 +0100 Message-ID: <20190111174147.GG20924@lunn.ch> References: <20190111172055.30451-1-vladimir.vid@sartura.hr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190111172055.30451-1-vladimir.vid@sartura.hr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Vladimir Vid Cc: devicetree@vger.kernel.org, Luka Perkov , Paul Arola , Luis Torres , Scott Roberts , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > new file mode 100644 > index 000000000000..eae30322a037 > --- /dev/null > +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > @@ -0,0 +1,178 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Device tree for the uDPU board. > + * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) > + * Copyright (C) 2016 Marvell > + * Copyright (C) 2018 Methode > + * Copyright (C) 2018 Telus > + * > + * Vladimir Vid > + */ > + > +/dts-v1/; > + > +#include > +#include "armada-372x.dtsi" > + > +/ { > + model = "Methode uDPU Board"; > + compatible = "marvell,armada-3720-db", "marvell,armada3720", > + "marvell,armada3710"; > + Hi Vladimir There should be a compatible string here for the board. It looks like you will also need to add Methode as a vendor to Documentation/devicetree/bindings/vendor-prefixes.txt. > + leds { > + pinctrl-names = "default"; > + compatible = "gpio-leds"; > + > + led@487 { > + gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; > + default-state = "off"; It is normal to have a name here, indicating what the LED is for, its colour, etc. > +&mdio { > + status = "okay"; > + phy0: ethernet-phy@0 { > + reg = <0>; > + }; > + phy1: ethernet-phy@1 { > + reg = <1>; > + }; > +}; These don't appear to be used anywhere. Andrew