rockchip: dts: rk3328: update node for emmc and usb

Enable related nodes in SPL and move all u-boot related dts
into -u-boot.dtsi

Change-Id: I1303598f209d20ebf10722f5451151d3e7c6c982
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2019-08-12 15:23:24 +08:00
parent ec0c73794d
commit f99f53c229
3 changed files with 60 additions and 8 deletions

View File

@ -0,0 +1,19 @@
/*
* (C) Copyright 2018 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include "rk3328-u-boot.dtsi"
&vcc3v3_sdmmc {
u-boot,dm-spl;
};
&vcc5v0_otg {
u-boot,dm-spl;
};
&vcc5v0_host_xhci {
u-boot,dm-spl;
};

View File

@ -6,7 +6,6 @@
/dts-v1/;
#include "rk3328.dtsi"
#include "rk3328-u-boot.dtsi"
#include "rk3328-sdram-ddr3-666.dtsi"
#include <dt-bindings/input/input.h>
@ -85,6 +84,7 @@
num-slots = <1>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
vmmc-supply = <&vcc3v3_sdmmc>;
status = "okay";
};
@ -129,6 +129,7 @@
};
&usb_host0_ehci {
vbus-supply = <&vcc5v0_otg>;
status = "okay";
};

View File

@ -34,30 +34,62 @@
};
&emmc {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&sdmmc {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&saradc {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
status = "okay";
};
&usb20_otg {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&usb2phy_grf {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&u2phy {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&u2phy_otg {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
};
&u2phy_host {
u-boot,dm-spl;
};
&usb_host0_ehci {
u-boot,dm-spl;
};
&usb_host0_xhci {
u-boot,dm-spl;
};
&pinctrl {
u-boot,dm-spl;
};
&sdmmc0_bus4 {
u-boot,dm-spl;
};
&sdmmc0_clk {
u-boot,dm-spl;
};
&sdmmc0_cmd {
u-boot,dm-spl;
};
&sdmmc0_dectn {
u-boot,dm-spl;
};