Commit 7591e5cd authored by Philippe Reynes's avatar Philippe Reynes Committed by Shawn Guo

ARM: dts: apf27dev: add max1027 in the dts

Signed-off-by: default avatarPhilippe Reynes <tremyfr@gmail.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent fcd17303
...@@ -67,6 +67,16 @@ &cspi1 { ...@@ -67,6 +67,16 @@ &cspi1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cspi1 &pinctrl_cspi1_cs>; pinctrl-0 = <&pinctrl_cspi1 &pinctrl_cspi1_cs>;
status = "okay"; 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 { &cspi2 {
...@@ -189,6 +199,13 @@ MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 ...@@ -189,6 +199,13 @@ MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
>; >;
}; };
pinctrl_max1027: max1027 {
fsl,pins = <
MX27_PAD_UART1_CTS__GPIO5_14 0x0 /* CNVST */
MX27_PAD_UART1_RTS__GPIO5_15 0x0 /* EOC */
>;
};
pinctrl_pwm: pwmgrp { pinctrl_pwm: pwmgrp {
fsl,pins = < fsl,pins = <
MX27_PAD_PWMO__PWMO 0x0 MX27_PAD_PWMO__PWMO 0x0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment