summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rockchip/rv1103b-omega4-evb.dts
blob: c6472f933aa5a8274b5f69fbf867a97ce2053adc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
 * Copyright (c) 2025 plan44.ch/luz
 * Copyright (c) 2026 Onion Corporation
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include "rv1103b-omega4.dtsi"

/ {
	model = "Onion Omega4 Evaluation Board";
	compatible = "onion,omega4-evb", "onion,omega4", "rockchip,rv1103b";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";

		led-0	{
			color = <LED_COLOR_ID_BLUE>;
			default-state = "on";
			function = LED_FUNCTION_STATUS;
			gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
			label = "sys";
			pinctrl-names = "default";
			pinctrl-0 = <&led>;
		};
	};
};

&fspi0 {
	status = "okay";
};

&pinctrl {
	leds {
		led: led {
			rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
		};
	};
};

&sdmmc0 {
	status = "okay";
};

&sdmmc1 {
	status = "okay";
};

&uart0 {
	status = "okay";
};