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	leds {
13		/*
14		 * Since there is no upstream GPIO driver yet,
15		 * remove the incomplete node.
16		 */
17		/delete-node/ act;
18	};
19
20	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};
62