mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 11:13:07 +00:00
9ae600e9e2
Sync these files, obtained from Linux v5.15. This adds a devicetree file for rpi_4 which was not there before. Testing shows no change so far as I can see: - boots to U-Boot prompt on rpi0, rpi2 - boots to distro on rpi3 - boots to distro on rpi4 I am assuming that syncing with Linux is safe, but the maintainer should know for sure. Signed-off-by: Simon Glass <sjg@chromium.org>
61 lines
1.1 KiB
Text
61 lines
1.1 KiB
Text
// 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/ led-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 = <®_3v3>;
|
|
vqmmc-supply = <®_1v8>;
|
|
status = "okay";
|
|
};
|