]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: dts: Fix device tree warnings for PIC32MZDA
authorJohn Robertson <john.robertson@simiatec.com>
Tue, 1 Sep 2020 04:14:56 +0000 (04:14 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 22 Sep 2020 22:14:28 +0000 (00:14 +0200)
Signed-off-by: John Robertson <john.robertson@simiatec.com>
arch/mips/dts/pic32mzda.dtsi

index 4c8b7a9a0b4e9f8022a73470dc28cf37cb1ffa9e..8aff9eb8125f4e76464be8a662be8ac938e48cb5 100644 (file)
        };
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips14kc";
+                       device-type = "cpu";
+                       reg = <0>;
                };
        };
 
@@ -40,6 +45,7 @@
        uart1: serial@1f822000 {
                compatible = "microchip,pic32mzda-uart";
                reg = <0x1f822000 0x50>;
+               interrupt-parent = <&evic>;
                interrupts = <112 IRQ_TYPE_LEVEL_HIGH>;
                status = "disabled";
                clocks = <&clock PB2CLK>;
@@ -48,6 +54,7 @@
        uart2: serial@1f822200 {
                compatible = "microchip,pic32mzda-uart";
                reg = <0x1f822200 0x50>;
+               interrupt-parent = <&evic>;
                interrupts = <145 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&clock PB2CLK>;
                status = "disabled";
@@ -56,6 +63,7 @@
        uart6: serial@1f822a00 {
                compatible = "microchip,pic32mzda-uart";
                reg = <0x1f822a00 0x50>;
+               interrupt-parent = <&evic>;
                interrupts = <188 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&clock PB2CLK>;
                status = "disabled";
        sdhci: sdhci@1f8ec000 {
                compatible = "microchip,pic32mzda-sdhci";
                reg = <0x1f8ec000 0x100>;
+               interrupt-parent = <&evic>;
                interrupts = <191 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&clock REF4CLK>, <&clock PB5CLK>;
                clock-names = "base_clk", "sys_clk";
        ethernet: ethernet@1f882000 {
                compatible = "microchip,pic32mzda-eth";
                reg = <0x1f882000 0x1000>;
+               interrupt-parent = <&evic>;
                interrupts = <153 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&clock PB5CLK>;
                status = "disabled";
                reg = <0x1f8e3000 0x1000>,
                      <0x1f884000 0x1000>;
                reg-names = "mc", "control";
+               interrupt-parent = <&evic>;
                interrupts = <132 IRQ_TYPE_EDGE_RISING>,
                             <133 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&clock PB5CLK>;