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