diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2020-08-25 19:35:20 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-08-27 17:18:18 +0200 |
commit | 3566b0869179779d3abc4b605dcc9d2121d67672 (patch) | |
tree | fe3cb7e8634466182ce3c9f185e9d297c25b8e69 /arch/arm | |
parent | dt-bindings: sram: allwinner, sun4i-a10-system-control: Add R40 compatibles (diff) | |
download | linux-3566b0869179779d3abc4b605dcc9d2121d67672.tar.xz linux-3566b0869179779d3abc4b605dcc9d2121d67672.zip |
ARM: dts: sun8i: r40: Add node for system controller
Allwinner R40 has system controller and SRAM C1 region similar to that
in A10.
Add nodes for them.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200825173523.1289379-3-jernej.skrabec@siol.net
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/sun8i-r40.dtsi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index dff9a3dc1fba..0c7526365896 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -190,6 +190,29 @@ }; }; + syscon: system-control@1c00000 { + compatible = "allwinner,sun8i-r40-system-control", + "allwinner,sun4i-a10-system-control"; + reg = <0x01c00000 0x30>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c: sram@1d00000 { + compatible = "mmio-sram"; + reg = <0x01d00000 0xd0000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x01d00000 0xd0000>; + + ve_sram: sram-section@0 { + compatible = "allwinner,sun8i-r40-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + nmi_intc: interrupt-controller@1c00030 { compatible = "allwinner,sun7i-a20-sc-nmi"; interrupt-controller; |