mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
8653e5d3b7
Running U-Boot on a ROCK 3 Model A result in the following: No serial driver found resetting ... no sysreset ### ERROR ### Please RESET the board ### Replace bootph- props with u-boot,dm- props to fix this. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
71 lines
1.3 KiB
Text
71 lines
1.3 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
|
|
*/
|
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
/ {
|
|
dmc {
|
|
compatible = "rockchip,rk3588-dmc";
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
};
|
|
|
|
pmu1_grf: syscon@fd58a000 {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "rockchip,rk3588-pmu1-grf", "syscon";
|
|
reg = <0x0 0xfd58a000 0x0 0x2000>;
|
|
};
|
|
|
|
sdmmc: mmc@fe2c0000 {
|
|
compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
|
|
reg = <0x0 0xfe2c0000 0x0 0x4000>;
|
|
interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
clocks = <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>,
|
|
<&scmi_clk SCMI_HCLK_SD>, <&scmi_clk SCMI_CCLK_SD>;
|
|
clock-names = "ciu-drive", "ciu-sample", "biu", "ciu";
|
|
fifo-depth = <0x100>;
|
|
max-frequency = <200000000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
otp: nvmem@fecc0000 {
|
|
compatible = "rockchip,rk3588-otp";
|
|
reg = <0x0 0xfecc0000 0x0 0x400>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
status = "okay";
|
|
|
|
cpu_id: id@7 {
|
|
reg = <0x07 0x10>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&xin24m {
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
};
|
|
|
|
&cru {
|
|
u-boot,dm-spl;
|
|
status = "okay";
|
|
};
|
|
|
|
&sys_grf {
|
|
u-boot,dm-spl;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
clock-frequency = <24000000>;
|
|
u-boot,dm-spl;
|
|
status = "okay";
|
|
};
|
|
|
|
&ioc {
|
|
u-boot,dm-spl;
|
|
};
|