summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-12-23 11:16:50 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-12-23 11:16:50 +0000
commit8a73580f9f170d28882130e7c3607ec5b5e10310 (patch)
tree0818e9dc21af7d4e1fa827c4dfb356ef42f6969d
parent71079c970f6c6c1f789e1c5e337efe21dc543923 (diff)
Silicon/SynQuacer/DeviceTree: enable PHY interrupts
Enable the PHY interrupt on both the evaluation board and the DeveloperBox board. NOTE: rev 0.1 of the DeveloperBox board lacks a pullup in the PHY interrupt line, resulting in non-functional Ethernet after this change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
-rw-r--r--Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts5
-rw-r--r--Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.dts5
2 files changed, 10 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts b/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
index d2cd7ef9..dfd28ca3 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
@@ -44,3 +44,8 @@
"GPIO-K", "GPIO-L", "PEC-PD26", "PEC-PD27",
"PEC-PD28", "PEC-PD29", "PEC-PD30", "PEC-PD31";
};
+
+&ethphy0 {
+ interrupt-parent = <&exiu>;
+ interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_LOW>;
+};
diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.dts b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.dts
index 7de7db18..c867fa3b 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.dts
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.dts
@@ -30,3 +30,8 @@
"NC", "NC", "PEC-PD26", "PEC-PD27",
"PEC-PD28", "PEC-PD29", "PEC-PD30", "PEC-PD31";
};
+
+&ethphy0 {
+ interrupt-parent = <&exiu>;
+ interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_LOW>;
+};