Commit 83175620 authored by Martin Kaiser's avatar Martin Kaiser Committed by Shawn Guo

ARM: dts: i.MX25: add ranges to tscadc

Add a ranges; line to the tscadc node. This creates a 1:1 mapping between
the addresses used by tscadc and those in its child nodes (adc, tsc).

Without such a mapping, the reg = ... lines in the tsc and adc nodes do
not create a resource. Probing the fsl-imx25-tcq and fsl-imx25-tsadc
drivers will then fail since there's no IORESOURCE_MEM.
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Fixes: 92f651f3 ("ARM: dts: imx25: Add TSC and ADC support")
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 9e01e2d5
......@@ -297,6 +297,7 @@ tscadc: tscadc@50030000 {
#address-cells = <1>;
#size-cells = <1>;
status = "disabled";
ranges;
adc: adc@50030800 {
compatible = "fsl,imx25-gcq";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment