]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/boot/dts/imx6ul-sc145-h02.dtsi
Add support for Beck-IPC SC145 module and DB150 eval kit
[linux-beck.git] / arch / arm / boot / dts / imx6ul-sc145-h02.dtsi
diff --git a/arch/arm/boot/dts/imx6ul-sc145-h02.dtsi b/arch/arm/boot/dts/imx6ul-sc145-h02.dtsi
new file mode 100644 (file)
index 0000000..107ccc3
--- /dev/null
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2016 Beck IPC GmbH
+ * Copyright (C) 2017 Kernel Concepts GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* Device tree for SC145 H02 */
+
+#include "imx6ul-sc145.dtsi"
+
+&fec1 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&pinctrl_enet1>;
+    phy-mode = "rmii";
+    phy-handle = <&ethphy1>;
+    phy-supply = <&reg_vref_3v3>;
+    bus-no = <0>;
+    status = "okay";
+};
+
+&fec2 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&pinctrl_enet2>;
+    phy-mode = "rmii";
+    phy-handle = <&ethphy2>;
+    phy-supply = <&reg_vref_3v3>;
+    bus-no = <1>;
+    status = "okay";
+
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ethphy1: ethernet-phy@1 {
+            compatible = "ethernet-phy-ieee802.3-c22";
+            reg = <1>;
+        };
+
+        ethphy2: ethernet-phy@2 {
+            compatible = "ethernet-phy-ieee802.3-c22";
+            reg = <2>;
+        };
+    };
+};