Browse Source

ARM: dts: imx27 phyCARD-S, i2c ADC device node

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Markus Pargmann 12 years ago
parent
commit
38918b7275
1 changed files with 18 additions and 0 deletions
  1. 18 0
      arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts

+ 18 - 0
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts

@@ -34,6 +34,18 @@
 			};
 		};
 	};
+
+	regulators {
+		compatible = "simple-bus";
+
+		reg_3v3: 3v3 {
+			compatible = "regulator-fixed";
+			regulator-name = "3V3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+	};
 };
 
 &fb {
@@ -48,6 +60,12 @@
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 	};
+
+	adc@64 {
+		compatible = "maxim,max1037";
+		vcc-supply = <&reg_3v3>;
+		reg = <0x64>;
+	};
 };
 
 &owire {