xref: /linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3576-luckfox-omni3576.dts (revision 115e74a29b530d121891238e9551c4bcdf7b04b5)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2024 Rockchip Electronics Co., Ltd.
4 * Copyright (c) 2025 John Clark <inindev@gmail.com>
5 */
6
7/dts-v1/;
8
9#include "rk3576-luckfox-core3576.dtsi"
10
11/ {
12	model = "Luckfox Omni3576 Carrier Board";
13	compatible = "luckfox,omni3576", "luckfox,core3576", "rockchip,rk3576";
14
15	aliases {
16		mmc1 = &sdmmc;
17	};
18
19	leds: leds {
20		compatible = "gpio-leds";
21		pinctrl-names = "default";
22		pinctrl-0 = <&led_green_pin>;
23
24		green_led: green-led {
25			color = <LED_COLOR_ID_GREEN>;
26			function = LED_FUNCTION_HEARTBEAT;
27			gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
28			linux,default-trigger = "heartbeat";
29		};
30	};
31};
32
33&pinctrl {
34	leds {
35		led_green_pin: led-green-pin {
36			rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
37		};
38	};
39};
40
41&sdmmc {
42	bus-width = <4>;
43	cap-mmc-highspeed;
44	cap-sd-highspeed;
45	disable-wp;
46	no-sdio;
47	sd-uhs-sdr104;
48	vmmc-supply = <&vcc_3v3_s3>;
49	vqmmc-supply = <&vccio_sd_s0>;
50	status = "okay";
51};
52