arm64: dts: mediatek: mt8188: Move SPI NOR *-cells properties

Move the #address-cells and #size-cells properties from the board dts
to SoC dtsi to be reused by other boards and avoid duplicated lines.

Signed-off-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20241001113052.3124869-9-fshao@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
Fei Shao
2024-10-01 19:27:26 +08:00
committed by AngeloGioacchino Del Regno
parent 66c466dae8
commit 08ea5de59d
2 changed files with 2 additions and 2 deletions

View File

@@ -140,8 +140,6 @@ &mt6359_vrf12_ldo_reg {
&nor_flash {
pinctrl-names = "default";
pinctrl-0 = <&nor_pins_default>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
flash@0 {

View File

@@ -1618,6 +1618,8 @@ nor_flash: spi@1132c000 {
clock-names = "spi", "sf", "axi";
assigned-clocks = <&topckgen CLK_TOP_SPINOR>;
interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH 0>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};