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