Skip to content

Commit

Permalink
arm64: dts: ti: k3-am65*: Remove #address-cells/#size-cells from flas…
Browse files Browse the repository at this point in the history
…h nodes

Specifying partitions directly in the flash node is deprecated, a
fixed-partitions node should be used instead. Therefore, it doesn't
make sense to have these properties in the flash nodes.

Signed-off-by: Matthias Schiffer <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Acked-by: Jan Kiszka <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
tq-schifferm authored and nmenon committed Feb 16, 2022
1 parent 6dd8457 commit 292b0dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,6 @@
cdns,tchsh-ns = <60>;
cdns,tslch-ns = <60>;
cdns,read-delay = <2>;
#address-cells = <1>;
#size-cells = <1>;
};
};

Expand Down
8 changes: 2 additions & 6 deletions arch/arm64/boot/dts/ti/k3-am654-base-board.dts
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,12 @@
#size-cells= <0>;
ti,pindir-d0-out-d1-in;

flash@0{
flash@0 {
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
spi-max-frequency = <48000000>;
#address-cells = <1>;
#size-cells= <1>;
};
};

Expand Down Expand Up @@ -498,7 +496,7 @@
pinctrl-names = "default";
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;

flash@0{
flash@0 {
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-tx-bus-width = <8>;
Expand All @@ -509,8 +507,6 @@
cdns,tchsh-ns = <60>;
cdns,tslch-ns = <60>;
cdns,read-delay = <0>;
#address-cells = <1>;
#size-cells = <1>;
};
};

Expand Down

0 comments on commit 292b0dd

Please sign in to comment.