xref: /freebsd/sys/contrib/device-tree/src/riscv/sophgo/cv181x.dtsi (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
15f62a964SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
25f62a964SEmmanuel Vadot/*
35f62a964SEmmanuel Vadot * Copyright (C) 2024 Inochi Amaoto <inochiama@outlook.com>
45f62a964SEmmanuel Vadot */
55f62a964SEmmanuel Vadot
65f62a964SEmmanuel Vadot#include <dt-bindings/clock/sophgo,cv1800.h>
75f62a964SEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
85f62a964SEmmanuel Vadot
95f62a964SEmmanuel Vadot/ {
105f62a964SEmmanuel Vadot	soc {
115f62a964SEmmanuel Vadot		emmc: mmc@4300000 {
125f62a964SEmmanuel Vadot			compatible = "sophgo,cv1800b-dwcmshc";
135f62a964SEmmanuel Vadot			reg = <0x4300000 0x1000>;
14*ae5de77eSEmmanuel Vadot			interrupts = <SOC_PERIPHERAL_IRQ(18) IRQ_TYPE_LEVEL_HIGH>;
155f62a964SEmmanuel Vadot			clocks = <&clk CLK_AXI4_EMMC>,
165f62a964SEmmanuel Vadot				 <&clk CLK_EMMC>;
175f62a964SEmmanuel Vadot			clock-names = "core", "bus";
185f62a964SEmmanuel Vadot			status = "disabled";
195f62a964SEmmanuel Vadot		};
205f62a964SEmmanuel Vadot	};
215f62a964SEmmanuel Vadot};
22