Skip to content

Commit 0edaa45

Browse files
unicornxKAGA-KOKO
authored andcommitted
riscv: sophgo: dts: Add msi controller for SG2042
Add msi-controller node to dts for SG2042. Signed-off-by: Chen Wang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/f47c6c3f0309a543d495cb088d6c8c5750bb5647.1740535748.git.unicorn_wang@outlook.com
1 parent c667415 commit 0edaa45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/riscv/boot/dts/sophgo/sg2042.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@
173173
#clock-cells = <1>;
174174
};
175175

176+
msi: msi-controller@7030010304 {
177+
compatible = "sophgo,sg2042-msi";
178+
reg = <0x70 0x30010304 0x0 0x4>,
179+
<0x70 0x30010300 0x0 0x4>;
180+
reg-names = "clr", "doorbell";
181+
msi-controller;
182+
#msi-cells = <0>;
183+
msi-ranges = <&intc 64 IRQ_TYPE_LEVEL_HIGH 32>;
184+
};
185+
176186
rpgate: clock-controller@7030010368 {
177187
compatible = "sophgo,sg2042-rpgate";
178188
reg = <0x70 0x30010368 0x0 0x98>;

0 commit comments

Comments
 (0)