mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
cf039cf7ff
This adds the device tree changes needed to make the GMAC stmmac driver working for the Allwinner A64 SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From 79b953605ded6a9a995040a1c8cc665127a6411a Mon Sep 17 00:00:00 2001
|
|
From: Corentin Labbe <clabbe.montjoie@gmail.com>
|
|
Date: Wed, 31 May 2017 09:18:45 +0200
|
|
Subject: arm64: allwinner: sun50i-a64: Add dt node for the syscon control
|
|
module
|
|
|
|
This patch add the dt node for the syscon register present on the
|
|
Allwinner A64.
|
|
|
|
Only two register are present in this syscon and the only one useful is
|
|
the one dedicated to EMAC clock.
|
|
|
|
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
@@ -129,6 +129,12 @@
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
+ syscon: syscon@1c00000 {
|
|
+ compatible = "allwinner,sun50i-a64-system-controller",
|
|
+ "syscon";
|
|
+ reg = <0x01c00000 0x1000>;
|
|
+ };
|
|
+
|
|
mmc0: mmc@1c0f000 {
|
|
compatible = "allwinner,sun50i-a64-mmc";
|
|
reg = <0x01c0f000 0x1000>;
|