xref: /linux/arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-lite.dts (revision ec2e0fb07d789976c601bec19ecced7a501c3705)
1*4cce8b25SE Shattow// SPDX-License-Identifier: GPL-2.0 OR MIT
2*4cce8b25SE Shattow/*
3*4cce8b25SE Shattow * Copyright (C) 2025 E Shattow <e@freeshell.de>
4*4cce8b25SE Shattow */
5*4cce8b25SE Shattow
6*4cce8b25SE Shattow/dts-v1/;
7*4cce8b25SE Shattow#include "jh7110-milkv-marscm.dtsi"
8*4cce8b25SE Shattow
9*4cce8b25SE Shattow/ {
10*4cce8b25SE Shattow	model = "Milk-V Mars CM Lite";
11*4cce8b25SE Shattow	compatible = "milkv,marscm-lite", "starfive,jh7110";
12*4cce8b25SE Shattow};
13*4cce8b25SE Shattow
14*4cce8b25SE Shattow&mmc0 {
15*4cce8b25SE Shattow	bus-width = <4>;
16*4cce8b25SE Shattow	cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
17*4cce8b25SE Shattow};
18*4cce8b25SE Shattow
19*4cce8b25SE Shattow&mmc0_pins {
20*4cce8b25SE Shattow	pwren-pins {
21*4cce8b25SE Shattow		pinmux = <GPIOMUX(22, GPOUT_HIGH,
22*4cce8b25SE Shattow				      GPOEN_ENABLE,
23*4cce8b25SE Shattow				      GPI_NONE)>;
24*4cce8b25SE Shattow	};
25*4cce8b25SE Shattow};
26