1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 * Copyright (c) 2025 plan44.ch/luz 5 * Copyright (c) 2026 Onion Corporation 6 */ 7 8/dts-v1/; 9 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/leds/common.h> 12#include "rv1103b-omega4.dtsi" 13 14/ { 15 model = "Onion Omega4 Evaluation Board"; 16 compatible = "onion,omega4-evb", "onion,omega4", "rockchip,rv1103b"; 17 18 aliases { 19 serial0 = &uart0; 20 }; 21 22 chosen { 23 stdout-path = "serial0:115200n8"; 24 }; 25 26 leds { 27 compatible = "gpio-leds"; 28 29 led-0 { 30 color = <LED_COLOR_ID_BLUE>; 31 default-state = "on"; 32 function = LED_FUNCTION_STATUS; 33 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 34 label = "sys"; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&led>; 37 }; 38 }; 39}; 40 41&fspi0 { 42 status = "okay"; 43}; 44 45&pinctrl { 46 leds { 47 led: led { 48 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 49 }; 50 }; 51}; 52 53&sdmmc0 { 54 status = "okay"; 55}; 56 57&sdmmc1 { 58 status = "okay"; 59}; 60 61&uart0 { 62 status = "okay"; 63}; 64