2 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com>
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.
11 #include <dt-bindings/gpio/gpio.h>
12 #include "berlin2q.dtsi"
15 model = "Marvell BG2-Q DMP";
16 compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin";
19 device_type = "memory";
20 reg = <0x00000000 0x80000000>;
24 bootargs = "console=ttyS0,115200 earlyprintk";
28 compatible = "simple-bus";
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>;
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>;
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>;
93 vbus-supply = <®_usb0_vbus>;
98 vbus-supply = <®_usb2_vbus>;