mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-31 23:27:20 +00:00

Since riscv and arm architecture use different interrupt definitions, use a macro SOC_PERIPHERAL_IRQ mask this difference. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Link: https://lore.kernel.org/r/20250430012654.235830-5-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
21 lines
499 B
Text
21 lines
499 B
Text
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2024 Inochi Amaoto <inochiama@outlook.com>
|
|
*/
|
|
|
|
#include <dt-bindings/clock/sophgo,cv1800.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
/ {
|
|
soc {
|
|
emmc: mmc@4300000 {
|
|
compatible = "sophgo,cv1800b-dwcmshc";
|
|
reg = <0x4300000 0x1000>;
|
|
interrupts = <SOC_PERIPHERAL_IRQ(18) IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clk CLK_AXI4_EMMC>,
|
|
<&clk CLK_EMMC>;
|
|
clock-names = "core", "bus";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|