]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/boot/dts/imx6ul-sc145-h01.dtsi
Add support for Beck-IPC SC145 module and DB150 eval kit
[linux-beck.git] / arch / arm / boot / dts / imx6ul-sc145-h01.dtsi
diff --git a/arch/arm/boot/dts/imx6ul-sc145-h01.dtsi b/arch/arm/boot/dts/imx6ul-sc145-h01.dtsi
new file mode 100644 (file)
index 0000000..400204a
--- /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 H00/H01 */
+
+#include "imx6ul-sc145.dtsi"
+
+&fec1 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&pinctrl_enet1>;
+    phy-mode = "rmii";
+    phy-handle = <&ethphy0>;
+    phy-supply = <&reg_vref_3v3>;
+    bus-no = <0>;
+    status = "okay";
+};
+
+&fec2 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&pinctrl_enet2>;
+    phy-mode = "rmii";
+    phy-handle = <&ethphy1>;
+    phy-supply = <&reg_vref_3v3>;
+    bus-no = <1>;
+    status = "disabled";
+
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ethphy0: ethernet-phy@0 {
+            compatible = "ethernet-phy-ieee802.3-c22";
+            reg = <0>;
+        };
+
+        ethphy1: ethernet-phy@1 {
+            compatible = "ethernet-phy-ieee802.3-c22";
+            reg = <1>;
+        };
+    };
+};