]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
ARM: dts: sun4i: Add AXP209 support to various boards
[karo-tx-linux.git] / arch / arm / boot / dts / sun4i-a10-mini-xplus.dts
1 /*
2  * Copyright 2012 Maxime Ripard
3  *
4  * Maxime Ripard <maxime.ripard@free-electrons.com>
5  *
6  * The code contained herein is licensed under the GNU General Public
7  * License. You may obtain a copy of the GNU General Public License
8  * Version 2 or later at the following locations:
9  *
10  * http://www.opensource.org/licenses/gpl-license.html
11  * http://www.gnu.org/copyleft/gpl.html
12  */
13
14 /dts-v1/;
15 /include/ "sun4i-a10.dtsi"
16 /include/ "sunxi-common-regulators.dtsi"
17
18 / {
19         model = "PineRiver Mini X-Plus";
20         compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
21
22         soc@01c00000 {
23                 mmc0: mmc@01c0f000 {
24                         pinctrl-names = "default";
25                         pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
26                         vmmc-supply = <&reg_vcc3v3>;
27                         bus-width = <4>;
28                         cd-gpios = <&pio 7 1 0>; /* PH1 */
29                         cd-inverted;
30                         status = "okay";
31                 };
32
33                 usbphy: phy@01c13400 {
34                         usb1_vbus-supply = <&reg_usb1_vbus>;
35                         usb2_vbus-supply = <&reg_usb2_vbus>;
36                         status = "okay";
37                 };
38
39                 ehci0: usb@01c14000 {
40                         status = "okay";
41                 };
42
43                 ohci0: usb@01c14400 {
44                         status = "okay";
45                 };
46
47                 ehci1: usb@01c1c000 {
48                         status = "okay";
49                 };
50
51                 ohci1: usb@01c1c400 {
52                         status = "okay";
53                 };
54
55                 uart0: serial@01c28000 {
56                         pinctrl-names = "default";
57                         pinctrl-0 = <&uart0_pins_a>;
58                         status = "okay";
59                 };
60
61                 i2c0: i2c@01c2ac00 {
62                         pinctrl-names = "default";
63                         pinctrl-0 = <&i2c0_pins_a>;
64                         status = "okay";
65
66                         axp209: pmic@34 {
67                                 compatible = "x-powers,axp209";
68                                 reg = <0x34>;
69                                 interrupts = <0>;
70
71                                 interrupt-controller;
72                                 #interrupt-cells = <1>;
73                         };
74                 };
75         };
76
77         reg_usb1_vbus: usb1-vbus {
78                 status = "okay";
79         };
80
81         reg_usb2_vbus: usb2-vbus {
82                 status = "okay";
83         };
84 };