1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com>
8 #include <dt-bindings/gpio/gpio.h>
9 #include "berlin2q.dtsi"
12 model = "Marvell BG2-Q DMP";
13 compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin";
16 device_type = "memory";
17 reg = <0x00000000 0x80000000>;
21 bootargs = "earlyprintk";
22 stdout-path = "serial0:115200n8";
26 compatible = "simple-bus";
30 reg_usb0_vbus: regulator_usb0 {
31 compatible = "regulator-fixed";
32 regulator-name = "usb0_vbus";
33 regulator-min-microvolt = <5000000>;
34 regulator-max-microvolt = <5000000>;
35 gpio = <&portb 8 GPIO_ACTIVE_HIGH>;
39 reg_usb1_vbus: regulator_usb1 {
40 compatible = "regulator-fixed";
41 regulator-name = "usb1_vbus";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
44 gpio = <&portb 10 GPIO_ACTIVE_HIGH>;
48 reg_usb2_vbus: regulator_usb2 {
49 compatible = "regulator-fixed";
50 regulator-name = "usb2_vbus";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
53 gpio = <&portb 12 GPIO_ACTIVE_HIGH>;
57 reg_sdio1_vmmc: regulator_sdio1_vmmc {
58 compatible = "regulator-fixed";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
61 regulator-name = "sdio1_vmmc";
64 gpio = <&portb 21 GPIO_ACTIVE_HIGH>;
67 reg_sdio1_vqmmc: regulator_sido1_vqmmc {
68 compatible = "regulator-gpio";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <3300000>;
71 regulator-name = "sdio1_vqmmc";
72 regulator-type = "voltage";
74 gpios = <&portb 16 GPIO_ACTIVE_HIGH>;
82 sd1gpio_pmux: sd1pwr-pmux {
83 groups = "G23", "G32";
89 vmmc-supply = <®_sdio1_vmmc>;
90 vqmmc-supply = <®_sdio1_vqmmc>;
91 cd-gpios = <&portc 30 GPIO_ACTIVE_LOW>;
92 wp-gpios = <&portd 0 GPIO_ACTIVE_HIGH>;
93 pinctrl-0 = <&sd1gpio_pmux>, <&sd1_pmux>;
94 pinctrl-names = "default";
125 vbus-supply = <®_usb0_vbus>;
130 vbus-supply = <®_usb2_vbus>;