ARM: dts: berlin: add broken-cd and set bus width for eMMC in Marvell DMP DT
[deliverable/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 broken-cd;
69 bus-width = <8>;
70 non-removable;
71 status = "okay";
72 };
73
74 &i2c0 {
75 status = "okay";
76 };
77
78 &i2c2 {
79 status = "okay";
80 };
81
82 &uart0 {
83 status = "okay";
84 };
85
86 &usb_phy0 {
87 status = "okay";
88 };
89
90 &usb_phy2 {
91 status = "okay";
92 };
93
94 &usb0 {
95 vbus-supply = <&reg_usb0_vbus>;
96 status = "okay";
97 };
98
99 &usb2 {
100 vbus-supply = <&reg_usb2_vbus>;
101 status = "okay";
102 };
103
104 &eth0 {
105 status = "okay";
106 };
107
108 &sata0 {
109 status = "okay";
110 };
111
112 &sata_phy {
113 status = "okay";
114 };
This page took 0.035006 seconds and 5 git commands to generate.