ARM: dts: i.MX25: add ranges to tscadc
authorMartin Kaiser <martin@kaiser.cx>
Wed, 2 Aug 2017 20:06:11 +0000 (22:06 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 5 Aug 2017 05:22:32 +0000 (13:22 +0800)
commit8317562097acec4c9e9750eb91115687931bca35
tree6f9f98c25cb1e45000918b89ff5d491655668553
parent9e01e2d56db23485a75864b6aeee8e443f024ddb
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: Martin Kaiser <martin@kaiser.cx>
Fixes: 92f651f39b42 ("ARM: dts: imx25: Add TSC and ADC support")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx25.dtsi