Commit 4d759c52 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Matthias Brugger

arm64: dts: mt6779: Fix devicetree build warnings

Rename fixed-clock oscillators to oscillator-26m and oscillator-32k
and remove the unit address to fix the unit_address_vs_reg warning;
fix the unit address for interrupt and intpol controllers by
removing a leading zero in their unit address.

This commit fixes the following warnings:

(unit_address_vs_reg): /oscillator@0: node has a unit name, but
no reg or ranges property
(unit_address_vs_reg): /oscillator@1: node has a unit name, but
no reg or ranges property
(simple_bus_reg): /soc/interrupt-controller@0c000000: simple-bus
unit address format error, expected "c000000"
(simple_bus_reg): /soc/intpol-controller@0c53a650: simple-bus
unit address format error, expected "c53a650"

Fixes: 4c7a6260 ("arm64: dts: add dts nodes for MT6779")
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221013152212.416661-3-angelogioacchino.delregno@collabora.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 7898d047
...@@ -88,14 +88,14 @@ pmu { ...@@ -88,14 +88,14 @@ pmu {
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW 0>; interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW 0>;
}; };
clk26m: oscillator@0 { clk26m: oscillator-26m {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <26000000>; clock-frequency = <26000000>;
clock-output-names = "clk26m"; clock-output-names = "clk26m";
}; };
clk32k: oscillator@1 { clk32k: oscillator-32k {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <32768>; clock-frequency = <32768>;
...@@ -117,7 +117,7 @@ soc { ...@@ -117,7 +117,7 @@ soc {
compatible = "simple-bus"; compatible = "simple-bus";
ranges; ranges;
gic: interrupt-controller@0c000000 { gic: interrupt-controller@c000000 {
compatible = "arm,gic-v3"; compatible = "arm,gic-v3";
#interrupt-cells = <4>; #interrupt-cells = <4>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -138,7 +138,7 @@ ppi_cluster1: interrupt-partition-1 { ...@@ -138,7 +138,7 @@ ppi_cluster1: interrupt-partition-1 {
}; };
sysirq: intpol-controller@0c53a650 { sysirq: intpol-controller@c53a650 {
compatible = "mediatek,mt6779-sysirq", compatible = "mediatek,mt6779-sysirq",
"mediatek,mt6577-sysirq"; "mediatek,mt6577-sysirq";
interrupt-controller; interrupt-controller;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment