Re: [U-Boot] [PATCH 35/40] x86: samus: Update device tree for SPL

2019-02-21 Thread Bin Meng
On Wed, Jan 30, 2019 at 12:01 PM Simon Glass  wrote:
>
> Add tags to allow required nodes to be present in SPL / TPL. Also enable
> the sysreset driver.
>
> Signed-off-by: Simon Glass 
> ---
>
>  arch/x86/dts/chromebook_samus.dts | 38 +++
>  1 file changed, 34 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 35/40] x86: samus: Update device tree for SPL

2019-01-29 Thread Simon Glass
Add tags to allow required nodes to be present in SPL / TPL. Also enable
the sysreset driver.

Signed-off-by: Simon Glass 
---

 arch/x86/dts/chromebook_samus.dts | 38 +++
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/arch/x86/dts/chromebook_samus.dts 
b/arch/x86/dts/chromebook_samus.dts
index b58936b4ac..348d012e23 100644
--- a/arch/x86/dts/chromebook_samus.dts
+++ b/arch/x86/dts/chromebook_samus.dts
@@ -17,6 +17,7 @@
spi0 = 
usb0 = _0;
usb1 = _1;
+   cros-ec0 = _ec;
};
 
config {
@@ -73,6 +74,7 @@
 
/* Put this first: it is the default */
gpio_unused: gpio-unused {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
owner = ;
@@ -80,6 +82,7 @@
};
 
gpio_acpi_sci: acpi-sci {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
invert;
@@ -87,6 +90,7 @@
};
 
gpio_acpi_smi: acpi-smi {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
invert;
@@ -94,12 +98,14 @@
};
 
gpio_input: gpio-input {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
owner = ;
};
 
gpio_input_invert: gpio-input-invert {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
owner = ;
@@ -107,9 +113,11 @@
};
 
gpio_native: gpio-native {
+   u-boot,dm-pre-reloc;
};
 
gpio_out_high: gpio-out-high {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
output-value = <1>;
@@ -118,6 +126,7 @@
};
 
gpio_out_low: gpio-out-low {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
output-value = <0>;
@@ -126,6 +135,7 @@
};
 
gpio_pirq: gpio-pirq {
+   u-boot,dm-pre-reloc;
mode-gpio;
direction = ;
owner = ;
@@ -133,6 +143,7 @@
};
 
soc_gpio@0 {
+   u-boot,dm-pre-reloc;
config =
<0 _unused 0>, /* unused */
<1 _unused 0>, /* unused */
@@ -250,8 +261,10 @@
spd {
#address-cells = <1>;
#size-cells = <0>;
+   u-boot,dm-pre-reloc;
samsung_4 {
reg = <6>;
+   u-boot,dm-pre-reloc;
data = [91 20 f1 03 04 11 05 0b
03 11 01 08 0a 00 50 01
78 78 90 50 90 11 50 e0
@@ -291,6 +304,7 @@
 * columns 10, density 4096 mb, x32
 */
reg = <8>;
+   u-boot,dm-pre-reloc;
data = [91 20 f1 03 04 11 05 0b
03 11 01 08 0a 00 50 01
78 78 90 50 90 11 50 e0
@@ -326,6 +340,7 @@
};
samsung_8 {
reg = <10>;
+   u-boot,dm-pre-reloc;
data = [91 20 f1 03 04 12 05 0a
03 11 01 08 0a 00 50 01
78 78 90 50 90 11 50 e0
@@ -365,6 +380,7 @@
 * columns 11, density 4096 mb, x16
 */
reg = <12>;
+   u-boot,dm-pre-reloc;
data = [91 20 f1 03 04 12 05 0a
03 11 01 08 0a 00 50 01
78 78 90 50 90 11 50 e0
@@ -404,6 +420,7 @@
 * columns 11, density 8192 mb, x16