]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/dts/uniphier-pxs3.dtsi
ARM: dts: uniphier: sync DT with Linux 4.17-rc1
[u-boot] / arch / arm / dts / uniphier-pxs3.dtsi
index 87ab5e7ff83941b4a6b6b12eea026a4d0a2673a8..d4c458a2111367a4624be5339ed00793212edd4c 100644 (file)
@@ -1,11 +1,9 @@
-/*
- * Device Tree Source for UniPhier PXs3 SoC
- *
- * Copyright (C) 2017 Socionext Inc.
- *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
- */
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+//
+// Device Tree Source for UniPhier PXs3 SoC
+//
+// Copyright (C) 2017 Socionext Inc.
+//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/gpio/uniphier-gpio.h>
                        cap-sd-highspeed;
                };
 
-               soc-glue@5f800000 {
+               soc_glue: soc-glue@5f800000 {
                        compatible = "socionext,uniphier-pxs3-soc-glue",
                                     "simple-mfd", "syscon";
                        reg = <0x5f800000 0x2000>;
                        };
                };
 
+               eth0: ethernet@65000000 {
+                       compatible = "socionext,uniphier-pxs3-ave4";
+                       status = "disabled";
+                       reg = <0x65000000 0x8500>;
+                       interrupts = <0 66 4>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_ether_rgmii>;
+                       clocks = <&sys_clk 6>;
+                       resets = <&sys_rst 6>;
+                       phy-mode = "rgmii";
+                       local-mac-address = [00 00 00 00 00 00];
+
+                       mdio0: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
+               };
+
+               eth1: ethernet@65200000 {
+                       compatible = "socionext,uniphier-pxs3-ave4";
+                       status = "disabled";
+                       reg = <0x65200000 0x8500>;
+                       interrupts = <0 67 4>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_ether1_rgmii>;
+                       clocks = <&sys_clk 7>;
+                       resets = <&sys_rst 7>;
+                       phy-mode = "rgmii";
+                       local-mac-address = [00 00 00 00 00 00];
+
+                       mdio1: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
+               };
+
                usb0: usb@65b00000 {
                        compatible = "socionext,uniphier-pxs3-dwc3";
                        status = "disabled";