[PATCH] ARM: DTS armada: Add support for 2 more mvebu model

Andrew Lunn andrew at lunn.ch
Fri Mar 3 12:12:16 PST 2017


On Fri, Mar 03, 2017 at 07:59:51PM +0100, Ansuel Smith wrote:
> So i need to refactor the rango file and remove the extra part in the
> dts file, right?
> Also i need to create another dtsi file just for rango that use
> different flash size and gpio leds
> Wouldn't be a waste create one dtsi file just for the rango?

Please do not top post.

For the GPIO LEDs look at cobra, caiman as examples. The LEDs for
rango go in rango.dts.

The flash at d0000 node in armada-385-linksys.dtsi should be moved into
another .dtsi file, e.g. armada-385-linksys-caiman-cobra.dtsi.

So you end up with

armada-385-linksys-caiman.dts
 - armada-385-linksys.dtsi
 - armada-385-linksys-caiman-cobra.dtsi

armada-385-linksys-cobra.dts
 - armada-385-linksys.dtsi
 - armada-385-linksys-caiman-cobra.dtsi

armada-385-linksys-rango.dts
 - armada-385-linksys.dtsi

 Andrew



More information about the linux-arm-kernel mailing list