Skip to contentSkip to conversation

rockchip: rk3588-rock-5b: Drop upstream props from u-boot.dtsi

PATCH In review Jonas Karlman 3 participants 3 messages Oct 16, 2024 – Oct 21, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: rk3588-rock-5b: Drop upstream props from u-boot.dtsi

The SPI flash node has been added in upstream DT, drop all props beside bootph-* props from the SPI flash related nodes in u-boot.dtsi.

---
 arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 9 ---------
 1 file changed, 9 deletions(-)
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi +0 -9
index 4dd17ff408cb..3ff3bb64e4f7 100644
@@ -16,18 +16,9 @@
 };
 
 &sfc {
-	pinctrl-names = "default";
-	pinctrl-0 = <&fspim2_pins>;
-	status = "okay";
-
 	flash@0 {
-		compatible = "jedec,spi-nor";
-		reg = <0>;
 		bootph-pre-ram;
 		bootph-some-ram;
-		spi-max-frequency = <24000000>;
-		spi-rx-bus-width = <4>;
-		spi-tx-bus-width = <1>;
 	};
 };
 
Signature · 1 line
2.46.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jonas Karlman

The SPI flash node has been added in upstream DT, drop all props beside bootph-* props from the SPI flash related nodes in u-boot.dtsi.

Quoted 30 lines
---
 arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 9 ---------
 1 file changed, 9 deletions(-)
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi +0 -10
index 4dd17ff408cb..3ff3bb64e4f7 100644
@@ -16,18 +16,9 @@
 };
 
 &sfc {
-       pinctrl-names = "default";
-       pinctrl-0 = <&fspim2_pins>;
-       status = "okay";
-
        flash@0 {
-               compatible = "jedec,spi-nor";
-               reg = <0>;
                bootph-pre-ram;
                bootph-some-ram;
-               spi-max-frequency = <24000000>;
-               spi-rx-bus-width = <4>;
-               spi-tx-bus-width = <1>;
        };
 };
 
--

2.46.2

Reviewed-by on v1 1/1
#2 lore raw
In reply to Jonas Karlman
Quoted 4 lines · Jonas Karlman

The SPI flash node has been added in upstream DT, drop all props beside bootph-* props from the SPI flash related nodes in u-boot.dtsi.

Thanks,
- Kever

Quoted 27 lines
---
  arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 9 ---------
  1 file changed, 9 deletions(-)
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi +0 -9
index 4dd17ff408cb..3ff3bb64e4f7 100644
@@ -16,18 +16,9 @@
  };
 
  &sfc {
-	pinctrl-names = "default";
-	pinctrl-0 = <&fspim2_pins>;
-	status = "okay";
-
  	flash@0 {
-		compatible = "jedec,spi-nor";
-		reg = <0>;
  		bootph-pre-ram;
  		bootph-some-ram;
-		spi-max-frequency = <24000000>;
-		spi-rx-bus-width = <4>;
-		spi-tx-bus-width = <1>;
  	};
  };