rk3399: Add ROC-RK3399-PC Mezzanine board
[oweals/u-boot.git] / arch / arm / dts / zynqmp-zcu111-revA.dts
index f7d6fe0073b27592b3a0243bcfc381d01e2fb22d..d16bf8ac7ac7b68401effc61964ffc85dd03b105 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * dts file for Xilinx ZynqMP ZCU111
  *
- * (C) Copyright 2017 - 2018, Xilinx, Inc.
+ * (C) Copyright 2017 - 2020, Xilinx, Inc.
  *
  * Michal Simek <michal.simek@xilinx.com>
  */
                        label = "sw19";
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_DOWN>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        autorepeat;
                };
        };
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                };
        };
+
+       ina226-u67 {
+               compatible = "iio-hwmon";
+               io-channels = <&u67 0>, <&u67 1>, <&u67 2>, <&u67 3>;
+       };
+       ina226-u59 {
+               compatible = "iio-hwmon";
+               io-channels = <&u59 0>, <&u59 1>, <&u59 2>, <&u59 3>;
+       };
+       ina226-u61 {
+               compatible = "iio-hwmon";
+               io-channels = <&u61 0>, <&u61 1>, <&u61 2>, <&u61 3>;
+       };
+       ina226-u60 {
+               compatible = "iio-hwmon";
+               io-channels = <&u60 0>, <&u60 1>, <&u60 2>, <&u60 3>;
+       };
+       ina226-u64 {
+               compatible = "iio-hwmon";
+               io-channels = <&u64 0>, <&u64 1>, <&u64 2>, <&u64 3>;
+       };
+       ina226-u69 {
+               compatible = "iio-hwmon";
+               io-channels = <&u69 0>, <&u69 1>, <&u69 2>, <&u69 3>;
+       };
+       ina226-u66 {
+               compatible = "iio-hwmon";
+               io-channels = <&u66 0>, <&u66 1>, <&u66 2>, <&u66 3>;
+       };
+       ina226-u65 {
+               compatible = "iio-hwmon";
+               io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
+       };
+       ina226-u63 {
+               compatible = "iio-hwmon";
+               io-channels = <&u63 0>, <&u63 1>, <&u63 2>, <&u63 3>;
+       };
+       ina226-u3 {
+               compatible = "iio-hwmon";
+               io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
+       };
+       ina226-u71 {
+               compatible = "iio-hwmon";
+               io-channels = <&u71 0>, <&u71 1>, <&u71 2>, <&u71 3>;
+       };
+       ina226-u77 {
+               compatible = "iio-hwmon";
+               io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
+       };
+       ina226-u73 {
+               compatible = "iio-hwmon";
+               io-channels = <&u73 0>, <&u73 1>, <&u73 2>, <&u73 3>;
+       };
+       ina226-u79 {
+               compatible = "iio-hwmon";
+               io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
+       };
 };
 
 &dcc {
        status = "okay";
        phy-handle = <&phy0>;
        phy-mode = "rgmii-id";
-       phy0: phy@c {
+       phy0: ethernet-phy@c {
                reg = <0xc>;
                ti,rx-internal-delay = <0x8>;
                ti,tx-internal-delay = <0xa>;
                ti,fifo-depth = <0x1>;
+               ti,dp83867-rxctrl-strap-quirk;
        };
 };
 
                        reg = <0>;
                        /* PS_PMBUS */
                        /* PMBUS_ALERT done via pca9544 */
-                       ina226@40 { /* u67 */
+                       u67: ina226@40 { /* u67 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u67";
                                reg = <0x40>;
                                shunt-resistor = <2000>;
                        };
-                       ina226@41 { /* u59 */
+                       u59: ina226@41 { /* u59 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u59";
                                reg = <0x41>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@42 { /* u61 */
+                       u61: ina226@42 { /* u61 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u61";
                                reg = <0x42>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@43 { /* u60 */
+                       u60: ina226@43 { /* u60 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u60";
                                reg = <0x43>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@45 { /* u64 */
+                       u64: ina226@45 { /* u64 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u64";
                                reg = <0x45>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@46 { /* u69 */
+                       u69: ina226@46 { /* u69 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u69";
                                reg = <0x46>;
                                shunt-resistor = <2000>;
                        };
-                       ina226@47 { /* u66 */
+                       u66: ina226@47 { /* u66 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u66";
                                reg = <0x47>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@48 { /* u65 */
+                       u65: ina226@48 { /* u65 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u65";
                                reg = <0x48>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@49 { /* u63 */
+                       u63: ina226@49 { /* u63 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u63";
                                reg = <0x49>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@4a { /* u3 */
+                       u3: ina226@4a { /* u3 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u3";
                                reg = <0x4a>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@4b { /* u71 */
+                       u71: ina226@4b { /* u71 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u71";
                                reg = <0x4b>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@4c { /* u77 */
+                       u77: ina226@4c { /* u77 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u77";
                                reg = <0x4c>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@4d { /* u73 */
+                       u73: ina226@4d { /* u73 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u73";
                                reg = <0x4d>;
                                shunt-resistor = <5000>;
                        };
-                       ina226@4e { /* u79 */
+                       u79: ina226@4e { /* u79 */
                                compatible = "ti,ina226";
+                               #io-channel-cells = <1>;
+                               label = "ina226-u79";
                                reg = <0x4e>;
                                shunt-resistor = <5000>;
                        };
                                reg = <0x5d>;
                                temperature-stability = <50>;
                                factory-fout = <156250000>;
-                               clock-frequency = <148500000>;
+                               clock-frequency = <156250000>;
                                clock-output-names = "si570_mgt";
                        };
                };
                        #size-cells = <0>;
                        reg = <3>;
                        /* DDR4 SODIMM */
-                       dev@19 { /* u-boot detection FIXME */
-                               compatible = "xxx";
-                               reg = <0x19>;
-                       };
-                       dev@30 { /* u-boot detection */
-                               compatible = "xxx";
-                               reg = <0x30>;
-                       };
-                       dev@35 { /* u-boot detection */
-                               compatible = "xxx";
-                               reg = <0x35>;
-                       };
-                       dev@36 { /* u-boot detection */
-                               compatible = "xxx";
-                               reg = <0x36>;
-                       };
-                       dev@51 { /* u-boot detection - maybe SPD */
-                               compatible = "xxx";
-                               reg = <0x51>;
-                       };
                };
                i2c@4 {
                        #address-cells = <1>;
        status = "okay";
        is-dual = <1>;
        flash@0 {
-               compatible = "m25p80", "spi-flash"; /* 32MB */
+               compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
                spi-max-frequency = <108000000>; /* Based on DC1 spec */
-               partition@qspi-fsbl-uboot { /* for testing purpose */
+               partition@0 { /* for testing purpose */
                        label = "qspi-fsbl-uboot";
                        reg = <0x0 0x100000>;
                };
-               partition@qspi-linux { /* for testing purpose */
+               partition@100000 { /* for testing purpose */
                        label = "qspi-linux";
                        reg = <0x100000 0x500000>;
                };
-               partition@qspi-device-tree { /* for testing purpose */
+               partition@600000 { /* for testing purpose */
                        label = "qspi-device-tree";
                        reg = <0x600000 0x20000>;
                };
-               partition@qspi-rootfs { /* for testing purpose */
+               partition@620000 { /* for testing purpose */
                        label = "qspi-rootfs";
                        reg = <0x620000 0x5E0000>;
                };
 /* SD1 with level shifter */
 &sdhci1 {
        status = "okay";
-       no-1-8-v;
        disable-wp;
+       /*
+        * This property should be removed for supporting UHS mode
+        */
+       no-1-8-v;
        xlnx,mio_bank = <1>;
 };