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