xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm2837-rpi-cm3.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/dts-v1/;
3*724ba675SRob Herring#include "bcm2837.dtsi"
4*724ba675SRob Herring#include "bcm2836-rpi.dtsi"
5*724ba675SRob Herring
6*724ba675SRob Herring/ {
7*724ba675SRob Herring	memory@0 {
8*724ba675SRob Herring		device_type = "memory";
9*724ba675SRob Herring		reg = <0 0x40000000>;
10*724ba675SRob Herring	};
11*724ba675SRob Herring
12*724ba675SRob Herring	reg_3v3: fixed-regulator {
13*724ba675SRob Herring		compatible = "regulator-fixed";
14*724ba675SRob Herring		regulator-name = "3V3";
15*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
16*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
17*724ba675SRob Herring		regulator-always-on;
18*724ba675SRob Herring	};
19*724ba675SRob Herring
20*724ba675SRob Herring	reg_1v8: fixed-regulator {
21*724ba675SRob Herring		compatible = "regulator-fixed";
22*724ba675SRob Herring		regulator-name = "1V8";
23*724ba675SRob Herring		regulator-min-microvolt = <1800000>;
24*724ba675SRob Herring		regulator-max-microvolt = <1800000>;
25*724ba675SRob Herring		regulator-always-on;
26*724ba675SRob Herring	};
27*724ba675SRob Herring};
28*724ba675SRob Herring
29*724ba675SRob Herring&firmware {
30*724ba675SRob Herring	expgpio: gpio {
31*724ba675SRob Herring		compatible = "raspberrypi,firmware-gpio";
32*724ba675SRob Herring		gpio-controller;
33*724ba675SRob Herring		#gpio-cells = <2>;
34*724ba675SRob Herring		gpio-line-names = "HDMI_HPD_N",
35*724ba675SRob Herring				  "EMMC_EN_N",
36*724ba675SRob Herring				  "",
37*724ba675SRob Herring				  "",
38*724ba675SRob Herring				  "",
39*724ba675SRob Herring				  "",
40*724ba675SRob Herring				  "",
41*724ba675SRob Herring				  "";
42*724ba675SRob Herring		status = "okay";
43*724ba675SRob Herring	};
44*724ba675SRob Herring};
45*724ba675SRob Herring
46*724ba675SRob Herring&sdhost {
47*724ba675SRob Herring	pinctrl-names = "default";
48*724ba675SRob Herring	pinctrl-0 = <&sdhost_gpio48>;
49*724ba675SRob Herring	bus-width = <4>;
50*724ba675SRob Herring	vmmc-supply = <&reg_3v3>;
51*724ba675SRob Herring	vqmmc-supply = <&reg_1v8>;
52*724ba675SRob Herring	status = "okay";
53*724ba675SRob Herring};
54