summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/st/stm32mp257f-ev1.dts')
-rw-r--r--arch/arm64/boot/dts/st/stm32mp257f-ev1.dts39
1 files changed, 38 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index bb6d6393d2e4..852a73b0c516 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -7,6 +7,7 @@
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/regulator/st,stm32mp25-regulator.h>
#include "stm32mp257.dtsi"
#include "stm32mp25xf.dtsi"
@@ -42,6 +43,35 @@
};
};
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ led_blue: led-blue {
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
+ gpios = <&gpioj 7 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ default-state = "off";
+ };
+
+ led-green {
+ color = <LED_COLOR_ID_GREEN>;
+ gpios = <&gpiod 8 GPIO_ACTIVE_HIGH>;
+ };
+
+ led-orange {
+ color = <LED_COLOR_ID_ORANGE>;
+ gpios = <&gpioj 6 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
+ ddr_channel: sdram-channel-0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "jedec,ddr4-channel";
+ io-width = <32>;
+ };
+
imx335_2v9: regulator-2v9 {
compatible = "regulator-fixed";
regulator-name = "imx335-avdd";
@@ -71,6 +101,13 @@
reg = <0x0 0x80000000 0x1 0x0>;
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_blue>;
+ };
+ };
+
panel_lvds: display {
compatible = "edt,etml0700z9ndha", "panel-lvds";
enable-gpios = <&gpiog 15 GPIO_ACTIVE_HIGH>;
@@ -186,7 +223,7 @@
phy1_eth1: ethernet-phy@4 {
compatible = "ethernet-phy-id001c.c916";
reg = <4>;
- reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <80000>;
};