Re: DT config of io resource
From: Sebastian Andrzej Siewior
Date: Tue Jan 12 2016 - 12:31:14 EST
* Rolland Chau | 2015-12-31 13:46:14 [+0800]:
>I see that your sent a patch contain the below dt config.
>I want to konw how can i get IO resource from dts, how is the
>parent node configed? thanks.
The complete node can be found in
The ressource should be configured by the platform_device code so a
platform_get_resource(pdev, IORESOURCE_IO, 0);
should do the trick. The upper bus is ISA and the first 1 in reg
classifies the memory as IO memory and not memory mapped.