kernel: remove unused versions
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.14 / 213-dt-sunxi-add-x-powers.patch
1 From 7b42dc4ff2cca887e0c6e1ad291d65b30e64dd92 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Wed, 5 Mar 2014 20:30:41 +0100
4 Subject: [PATCH] ARM: sunxi: dt: Add x-powers-axp209.dtsi file
5
6 This dtsi describes the axp209 PMIC, and is to be included from inside
7 the i2c controller node to which the axp209 is connected.
8
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 ---
11 arch/arm/boot/dts/x-powers-axp209.dtsi | 60 ++++++++++++++++++++++++++++++++++
12 1 file changed, 60 insertions(+)
13 create mode 100644 arch/arm/boot/dts/x-powers-axp209.dtsi
14
15 diff --git a/arch/arm/boot/dts/x-powers-axp209.dtsi b/arch/arm/boot/dts/x-powers-axp209.dtsi
16 new file mode 100644
17 index 0000000..118ce3a1
18 --- /dev/null
19 +++ b/arch/arm/boot/dts/x-powers-axp209.dtsi
20 @@ -0,0 +1,60 @@
21 +/*
22 + * x-powers,axp209 common code to be include from inside the axp209 node
23 + *
24 + * Copyright 2014 - Carlo Caione <carlo@caione.org>
25 + *
26 + * The code contained herein is licensed under the GNU General Public
27 + * License. You may obtain a copy of the GNU General Public License
28 + * Version 2 or later at the following locations:
29 + *
30 + * http://www.opensource.org/licenses/gpl-license.html
31 + * http://www.gnu.org/copyleft/gpl.html
32 + */
33 +
34 + compatible = "x-powers,axp209";
35 + interrupt-controller;
36 + #interrupt-cells = <1>;
37 +
38 + regulators {
39 + dcdc-freq = "8";
40 +
41 + axp_dcdc2: dcdc2 {
42 + regulator-min-microvolt = <700000>;
43 + regulator-max-microvolt = <2275000>;
44 + dcdc-workmode = <0>;
45 + regulator-always-on;
46 + };
47 +
48 + axp_dcdc3: dcdc3 {
49 + regulator-min-microvolt = <700000>;
50 + regulator-max-microvolt = <3500000>;
51 + dcdc-workmode = <0>;
52 + regulator-always-on;
53 + };
54 +
55 + axp_ldo1: ldo1 {
56 + regulator-min-microvolt = <1300000>;
57 + regulator-max-microvolt = <1300000>;
58 + };
59 +
60 + axp_ldo2: ldo2 {
61 + regulator-min-microvolt = <1800000>;
62 + regulator-max-microvolt = <3300000>;
63 + regulator-always-on;
64 + };
65 +
66 + axp_ldo3: ldo3 {
67 + regulator-min-microvolt = <700000>;
68 + regulator-max-microvolt = <3500000>;
69 + };
70 +
71 + axp_ldo4: ldo4 {
72 + regulator-min-microvolt = <1250000>;
73 + regulator-max-microvolt = <3300000>;
74 + };
75 +
76 + axp_ldo5: ldo5 {
77 + regulator-min-microvolt = <1800000>;
78 + regulator-max-microvolt = <3300000>;
79 + };
80 + };
81 --
82 2.0.3
83