blob: 28e7e2060c3399c204f547b37fc325fa1069e8d8 [file] [log] [blame]
Antoine Tenart55d3de52014-03-18 15:32:47 +01001/*
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/;
Antoine Tenartfe354932014-11-17 14:35:45 +010010
11#include <dt-bindings/gpio/gpio.h>
Antoine Tenart55d3de52014-03-18 15:32:47 +010012#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 };
Antoine Tenartfe354932014-11-17 14:35:45 +010026
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 };
Antoine Tenart55d3de52014-03-18 15:32:47 +010059};
60
Antoine Tenart30470862014-05-19 22:04:33 +020061&sdhci1 {
62 broken-cd;
63 sdhci,wp-inverted;
64 status = "okay";
65};
66
67&sdhci2 {
68 non-removable;
69 status = "okay";
70};
71
Antoine Ténartfbcdc072014-06-03 09:33:10 +020072&i2c0 {
73 status = "okay";
74};
75
76&i2c2 {
77 status = "okay";
78};
79
Antoine Tenart55d3de52014-03-18 15:32:47 +010080&uart0 {
81 status = "okay";
82};
Antoine Ténart75215192014-09-30 16:28:16 +020083
Antoine Tenartfe354932014-11-17 14:35:45 +010084&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
Antoine Ténart75215192014-09-30 16:28:16 +0200102&eth0 {
103 status = "okay";
104};
Antoine Ténarte00ec0b2014-07-30 20:14:01 +0200105
106&sata0 {
107 status = "okay";
108};
109
110&sata_phy {
111 status = "okay";
112};