The Allwinner H3 SoC incorporates an Ethernet PHY, whose controls are
mapped to a system control register.

Signed-off-by: Chen-Yu Tsai <w...@csie.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 4a4926b0b0ed..9a28aeba9bc6 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -323,6 +323,15 @@
                #size-cells = <1>;
                ranges;
 
+               ephy: ethernet-phy@01c00030 {
+                       compatible = "allwinner,sun8i-h3-ephy";
+                       reg = <0x01c00030 0x4>;
+                       clocks = <&bus_gates 128>;
+                       resets = <&ahb_rst 66>;
+                       #clock-cells = <0>;
+                       clock-output-names = "emac_tx";
+               };
+
                dma: dma-controller@01c02000 {
                        compatible = "allwinner,sun8i-h3-dma";
                        reg = <0x01c02000 0x1000>;
-- 
2.7.0

Reply via email to