Skip to content

Commit 53c54d9

Browse files
BrokenR3C0RDwens
authored andcommitted
arm64: dts: allwinner: a100: Add syscon nodes
The Allwinner A100 has a system configuration block, denoted as SYS_CFG in the user manual's memory map. It is undocumented in the manual, but a glance at the vendor tree shows this block is similar to its predecessors in the A64 and H6. The A100 also has 3 SRAM blocks: A1, A2, and C. Add all of these to the SoC's device tree. Reviewed-by: Parthiban Nallathambi <parthiban@linumiz.com> Signed-off-by: Cody Eksal <masterr3c0rd@epochal.quest> Link: https://patch.msgid.link/20241218-a100-syscon-v2-2-dae60b9ce192@epochal.quest Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 168b2b3 commit 53c54d9

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,39 @@
101101
#size-cells = <1>;
102102
ranges = <0 0 0 0x3fffffff>;
103103

104+
syscon: syscon@3000000 {
105+
compatible = "allwinner,sun50i-a100-system-control",
106+
"allwinner,sun50i-a64-system-control";
107+
reg = <0x03000000 0x1000>;
108+
#address-cells = <1>;
109+
#size-cells = <1>;
110+
ranges;
111+
112+
sram_a1: sram@20000 {
113+
compatible = "mmio-sram";
114+
reg = <0x00020000 0x4000>;
115+
#address-cells = <1>;
116+
#size-cells = <1>;
117+
ranges = <0 0x00020000 0x4000>;
118+
};
119+
120+
sram_c: sram@24000 {
121+
compatible = "mmio-sram";
122+
reg = <0x024000 0x21000>;
123+
#address-cells = <1>;
124+
#size-cells = <1>;
125+
ranges = <0 0x024000 0x21000>;
126+
};
127+
128+
sram_a2: sram@100000 {
129+
compatible = "mmio-sram";
130+
reg = <0x0100000 0x14000>;
131+
#address-cells = <1>;
132+
#size-cells = <1>;
133+
ranges = <0 0x0100000 0x14000>;
134+
};
135+
};
136+
104137
ccu: clock@3001000 {
105138
compatible = "allwinner,sun50i-a100-ccu";
106139
reg = <0x03001000 0x1000>;

0 commit comments

Comments
 (0)