diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2017-03-23 13:34:45 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-03-24 16:36:08 -0400 |
commit | ae9955aeb8e47c4f60a02add47acf9850ca0ead7 (patch) | |
tree | 313dea677b80c4ce2a44ae6b0b617a632bfd118e | |
parent | 814a585038e36cd158bee4ef964e579136cf24c6 (diff) |
ARC: vdk: Fix support of UIO
MotherBoard section has its "ranges" set to 0xE000_0000-0xF000_0000.
But UIO node maps 4 different areas in different memory locations
and all outside MB's ranges.
That obviously breaks UIO mappings in runtime.
Cc: Ruud Derwig <rderwig@synopsys.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi index f0df59b23e21..459fc656b759 100644 --- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi +++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi | |||
@@ -112,13 +112,19 @@ | |||
112 | interrupts = <7>; | 112 | interrupts = <7>; |
113 | bus-width = <4>; | 113 | bus-width = <4>; |
114 | }; | 114 | }; |
115 | }; | ||
115 | 116 | ||
116 | /* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */ | 117 | /* |
117 | uio_ev: uio@0xD0000000 { | 118 | * Embedded Vision subsystem UIO mappings; only relevant for EV VDK |
118 | compatible = "generic-uio"; | 119 | * |
119 | reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>; | 120 | * This node is intentionally put outside of MB above becase |
120 | reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem"; | 121 | * it maps areas outside of MB's 0xEz-0xFz. |
121 | interrupts = <23>; | 122 | */ |
122 | }; | 123 | uio_ev: uio@0xD0000000 { |
124 | compatible = "generic-uio"; | ||
125 | reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>; | ||
126 | reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem"; | ||
127 | interrupt-parent = <&mb_intc>; | ||
128 | interrupts = <23>; | ||
123 | }; | 129 | }; |
124 | }; | 130 | }; |