Gpio reset handling

David Gibson david at gibson.dropbear.id.au
Wed Sep 16 10:24:59 EST 2009


On Tue, Sep 15, 2009 at 04:27:04PM -0600, Grant Likely wrote:
> On Tue, Sep 15, 2009 at 12:32 PM, Michal Simek <monstr at monstr.eu> wrote:
[snip]
> So, something like this perhaps:
> 
>     machine {
>         compatible = "<vendor>,<board>-machine";
>         soft-reset-gpio = <&gpio_res 1 1>;
>         phy-reset-gpio = <&gpio_res 2 1>;
>     };
> 
> I don't much like the node name "machine", but I can't think of
> anything better at the moment.

Why not put the reset properties in the root node?  They do pertain to
the whole system, after all.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson


More information about the devicetree-discuss mailing list