diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2014-09-01 20:44:32 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-09-16 04:26:00 +0200 |
commit | 7591e5cd1c10e5764aaf7ce50c7c6c50b7f6aa36 (patch) | |
tree | 4486a7df469846bd8d6ed0de623d683ac57ab473 /arch/arm/boot/dts/imx27-apf27dev.dts | |
parent | ARM: imx6: add pci config space as platform resource (diff) | |
download | linux-7591e5cd1c10e5764aaf7ce50c7c6c50b7f6aa36.tar.xz linux-7591e5cd1c10e5764aaf7ce50c7c6c50b7f6aa36.zip |
ARM: dts: apf27dev: add max1027 in the dts
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx27-apf27dev.dts')
-rw-r--r-- | arch/arm/boot/dts/imx27-apf27dev.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts index 2b6d489dae69..da306c5dd678 100644 --- a/arch/arm/boot/dts/imx27-apf27dev.dts +++ b/arch/arm/boot/dts/imx27-apf27dev.dts @@ -67,6 +67,16 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_cspi1 &pinctrl_cspi1_cs>; status = "okay"; + + adc@0 { + compatible = "maxim,max1027"; + reg = <0>; + interrupt-parent = <&gpio5>; + interrupts = <15 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_max1027>; + spi-max-frequency = <10000000>; + }; }; &cspi2 { @@ -189,6 +199,13 @@ >; }; + pinctrl_max1027: max1027 { + fsl,pins = < + MX27_PAD_UART1_CTS__GPIO5_14 0x0 /* CNVST */ + MX27_PAD_UART1_RTS__GPIO5_15 0x0 /* EOC */ + >; + }; + pinctrl_pwm: pwmgrp { fsl,pins = < MX27_PAD_PWMO__PWMO 0x0 |