2018-12-17 09:39:09 +00:00
|
|
|
From 09ed737593f71bcca08a537a6c15264a1a6add08 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Christian Lamparter <chunkeey@gmail.com>
|
|
|
|
Date: Sun, 20 Nov 2016 01:10:33 +0100
|
|
|
|
Subject: [PATCH] dts: ipq4019: add mdio node for ethernet
|
|
|
|
|
|
|
|
This patch adds the mdio device-tree node.
|
|
|
|
This is where the switch is connected to, so it's needed
|
|
|
|
for the ethernet interfaces.
|
|
|
|
|
|
|
|
Note: The driver isn't anywhere close to be upstream,
|
|
|
|
so the info might change.
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/qcom-ipq4019.dtsi | 28 ++++++++++++++++++++++++++++
|
|
|
|
1 file changed, 28 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
2019-05-14 13:42:19 +00:00
|
|
|
@@ -571,6 +571,34 @@
|
2018-12-17 09:39:09 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2019-03-08 18:11:28 +00:00
|
|
|
+ mdio: mdio@90000 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <0>;
|
|
|
|
+ compatible = "qcom,ipq4019-mdio";
|
|
|
|
+ reg = <0x90000 0x64>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+
|
2019-03-08 18:11:28 +00:00
|
|
|
+ ethphy0: ethernet-phy@0 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ reg = <0>;
|
|
|
|
+ };
|
|
|
|
+
|
2019-03-08 18:11:28 +00:00
|
|
|
+ ethphy1: ethernet-phy@1 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ reg = <1>;
|
|
|
|
+ };
|
|
|
|
+
|
2019-03-08 18:11:28 +00:00
|
|
|
+ ethphy2: ethernet-phy@2 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ reg = <2>;
|
|
|
|
+ };
|
|
|
|
+
|
2019-03-08 18:11:28 +00:00
|
|
|
+ ethphy3: ethernet-phy@3 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ reg = <3>;
|
|
|
|
+ };
|
|
|
|
+
|
2019-03-08 18:11:28 +00:00
|
|
|
+ ethphy4: ethernet-phy@4 {
|
2018-12-17 09:39:09 +00:00
|
|
|
+ reg = <4>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
usb3_ss_phy: ssphy@9a000 {
|
|
|
|
compatible = "qcom,usb-ss-ipq4019-phy";
|
|
|
|
#phy-cells = <0>;
|