]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: mediatek: mt8188: Move SPI NOR *-cells properties
authorFei Shao <fshao@chromium.org>
Tue, 1 Oct 2024 11:27:26 +0000 (19:27 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 2 Oct 2024 09:13:09 +0000 (11:13 +0200)
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>
arch/arm64/boot/dts/mediatek/mt8188-evb.dts
arch/arm64/boot/dts/mediatek/mt8188.dtsi

index 68a82b49f7a3af6ef4ac9db910de2bd65cdb7bb3..f89835ac36f36f86e2054ae0c332172be97b049a 100644 (file)
 &nor_flash {
        pinctrl-names = "default";
        pinctrl-0 = <&nor_pins_default>;
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
 
        flash@0 {
index 8a69d5be342a122891346a124a54c780ec9ad312..80fdd2a1cb686df5e48fbc03af276c0787c958c1 100644 (file)
                        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";
                };