[PATCH 1/2] ARM: dts: Update common LWE file for XEA and BTT3 boards

From: Lukasz Majewski
Date: Wed Mar 26 2025 - 13:35:40 EST


During development it has turned out that the spidev node needs to be
defined.

Moreover, some crucial for the systems operation, regulator properties
were missing.

Signed-off-by: Lukasz Majewski <lukma@xxxxxxx>
---
arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
index 410dfe17f8ca..46858050d0d3 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
@@ -26,6 +26,7 @@ reg_3v3: regulator-reg-3v3 {
regulator-name = "3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
+ regulator-always-on;
};

reg_usb_5v: regulator-reg-usb-5v {
@@ -33,6 +34,7 @@ reg_usb_5v: regulator-reg-usb-5v {
regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
+ enable-active-high;
};

reg_fec_3v3: regulator-reg-fec-3v3 {
@@ -40,6 +42,8 @@ reg_fec_3v3: regulator-reg-fec-3v3 {
regulator-name = "fec-phy";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
+ enable-active-high;
+ regulator-boot-on;
};
};

@@ -134,6 +138,12 @@ partition@ff0000 {
};
};
};
+
+ spidev2@2 {
+ compatible = "lwn,btt";
+ spi-max-frequency = <100000000>;
+ reg = <2>;
+ };
};

&usb0 {
--
2.39.5