apm821xx: MBL: correct phy-mode delay settings
[openwrt/staging/ynezz.git] / target / linux / apm821xx / dts / wd-mybooklive.dts
index 4a83cbb11bcf23ee3cef9dca817c1acb3de8a20d..dcb8078050dad7cd8288f51738a2bbabe52b1662 100644 (file)
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
  * (c) Copyright 2010 Western Digital Technologies, Inc. All Rights Reserved.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without
- * any warranty of any kind, whether express or implied.
  */
 
 /dts-v1/;
                                reg = <0x00000000 0x0001e000>;
                        };
 
-                       partition@1 {
+                       partition@1e000 {
                                label = "env";
                                reg = <0x0001e000 0x00002000>;
                        };
 
-                       partition@2 {
+                       partition@20000 {
                                label = "uboot";
                                reg = <0x00020000 0x00050000>;
                        };
                };
        };
 
-       GPIO1: gpio1@e0000000 {
+       GPIO1: gpio@e0000000 {
                compatible = "wd,mbl-gpio", "ti,74273";
                reg-names = "dat";
                reg = <0xe0000000 0x1>;
@@ -77,7 +74,7 @@
                };
        };
 
-       GPIO2: gpio2@e0100000 {
+       GPIO2: gpio@e0100000 {
                compatible = "wd,mbl-gpio", "ti,74244";
                reg-names = "dat";
                reg = <0xe0100000 0x1>;
@@ -86,7 +83,7 @@
                no-output;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                failsafe: power-red {
 
        keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <60>;   /* 3 * 20 = 60ms */
                autorepeat;
 
        phy-map = <0x2>;
        phy-address = <0x1>;
        phy-handle = <&phy>;
+       phy-mode = "rgmii-id";
 
        mdio {
                #address-cells = <1>;
 
 &SATA0 {
        status = "okay";
+
+       drive0: sata-port@0 {
+               reg = <0>;
+               #thermal-sensor-cells = <0>;
+       };
 };
 
 &SATA1 {
        status = "okay";
+
+       drive1: sata-port@0 {
+               reg = <0>;
+               #thermal-sensor-cells = <0>;
+       };
 };
 
 &UART0 {