blob: 828a20561b9694b2ba3ca8f7f2d77549b7122e17 [file] [log] [blame]
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +02001// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3#include "bcm2837.dtsi"
4#include "bcm2836-rpi.dtsi"
5
6/ {
7 memory@0 {
Simon Glass0ca70092021-12-16 20:59:13 -07008 device_type = "memory";
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +02009 reg = <0 0x40000000>;
10 };
11
Simon Glass0ca70092021-12-16 20:59:13 -070012 leds {
13 /*
14 * Since there is no upstream GPIO driver yet,
15 * remove the incomplete node.
16 */
17 /delete-node/ led-act;
18 };
19
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +020020 reg_3v3: fixed-regulator {
21 compatible = "regulator-fixed";
22 regulator-name = "3V3";
23 regulator-min-microvolt = <3300000>;
24 regulator-max-microvolt = <3300000>;
25 regulator-always-on;
26 };
27
28 reg_1v8: fixed-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "1V8";
31 regulator-min-microvolt = <1800000>;
32 regulator-max-microvolt = <1800000>;
33 regulator-always-on;
34 };
35};
36
37&firmware {
38 expgpio: gpio {
39 compatible = "raspberrypi,firmware-gpio";
40 gpio-controller;
41 #gpio-cells = <2>;
42 gpio-line-names = "HDMI_HPD_N",
43 "EMMC_EN_N",
44 "NC",
45 "NC",
46 "NC",
47 "NC",
48 "NC",
49 "NC";
50 status = "okay";
51 };
52};
53
54&sdhost {
55 pinctrl-names = "default";
56 pinctrl-0 = <&sdhost_gpio48>;
57 bus-width = <4>;
58 vmmc-supply = <&reg_3v3>;
59 vqmmc-supply = <&reg_1v8>;
60 status = "okay";
61};