summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
blob: 925cb37c22f06b4f18e73f54b28bca45338c8b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
#include "bcm2837.dtsi"
#include "bcm2836-rpi.dtsi"

/ {
	memory@0 {
		device_type = "memory";
		reg = <0 0x40000000>;
	};

	leds {
		/*
		 * Since there is no upstream GPIO driver yet,
		 * remove the incomplete node.
		 */
		/delete-node/ act;
	};

	reg_3v3: fixed-regulator {
		compatible = "regulator-fixed";
		regulator-name = "3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	reg_1v8: fixed-regulator {
		compatible = "regulator-fixed";
		regulator-name = "1V8";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-always-on;
	};
};

&firmware {
	expgpio: gpio {
		compatible = "raspberrypi,firmware-gpio";
		gpio-controller;
		#gpio-cells = <2>;
		gpio-line-names = "HDMI_HPD_N",
				  "EMMC_EN_N",
				  "NC",
				  "NC",
				  "NC",
				  "NC",
				  "NC",
				  "NC";
		status = "okay";
	};
};

&sdhost {
	pinctrl-names = "default";
	pinctrl-0 = <&sdhost_gpio48>;
	bus-width = <4>;
	vmmc-supply = <&reg_3v3>;
	vqmmc-supply = <&reg_1v8>;
	status = "okay";
};