]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ARM: dts: apf27dev: add max1027 in the dts
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 1 Sep 2014 18:44:32 +0000 (20:44 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:26:00 +0000 (10:26 +0800)
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx27-apf27dev.dts

index 2b6d489dae69f750280d5ea8ce04de1c489b78bf..da306c5dd6782862e67d1470c0e5ddcbc4a7dfd0 100644 (file)
        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 {
                        >;
                };
 
+               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