v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / target / linux / sunxi / patches-4.9 / 0060-arm64-allwinner-sun50i-a64-Add-dt-node-for-the-sysco.patch
1 From 79b953605ded6a9a995040a1c8cc665127a6411a Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Wed, 31 May 2017 09:18:45 +0200
4 Subject: arm64: allwinner: sun50i-a64: Add dt node for the syscon control
5  module
6
7 This patch add the dt node for the syscon register present on the
8 Allwinner A64.
9
10 Only two register are present in this syscon and the only one useful is
11 the one dedicated to EMAC clock.
12
13 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
14 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
15 ---
16  arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++++++
17  1 file changed, 6 insertions(+)
18
19 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
20 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
21 @@ -129,6 +129,12 @@
22                 #size-cells = <1>;
23                 ranges;
24  
25 +               syscon: syscon@1c00000 {
26 +                       compatible = "allwinner,sun50i-a64-system-controller",
27 +                               "syscon";
28 +                       reg = <0x01c00000 0x1000>;
29 +               };
30 +
31                 mmc0: mmc@1c0f000 {
32                         compatible = "allwinner,sun50i-a64-mmc";
33                         reg = <0x01c0f000 0x1000>;