arm64: dts: hisilicon: normalize the node name of the SMMU devices
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 12 Oct 2020 13:17:34 +0000 (21:17 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 24 Nov 2020 12:06:17 +0000 (20:06 +0800)
Change the node name of the SMMU devices to match "^iommu@[0-9a-f]*".
Otherwise, the errors similar to the following will be reported by
arm,smmu-v3.yaml.

smmu_pcie: $nodename:0: 'smmu_pcie' does not match '^iommu@[0-9a-f]*'

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hip06.dtsi
arch/arm64/boot/dts/hisilicon/hip07.dtsi

index 941d527..2f1930d 100644 (file)
         *  when iommu-map entry is used along with the PCIe node.
         *  Refer:https://www.spinics.net/lists/arm-kernel/msg602812.html
         */
-       smmu0: smmu_pcie {
+       smmu0: iommu@a0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x0 0xa0040000 0x0 0x20000>;
                #iommu-cells = <1>;
index 36a873d..ba90b25 100644 (file)
         *  when iommu-map entry is used along with the PCIe node.
         *  Refer:https://www.spinics.net/lists/arm-kernel/msg602812.html
         */
-       smmu0: smmu_pcie {
+       smmu0: iommu@a0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x0 0xa0040000 0x0 0x20000>;
                #iommu-cells = <1>;
                hisilicon,broken-prefetch-cmd;
                status = "disabled";
        };
-       p0_smmu_alg_a: smmu_alg@d0040000 {
+       p0_smmu_alg_a: iommu@d0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x0 0xd0040000 0x0 0x20000>;
                interrupt-parent = <&p0_mbigen_smmu_alg_a>;
                hisilicon,broken-prefetch-cmd;
                /* smmu-cb-memtype = <0x0 0x1>;*/
        };
-       p0_smmu_alg_b: smmu_alg@8,d0040000 {
+       p0_smmu_alg_b: iommu@8d0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x8 0xd0040000 0x0 0x20000>;
                interrupt-parent = <&p0_mbigen_smmu_alg_b>;
                hisilicon,broken-prefetch-cmd;
                /* smmu-cb-memtype = <0x0 0x1>;*/
        };
-       p1_smmu_alg_a: smmu_alg@400,d0040000 {
+       p1_smmu_alg_a: iommu@400d0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x400 0xd0040000 0x0 0x20000>;
                interrupt-parent = <&p1_mbigen_smmu_alg_a>;
                hisilicon,broken-prefetch-cmd;
                /* smmu-cb-memtype = <0x0 0x1>;*/
        };
-       p1_smmu_alg_b: smmu_alg@408,d0040000 {
+       p1_smmu_alg_b: iommu@408d0040000 {
                compatible = "arm,smmu-v3";
                reg = <0x408 0xd0040000 0x0 0x20000>;
                interrupt-parent = <&p1_mbigen_smmu_alg_b>;