Loading...
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 = <®_3v3>;
51 vqmmc-supply = <®_1v8>;
52 status = "okay";
53};
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 = <®_3v3>;
59 vqmmc-supply = <®_1v8>;
60 status = "okay";
61};