Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git] / arch / arm / boot / dts / berlin2q-marvell-dmp.dts
1 /*
2  * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com>
3  *
4  * This file is licensed under the terms of the GNU General Public
5  * License version 2. This program is licensed "as is" without any
6  * warranty of any kind, whether express or implied.
7  */
8
9 /dts-v1/;
10
11 #include <dt-bindings/gpio/gpio.h>
12 #include "berlin2q.dtsi"
13
14 / {
15         model = "Marvell BG2-Q DMP";
16         compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin";
17
18         memory {
19                 device_type = "memory";
20                 reg = <0x00000000 0x80000000>;
21         };
22
23         choosen {
24                 bootargs = "console=ttyS0,115200 earlyprintk";
25         };
26
27         regulators {
28                 compatible = "simple-bus";
29                 #address-cells = <1>;
30                 #size-cells = <0>;
31
32                 reg_usb0_vbus: regulator@0 {
33                         compatible = "regulator-fixed";
34                         regulator-name = "usb0_vbus";
35                         regulator-min-microvolt = <5000000>;
36                         regulator-max-microvolt = <5000000>;
37                         gpio = <&portb 8 GPIO_ACTIVE_HIGH>;
38                         enable-active-high;
39                 };
40
41                 reg_usb1_vbus: regulator@1 {
42                         compatible = "regulator-fixed";
43                         regulator-name = "usb1_vbus";
44                         regulator-min-microvolt = <5000000>;
45                         regulator-max-microvolt = <5000000>;
46                         gpio = <&portb 10 GPIO_ACTIVE_HIGH>;
47                         enable-active-high;
48                 };
49
50                 reg_usb2_vbus: regulator@2 {
51                         compatible = "regulator-fixed";
52                         regulator-name = "usb2_vbus";
53                         regulator-min-microvolt = <5000000>;
54                         regulator-max-microvolt = <5000000>;
55                         gpio = <&portb 12 GPIO_ACTIVE_HIGH>;
56                         enable-active-high;
57                 };
58         };
59 };
60
61 &sdhci1 {
62         broken-cd;
63         sdhci,wp-inverted;
64         status = "okay";
65 };
66
67 &sdhci2 {
68         non-removable;
69         status = "okay";
70 };
71
72 &i2c0 {
73         status = "okay";
74 };
75
76 &i2c2 {
77         status = "okay";
78 };
79
80 &uart0 {
81         status = "okay";
82 };
83
84 &usb_phy0 {
85         status = "okay";
86 };
87
88 &usb_phy2 {
89         status = "okay";
90 };
91
92 &usb0 {
93         vbus-supply = <&reg_usb0_vbus>;
94         status = "okay";
95 };
96
97 &usb2 {
98         vbus-supply = <&reg_usb2_vbus>;
99         status = "okay";
100 };
101
102 &eth0 {
103         status = "okay";
104 };
105
106 &sata0 {
107         status = "okay";
108 };
109
110 &sata_phy {
111         status = "okay";
112 };