Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 #include "bcm2837.dtsi"
0004 #include "bcm2836-rpi.dtsi"
0005 
0006 / {
0007         memory@0 {
0008                 device_type = "memory";
0009                 reg = <0 0x40000000>;
0010         };
0011 
0012         leds {
0013                 /*
0014                  * Since there is no upstream GPIO driver yet,
0015                  * remove the incomplete node.
0016                  */
0017                 /delete-node/ led-act;
0018         };
0019 
0020         reg_3v3: fixed-regulator {
0021                 compatible = "regulator-fixed";
0022                 regulator-name = "3V3";
0023                 regulator-min-microvolt = <3300000>;
0024                 regulator-max-microvolt = <3300000>;
0025                 regulator-always-on;
0026         };
0027 
0028         reg_1v8: fixed-regulator {
0029                 compatible = "regulator-fixed";
0030                 regulator-name = "1V8";
0031                 regulator-min-microvolt = <1800000>;
0032                 regulator-max-microvolt = <1800000>;
0033                 regulator-always-on;
0034         };
0035 };
0036 
0037 &firmware {
0038         expgpio: gpio {
0039                 compatible = "raspberrypi,firmware-gpio";
0040                 gpio-controller;
0041                 #gpio-cells = <2>;
0042                 gpio-line-names = "HDMI_HPD_N",
0043                                   "EMMC_EN_N",
0044                                   "",
0045                                   "",
0046                                   "",
0047                                   "",
0048                                   "",
0049                                   "";
0050                 status = "okay";
0051         };
0052 };
0053 
0054 &sdhost {
0055         pinctrl-names = "default";
0056         pinctrl-0 = <&sdhost_gpio48>;
0057         bus-width = <4>;
0058         vmmc-supply = <&reg_3v3>;
0059         vqmmc-supply = <&reg_1v8>;
0060         status = "okay";
0061 };