aboutsummaryrefslogtreecommitdiff
path: root/src/arm/armada-385-clearfog-gtr-s4.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-04-14 16:56:11 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-04-14 16:56:11 +0000
commit937eaf8bbdcf7e2cd3231b71940f9221e6857210 (patch)
treef35da0d4b9188f1cb082442854ce86fcca10b7b4 /src/arm/armada-385-clearfog-gtr-s4.dts
parent995ee34fd27211af598f9adf111cb49609d1b3de (diff)
downloadsrc-937eaf8bbdcf7e2cd3231b71940f9221e6857210.tar.gz
src-937eaf8bbdcf7e2cd3231b71940f9221e6857210.zip
Import DTS files from Linux 5.6vendor/device-tree/5.6
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=359928 svn path=/vendor/device-tree/5.6/; revision=359929; tag=vendor/device-tree/5.6
Diffstat (limited to 'src/arm/armada-385-clearfog-gtr-s4.dts')
-rw-r--r--src/arm/armada-385-clearfog-gtr-s4.dts79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/arm/armada-385-clearfog-gtr-s4.dts b/src/arm/armada-385-clearfog-gtr-s4.dts
new file mode 100644
index 000000000000..fa653b379490
--- /dev/null
+++ b/src/arm/armada-385-clearfog-gtr-s4.dts
@@ -0,0 +1,79 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+
+#include "armada-385-clearfog-gtr.dtsi"
+
+/ {
+ model = "SolidRun Clearfog GTR S4";
+};
+
+&sfp0 {
+ tx-fault-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
+};
+
+&mdio {
+ switch0: switch0@4 {
+ compatible = "marvell,mv88e6085";
+ reg = <4>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&cf_gtr_switch_reset_pins>;
+ reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+ label = "lan2";
+ phy-handle = <&switch0phy0>;
+ };
+
+ port@2 {
+ reg = <2>;
+ label = "lan1";
+ phy-handle = <&switch0phy1>;
+ };
+
+ port@3 {
+ reg = <3>;
+ label = "lan4";
+ phy-handle = <&switch0phy2>;
+ };
+
+ port@4 {
+ reg = <4>;
+ label = "lan3";
+ phy-handle = <&switch0phy3>;
+ };
+
+ port@5 {
+ reg = <5>;
+ label = "cpu";
+ ethernet = <&eth1>;
+ };
+
+ };
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ switch0phy0: switch0phy0@11 {
+ reg = <0x11>;
+ };
+
+ switch0phy1: switch0phy1@12 {
+ reg = <0x12>;
+ };
+
+ switch0phy2: switch0phy2@13 {
+ reg = <0x13>;
+ };
+
+ switch0phy3: switch0phy3@14 {
+ reg = <0x14>;
+ };
+ };
+
+ };
+};