From 16f09468427d7d338e75d69522e1a8c806c61eea Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Tue, 9 Apr 2019 10:53:46 -0700 Subject: Fixup U54(MC) DTS Add PMP nodes and the global-external-interrupts compat string Signed-off-by: Nathaniel Graff --- bsp/coreip-u54-rtl/design.dts | 5 +++++ bsp/coreip-u54mc-rtl/design.dts | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'bsp') diff --git a/bsp/coreip-u54-rtl/design.dts b/bsp/coreip-u54-rtl/design.dts index 4a7aedd..b773072 100644 --- a/bsp/coreip-u54-rtl/design.dts +++ b/bsp/coreip-u54-rtl/design.dts @@ -46,6 +46,10 @@ #size-cells = <2>; compatible = "SiFive,FU540G-soc", "fu540-soc", "sifive-soc", "simple-bus"; ranges; + pmp: pmp@0 { + compatible = "riscv,pmp"; + regions = <8>; + }; L13: axi4-periph-port@20000000 { #address-cells = <2>; #size-cells = <2>; @@ -97,6 +101,7 @@ reg = <0x0 0x3000 0x0 0x1000>; }; L10: global-external-interrupts { + compatible = "sifive,global-external-interrupts0"; interrupt-parent = <&L2>; interrupts = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127>; }; diff --git a/bsp/coreip-u54mc-rtl/design.dts b/bsp/coreip-u54mc-rtl/design.dts index 504c0c4..27a3c94 100644 --- a/bsp/coreip-u54mc-rtl/design.dts +++ b/bsp/coreip-u54mc-rtl/design.dts @@ -150,6 +150,10 @@ #size-cells = <2>; compatible = "SiFive,FU540G-soc", "fu540-soc", "sifive-soc", "simple-bus"; ranges; + pmp: pmp@0 { + compatible = "riscv,pmp"; + regions = <8>; + }; L30: axi4-periph-port@20000000 { #address-cells = <2>; #size-cells = <2>; @@ -234,6 +238,7 @@ reg = <0x0 0x3000 0x0 0x1000>; }; L27: global-external-interrupts { + compatible = "sifive,global-external-interrupts0"; interrupt-parent = <&L2>; interrupts = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127>; }; -- cgit v1.2.1-18-gbd029