diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2024-04-02 21:31:40 +0200 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2024-04-13 01:50:46 +0000 |
commit | 4627297653db327b4afbc0be947f98b046647369 (patch) | |
tree | 5e1ac55441f6bdaa9c00e32e4c0ad6e11c983a5d /arch/arm64/boot/dts/hisilicon | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-4627297653db327b4afbc0be947f98b046647369.tar.gz linux-4627297653db327b4afbc0be947f98b046647369.tar.bz2 linux-4627297653db327b4afbc0be947f98b046647369.zip |
arm64: dts: hisilicon: hip05: move non-MMIO node out of soc
Non-MMIO devices, which are BTW not really part of the SoC, should not
be within simple-bus, as reported by dtc W=1 warning:
hip05.dtsi:301.30-305.5: Warning (simple_bus_reg): /soc/refclk200mhz: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon')
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip05.dtsi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index 65ddc0698f82..d0912ca5f237 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi @@ -279,6 +279,12 @@ }; }; + refclk200mhz: refclk200mhz { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <200000000>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, @@ -298,12 +304,6 @@ #size-cells = <2>; ranges; - refclk200mhz: refclk200mhz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <200000000>; - }; - uart0: serial@80300000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x80300000 0x0 0x10000>; |