diff options
author | Marco Franchi <marco.franchi@nxp.com> | 2018-01-09 14:46:23 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-02-12 16:13:00 +0300 |
commit | 256909a47871a5ff2456ce3d2ec30a75e1236090 (patch) | |
tree | dab96ec5de2351afbbc8f26789e851efd48d96a1 /arch/arm/boot/dts/imx6ul-14x14-evk.dts | |
parent | 7055f714032c03a7747fae9526802aab9ace1110 (diff) | |
download | linux-256909a47871a5ff2456ce3d2ec30a75e1236090.tar.xz |
ARM: dts: imx6ul-evk: Add support for mag3110 sensor
The i.MX 6UL EVK has a MAG3110 Magnetometer sensor in its base board.
Add support for this sensor, which is included in the trivial i2c devices
and according to the bindings documentation, just need a compatible field
and an address.
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-14x14-evk.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index 18fdb088ba1e..cb33baa28282 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts @@ -140,6 +140,17 @@ }; }; +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + mag3110@e { + compatible = "fsl,mag3110"; + reg = <0x0e>; + }; +}; &lcdif { assigned-clocks = <&clks IMX6UL_CLK_LCDIF_PRE_SEL>; |