ARM: dts: sun7i: cubieboard2: add axp209 regulator nodes
[deliverable/linux.git] / arch / arm / boot / dts / sun7i-a20-cubieboard2.dts
index 18fc5db9c97679906e9ecbb14f682929e9d828c9..ec1fc2c8b3e3bdfcbf42a26cf23769517c6f4afa 100644 (file)
                        status = "okay";
 
                        axp209: pmic@34 {
-                               compatible = "x-powers,axp209";
                                reg = <0x34>;
                                interrupt-parent = <&nmi_intc>;
                                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
-
-                               interrupt-controller;
-                               #interrupt-cells = <1>;
                        };
                };
 
                status = "okay";
        };
 };
+
+#include "axp209.dtsi"
+
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
+&reg_dcdc2 {
+       regulator-always-on;
+       regulator-min-microvolt = <1000000>;
+       regulator-max-microvolt = <1450000>;
+       regulator-name = "vdd-cpu";
+};
+
+&reg_dcdc3 {
+       regulator-always-on;
+       regulator-min-microvolt = <1000000>;
+       regulator-max-microvolt = <1400000>;
+       regulator-name = "vdd-int-dll";
+};
+
+&reg_ldo1 {
+       regulator-name = "vdd-rtc";
+};
+
+&reg_ldo2 {
+       regulator-always-on;
+       regulator-min-microvolt = <3000000>;
+       regulator-max-microvolt = <3000000>;
+       regulator-name = "avcc";
+};
This page took 0.025412 seconds and 5 git commands to generate.