]> git.sur5r.net Git - u-boot/commitdiff
x86: Add device tree information for Chrome OS EC
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:30:13 +0000 (07:30 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Oct 2014 03:50:32 +0000 (21:50 -0600)
Add the required node describing how to find the EC on link.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/link.dts

index 4a37dac4ea9adc470005da949b281f0e18923ef6..67ce52a102eff53565f71c29a3ec0f0d249a045f 100644 (file)
                        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>;
+                       };
+               };
+       };
 };