diff options
author | Markus Niebel <Markus.Niebel@ew.tq-group.com> | 2025-02-19 09:17:42 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2025-03-11 09:51:16 +0800 |
commit | 63c0933fae4866d6e1319250d085bfa9ff2604a2 (patch) | |
tree | a16f36c497c7f571cf95108c29b706cf71bc438a | |
parent | 85c095a8940f0f8a5f1c531870c3086b4c809ce4 (diff) |
ARM: dts: tqma6ul: Add partitions subnode to spi-nor
The bootloader adds MTD partitions in this subnode if present, or in the
spi-nor node itself otherwise.
Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml.
Fix all this by adding an empty partitions node which the bootloader will
fill with configured MTD partitions. Remove the deprecated properties
as well.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi index 1e4022cba3cc..2dd635a615cb 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi @@ -164,12 +164,16 @@ flash0: flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - #address-cells = <1>; - #size-cells = <1>; spi-max-frequency = <33000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <1>; vcc-supply = <®_vldo4>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + }; }; }; |