Gpio reset handling

Michal Simek monstr at monstr.eu
Thu Sep 17 16:46:13 EST 2009


David Gibson wrote:
> 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.
> 

I looked at powerpc dts in kernel and I haven't found it. Can you send me
example of it?

Thanks,
Michal






-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


More information about the devicetree-discuss mailing list