Add the required node describing how to find the EC on link.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 arch/x86/dts/link.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/x86/dts/link.dts b/arch/x86/dts/link.dts
index 4a37dac..67ce52a 100644
--- a/arch/x86/dts/link.dts
+++ b/arch/x86/dts/link.dts
@@ -32,4 +32,22 @@
                        memory-map = <0xff800000 0x00800000>;
                };
        };
+
+       lpc {
+               compatible = "intel,lpc";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               cros-ec@200 {
+                       compatible = "google,cros-ec";
+                       reg = <0x204 1 0x200 1 0x880 0x80>;
+
+                       /* This describes the flash memory within the EC */
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       flash@8000000 {
+                               reg = <0x08000000 0x20000>;
+                               erase-value = <0xff>;
+                       };
+               };
+       };
 };
-- 
2.1.0.rc2.206.gedb03e5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to