]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/dts/exynos5420-peach-pit.dts
cros_ec: exynos: Match up device tree with kernel version
[people/ms/u-boot.git] / arch / arm / dts / exynos5420-peach-pit.dts
index d1d87350be306fb48b88e32d6e9ded69b3adef32..7d8fa28d16759379a959815dea7dc2caec5f4ecb 100644 (file)
@@ -17,7 +17,7 @@
                "google,peach", "samsung,exynos5420", "samsung,exynos5";
 
        config {
-               google,bad-wake-gpios = <&gpio 0x56 0>; /* gpx0-6 */
+               google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
                hwid = "PIT TEST A-A 7848";
                lazy-init = <1>;
        };
@@ -67,6 +67,8 @@
                edp-lvds-bridge@48 {
                        compatible = "parade,ps8625";
                        reg = <0x48>;
+                       sleep-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
+                       reset-gpio = <&gpy7 7 GPIO_ACTIVE_HIGH>;
                };
        };
 
        spi@12d40000 { /* spi2 */
                spi-max-frequency = <4000000>;
                spi-deactivate-delay = <200>;
+
                cros_ec: cros-ec@0 {
+                       compatible = "google,cros-ec-spi";
                        reg = <0>;
-                       compatible = "google,cros-ec";
                        spi-half-duplex;
                        spi-max-timeout-ms = <1100>;
-                       spi-frame-header = <0xec>;
-                       ec-interrupt = <&gpio 93 1>; /* GPX1_5 */
+                       ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>;
 
                        /*
                         * This describes the flash memory within the EC. Note
        };
 
        xhci@12000000 {
-               samsung,vbus-gpio = <&gpio 0x40 0>; /* H00 */
+               samsung,vbus-gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
        };
 
        xhci@12400000 {
-               samsung,vbus-gpio = <&gpio 0x41 0>; /* H01 */
+               samsung,vbus-gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
        };
 
        fimd@14400000 {