diff options
author | Martin Kaiser <martin@kaiser.cx> | 2017-08-02 23:06:11 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-08-05 08:22:32 +0300 |
commit | 8317562097acec4c9e9750eb91115687931bca35 (patch) | |
tree | 6f9f98c25cb1e45000918b89ff5d491655668553 /arch/arm/boot/dts/imx25.dtsi | |
parent | 9e01e2d56db23485a75864b6aeee8e443f024ddb (diff) | |
download | linux-8317562097acec4c9e9750eb91115687931bca35.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/imx25.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx25.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index dfcc8e00cf1c..0ade3619f3c3 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -297,6 +297,7 @@ #address-cells = <1>; #size-cells = <1>; status = "disabled"; + ranges; adc: adc@50030800 { compatible = "fsl,imx25-gcq"; |