]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: mt7896a: Fix unit_address_vs_reg warning for oscillator
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 13 Oct 2022 15:22:05 +0000 (17:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:31:52 +0000 (13:31 +0100)
[ Upstream commit 7898d047b1eb2bec2622668cd70181442a580c6d ]

Rename the oscillator fixed-clock to oscillator-40m and remove
the unit address to fix warnings.

arch/arm64/boot/dts/mediatek/mt7986a.dtsi:17.23-22.4: Warning
(unit_address_vs_reg): /oscillator@0: node has a unit name,
but no reg or ranges property

Fixes: 1f9986b258c2 ("arm64: dts: mediatek: add clock support for mt7986a")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221013152212.416661-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt7986a.dtsi

index 226648f48df28a325681d10b7add6560bda07171..14c91ded29e614e45c888f59696e974cc7d7f954 100644 (file)
@@ -14,7 +14,7 @@
        #address-cells = <2>;
        #size-cells = <2>;
 
-       clk40m: oscillator@0 {
+       clk40m: oscillator-40m {
                compatible = "fixed-clock";
                clock-frequency = <40000000>;
                #clock-cells = <0>;