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

Lukasz Majewski lukma at denx.de
Wed Mar 26 10:33:59 PDT 2025


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 at denx.de>
---
 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 at ff0000 {
 			};
 		};
 	};
+
+	spidev2 at 2 {
+		compatible = "lwn,btt";
+		spi-max-frequency = <100000000>;
+		reg = <2>;
+	};
 };
 
 &usb0 {
-- 
2.39.5




More information about the linux-arm-kernel mailing list