u-boot/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
Quentin Schulz da09bb6a6c board: softing: vining: migrate to modern LED framework
This migrates from the legacy LED API to use the modern LED framework
which makes use of the FDT.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Acked-by: Tien Fong Chee <tien.fong.chee@altera.com>
2025-12-01 14:29:37 +08:00

85 lines
1.1 KiB
Plaintext

// SPDX-License-Identifier: (GPL-2.0+ OR X11)
/*
* U-Boot additions
*
* Copyright (C) 2015 Marek Vasut <marex@denx.de>
* Copyright (c) 2018 Simon Goldschmidt
*/
#include "socfpga-common-u-boot.dtsi"
/{
aliases {
spi0 = "/soc/spi@ff705000";
udc0 = &usb1;
};
leds {
compatible = "gpio-leds";
led-0 {
default-state = "off";
gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
};
led-1 {
default-state = "off";
gpios = <&portb 25 GPIO_ACTIVE_HIGH>;
label = "status_1";
};
led-2 {
default-state = "off";
gpios = <&portb 26 GPIO_ACTIVE_HIGH>;
label = "status_2";
};
led-3 {
default-state = "off";
gpios = <&portc 7 GPIO_ACTIVE_HIGH>;
};
};
};
&mmc {
status = "disabled";
};
&qspi {
bootph-all;
n25q128@0 {
compatible = "n25q128", "jedec,spi-nor";
bootph-all;
};
n25q00@1 {
compatible = "n25q00", "jedec,spi-nor";
bootph-all;
};
};
&uart0 {
clock-frequency = <100000000>;
bootph-all;
};
&uart1 {
clock-frequency = <100000000>;
};
&porta {
bank-name = "porta";
};
&portb {
bank-name = "portb";
};
&portc {
bank-name = "portc";
};
&watchdog0 {
bootph-all;
};