mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
f090e1bd7b
Compiling the bcm283x DTS with W=1 leads to the following warning: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Fix this by adding the unit address. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
53 lines
963 B
Plaintext
53 lines
963 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
#include "bcm2837.dtsi"
|
|
#include "bcm2836-rpi.dtsi"
|
|
|
|
/ {
|
|
memory@0 {
|
|
reg = <0 0x40000000>;
|
|
};
|
|
|
|
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 = <®_3v3>;
|
|
vqmmc-supply = <®_1v8>;
|
|
status = "okay";
|
|
};
|