On Mon, 7 Jan 2013 17:42:08 +0100, Thomas Petazzoni <[email protected]> wrote: > Now that we have a 7-segment display driver in the kernel, use it on > the Marvell Armada XP DB evaluation board. > > Signed-off-by: Thomas Petazzoni <[email protected]> > --- > arch/arm/boot/dts/armada-xp-db.dts | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-xp-db.dts > b/arch/arm/boot/dts/armada-xp-db.dts > index 8e53b25..8654c1b 100644 > --- a/arch/arm/boot/dts/armada-xp-db.dts > +++ b/arch/arm/boot/dts/armada-xp-db.dts > @@ -90,5 +90,10 @@ > phy = <&phy3>; > phy-mode = "sgmii"; > }; > + gpio-7seg@0 { > + compatible = "generic,gpio-7seg"; > + status = "okay"; > + gpios = <&gpio0 26 0 &gpio0 27 0 &gpio1 16 0>; > + };
Nit: The node probably belongs at the base of the tree. A direct child of the root node because it really doen't make sense as a child of anything else. It's more of a system level device. g. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
